Try our conversational search powered by Generative AI!

Can I alter which page is loaded in the LoadingChildren event?


If I hook the LoadingChildren event, can I alter which page is to be loaded from within it?  I've tried setting both e.PageLink and e.TargetLink to a different Page Reference.  It will correctly set to this different Page Reference, but the DataFactory still loads the page it originally planned on.

I want to intercept, and have the DataFactory load a different page under certain circumstances.  Possible?

Jul 20, 2011 0:18

If you want to load a version of a page, you want to set the WorkID for the pageLink. Find the latest version of the page and set its WorkID to the e.PageLink.WorkID

If you just want to load a different page, you can use the e.PageLink.ID property and set it to whatever ID the page you want to load has.

Edited, Jul 21, 2011 17:52
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.