Sunday, December 13, 2009

Link to portal page and a WCM Site

This piece of code shows an example for how to link to a specific portal page and a WCM Site. The portal page is defined by a friendly URL mapping in WPS Remember that URL mapping is an option to you as an administrator.. In this case that URL mapping is called View. The View page is identified in the tag as the portalTarget. The portal page must have a WCM content display portlet that is configured as a listener.

<a href='context="selected" name="content/op" type="site" mode="portal" portalTarget="View"/>'>Office Productsa>

Note: If successfully configured, this tag should automatically generate an id attribute on save.

No comments:

Post a Comment

Generate reports from Opportunities using a Visualforce Page in Salesforce

  Step 1: Create a Visualforce Page Go to the Setup menu in Salesforce. Search for "Visualforce Pages" in the Quick Find box and c...