Deploy list-rendering profiles
We can choose between two ways of deploying the custom list-rendering profiles.
- We can deploy a list-rendering profile by creating all entries contained in the list-rendering profile as custom properties in the WP List Rendering Profile Service resource environment provider in the WAS console.
- We can implement a plug-in for the extension point with the ID com.ibm.portal.wcm.plr.ListRenderingProfileProvider. These extensions can make multiple list-rendering profiles available to the IBM Digital Data Connector run time through the following method:
com.ibm.portal.wcm.plr.ListRenderingProfileProvider.getListRenderingProfiles()
This method is defined in the public Java API for the IBM Digital Data Connector framework. With this approach, the plug-in returns the individual list-rendering profile entries as properties contained in java.util.Properties objects. By using this approach, we can package the required list-rendering profiles together with the DDC plug-in.
List-rendering profiles are cached by the DDC framework. After deploying a list-rendering profile, we must make the framework aware of changes to the list-rendering profile. To do so, either restart the portal or render the WCM tag [Plugin:ListRenderingContext action="reloadProfiles"].