Targeting Embedded PC3 pages through Pagebuilder URL

Options
Hi everyone,


We have embedded our PC3 onto a pagebuilder page. My question is, is it possible to target specific pages of the PC through the URL?


This is our current URL: https://secure-support.heartandstroke.ca/site/SPageServer?pagename=FYW_ParticipantCenter&pc2_page=center&fr_id=7620

This opens to the home page of the PC


I noticed a pc2_page=center parameter and tried changing this with the # name of the pages (ex pc2_page=email to try to target the # email page). This, however, did not work.


Hoping if anyone can provide more light on our issues


Thanks,

Kevin
Tagged:

Comments

  • I have worked this in the past by having a parameter passed in the query string that I watch for on the "load" via javascript.  If the paramter is present then I call a "click" on the appropiriate element - this essentially allows you to target the area you want by passing it into the URL (the link coming into the PC3).
  • In PC3 the URL navigation is done with anchor tags like this:


    pc2_page=center&fr_id=1234#/email/compose


    So if you have it embedded in an IFrame, you'll need to take a param from the containing pagebuilder URL and put it in your iframe link.


    There is an S-Tag to render the value of querystring parameters, so the link to your PB page could include &tabName=email/compose

     and then the url to your ifframe would use  & pc2_page=center&fr_id=1234#/[[S334:tabName]]

     

Categories