Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Query parameters in <ls:page> tag
amitshar84
Can we pass the query parameters to tag , if yes how. i am trying this :
String dotPageFilename = "sites/en_US/Product_By_Name.page?filter=true";
Its throwing me page invalid error.
Can any body help me with this.
Thanks,
Amit
Find more posts tagged with
Comments
acezone
Hi Amit,
Try using the query string, "name" and "value" fields while creating a .page file. Please note:
This is only applicable to SiteMap and BreadCrumb only
, whereas if you wish to create link from other page then in that case I would suggest either of the following:
1. Create two fields in DCR. One for Browsing to .page file and second for entering parameters. Using FormAPI, omit /sites/ and .page from DCR and then using $PAGE_LINK token on component level will create link to specific .page files. Now using the second field append the values of the parameter field after the url is created.
2. Create a single "text" field in DCR, and enter the url with parameters in this field and on component level just call this code.
Regards,
Ace