Depending on the desired use case (see Use Cases) for Blog portlet, some or all of the portlet preferences must be set. See Portlet Preferences for a description of the portlet preferences. These preferences can be configured at the provider or channel level.
To configure at:
The provider level, download the top level display profile, edit the XML directly, and then upload the display profile. Alternatively, create a display profile document that contains only the required changes and then run the psadmin modify-display-profile command with the --combine option to insert the modifications.
For example, to set the AAPP user name and password preferences:
$ cat blogportlet-provider.xml <?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE DisplayProfile SYSTEM "jar://resources/psdp.dtd"> <DisplayProfile version="1.0" priority="0"> <Properties/> <Channels/> <Providers> <Provider name="__Portlet__blogportlet.BlogPortlet" class="com.sun.portal.providers.portletwindow.PortletWindowProvider"> <Properties> <String name="__Portlet__aappUserName" value="|foo"/> <String name="__Portlet__aappUserPassword" value="|iplanet"/> </Properties> </Provider> </Providers> </DisplayProfile> $ /opt/SUNWportal/bin/psadmin modify-display-profile -u amadmin -f /tmp/pw -g -p portal1 --combine blogportlet-provider.xml |
If you plan to configure the Blog community service, you must configure Blog portlet's preferences at the provider level.
The channel level, create a Blog portlet channel first. The preferences can then be edited from either the Portal Server management console or by using the psadmin command line utility.
Blog portlet can now be used outside of a community context. You can create channels based on this portlet using the psadmin command line utility or from the Portal Server management console.