Include skuid page multiple times with different params?

  • 2
  • Question
  • Updated 4 years ago
  • Answered
Can I use page include and a single skuid page multiple times with different params?  For example, if I had a tab set and each tab included the same skuid page but passed different parameters.

It seems to only work for the first load, subsequent loads fail.
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
  • unsure

Posted 4 years ago

  • 2
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Peter - this will not work. 

The essential problem is that each page include gets brought into your parent skuid page.  And because the include page is repeated you now have more than one model with the same ID trying to work on the same page.  As you can imagine this causes all sorts of confusion as page components don't know which model they should be listening to.  

So - unfortunately this is not supported currently. 
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
Thanks Rob!