+

Search Tips   |   Advanced Search

URL generation using PathCmpnt and URLCmpnt tags

There are some special considerations to keep in mind when using URLCmpnt and PathCmpnt tags to create URLs to other web content items from within the content.


Use the URLCmpnt tag

The URL component tag URLCmpnt can be used to create URLs to content items in a presentation template. If the attribute mode="portal" is set, the content item is displayed through a content viewer portlet.


Use the PathCmpnt tag

The path component is used to create the base part of a URL in web content. Typically, the base part is extended by some string that identifies the content to be displayed. If the path component is used inside the context of a web content viewer, the generated URL has the updated URL format and thus cannot be displayed with the traditional web content viewer.


Add URL parameters

Add URL parameters to a regular portal URL will not affect the web content viewer. For this purpose use the URLCmpnt or PathCmpnt tag. Additional URL query parameters, like those used with the traditional web content viewer, can be appended to the URLs generated by these tags.


Parent: Elements