Skip to main content
Nintex Community Menu Bar
Solved

V2 Salesforce Page Include Close Modal

  • July 11, 2024
  • 3 replies
  • 66 views
  • Translate All

Forum|alt.badge.img+1

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?

Best answer by Rob_Hatch

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…

View original

3 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Answer
  • July 12, 2024

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…

Translate

Forum|alt.badge.img+1

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

Translate

Forum|alt.badge.img+7

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/

Translate