Scope
Last updated
Was this helpful?
Last updated
Was this helpful?
By default, a node will be scoped to all instances of it's module across all pages of your site.
For example, a Video:OnEnded
Broadcast node will trigger when any video on any page ends.
We can scope a node to a specific instance of a module by using the About
field on the node.
We have a site with three pages:
We want to build a flow that will send the user to the End page when the video on Screening page ends. But if the user watches the trailer on the Welcome page, we do not want to send them to the End page.
This will work to send the user to the End page when the video ends. However, this will send the user to the End page when any video ends.
We want to tell the Flow Controller to only pressurize this flow when the specific video on the Screening page ends. We can do this by specifying the instance in the About
field of the Video:ended
node.
In the Page Editor, select the Video Player module on the Screening page, and click the Copy Id button.
Paste that value into the About
field on the Video:ended
node.
Now, this Video:ended
Broadcaster node will only pressurize when that specific video ends.