Skip to main content

First time using a page include on a V2 page-


Previous uses on a V1 page allowed for a page include button to close the parent page modal on complete, but the same exact layout on V2 is not closing the modal.


Is this by design? Or am I missing something?

This is by design. In V1 page includes were not namespaced - and this caused some GNARLY bugs when items in the main page collided with items in the page include.


So in V2 the page includes are namespaced - which means you will need to use the Event system to communicate between them.


  • Publish an event on the Include page when you push the button in the include

  • and create an action sequence on the parent page that listens to the event to trigger the close modal action.

Then sit back and watch the user satisfaction flow…


Thank you Rob! That makes a lot of sense, just wanted to make sure I got the clear answer.


Bumped into this today when trying to figure out how to close a modal from a page-include Wizard.

Very slick.


I would suggest this solution be incorporated into the Page Include docs:
https://docs.skuid.com/latest/en/skuid/components/ink/page-include/


Reply