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)
Component Page Token Question
cagatayk
Hi,
When we use a browse item at DCR and select a sitepublisher page, at the component we can not directly create URL from this page relative path with PAGE_LINK token. (relative path selected from DCR is like : "/sites/en/example.page" but PAGE_LINK token expects it as "example") Is there any other token to create the URL directly from "/sites/en/example.page".
Thanks
Find more posts tagged with
Comments
rajivgupta
I guess you will require to write custom code to make the full URL .
AlexC
Is "/sites/en/example.page" the correct absolute URL available to you? If so can you just use it without any prefix, it will use the server/port that served that page.
ccprofessional
Is that a browse from a datum or regular DCT?
In general, bad idea to browse to .pages. They require a context and associated site and DCTs (unless you are talking about dcr datums) have neither.
Instead browse to the dcrs that the .page uses, and build the path. Or manipulate the path.