Writing Links to Web Content Management Content
Linking to WCM Content from WCM Content
The following examples show how to write links to Web Content Management Content that are to be used with the Rendering Portlet.
To create a link from a piece of Web Content Management Content to another piece of Web Content Management Content, use the following URL format:
<pathCmpnt type="servlet" />/[SITE]/[SITE_AREA_PATH]/[CONTENT]
- [SITE] = the name of the Site where the content resides.
- [SITE_AREA_PATH] = the path to the Site Area where the content resides.
- [CONTENT] = the Name of the content item.
Linking to Web Content Management Content from an external Portlet or WebSite
To create a link from an external Portlet or WebSite that displays Web Content Management Content, use the following URL format:
http://[HOST]/wps/wcm/connect/[SITE]/[SITE_AREA_PATH]/[CONTENT]
- [HOST] = the name of the Web Content Management Host.
- wps/wcm = the Web Content Management context root.
- [SITE] = the name of the Site where the content resides.
- [SITE_AREA_PATH] = the path to the Site Area where the content resides.
- [CONTENT] = the Name of the content item.
Change Web Content Management Content via a Rendering Portlet from an external Portlet or WebSite
To create a link that causes an existing Rendering Portlet to display different Web Content Management Content, use the following URL format:
http://[PORTAL_HOST]/[PORTAL_CONTEXT_ROOT] /[PORTAL_PAGE_URL_MAPPING]/?New_WCM_Context=[ILWWCM_PAGE_URL]
- [PORTAL_HOST] = the name of the Portal Server Host
- [PORTAL_CONTEXT_ROOT] = the Portal Server context root. For anonymous sites use /wps/portal, otherwise use /wps/myportal
- [PORTAL_PAGE_URL_MAPPING] = the Portal Server URL MAPPING to the portal page that contains the Web Content Management Portlet (URL Mapping's can be setup via the Portal Server Administration).
- [ILWWCM_PAGE_URL] = the full URL to the Web Content Management Content.
Change Web Content Management Content via a Rendering Portlet from Web Content Management Content
To create a link in Web Content Management Content that causes an existing Rendering Portlet to display different Web Content Management Content, use the following URL format:
http://[PORTAL_HOST]/[PORTAL_CONTEXT_ROOT]/[PORTAL_PAGE_URL_MAPPING] /?New_WCM_Context=<pathCmpnt type="noprefixservlet" /> /[SITE]/[SITE_AREA_PATH]/[CONTENT]
- [PORTAL_HOST] = the name of the Portal Server Host
- [PORTAL_CONTEXT_ROOT] = the Portal Server context root. For anonymous sites use /wps/portal, otherwise use /wps/myportal
- [PORTAL_PAGE_URL_MAPPING] = the Portal Server URL MAPPING to the portal page that contains the Web Content Management Portlet (URL Mapping's can be setup via the Portal Server Administration).
- [SITE] = the name of the Site where the content resides.
- [SITE_AREA_PATH] = the path to the Site Area where the content resides.
- [CONTENT] = the Name of the content item.
Parent topic: Displaying Web Content Management Content.
Parent topic: Displaying Content in a Rendering Portlet.
IBM Workplace Web Content Management - V5.1.0.1 -
Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.