Populating Virtual Portal


When you create the virtual portal by using the Virtual Portal Manager portlet, the virtual portal is pre-filled with default content. This default content is determined by the default XML script file for initializing virtual portals.


You can change name of this file by clicking on Edit Shared Settings button for Virtual Portal Manager Portal. The value of "xml script to create virtual portal content here" defines which XML script file should be used to configure content of VP. In my case its the default file initVirtualPortal.xml. The actual XML Access Script file is located in was_profile_root/installedApps/cellname/wps.ear/wps.war/virtualportal. If you go to this directory you will notice that there are 4 templates that you can choose from


  1. InitAdminVirtualPortal.xml

  2. InitFullVirtualPortal.xml

  3. InitVirtualContentPortal.xml

  4. InitVirtualPortal.xml



In addition to this you can create your own template or modify the existing template. The following portal resources are mandatory content of a virtual portal and must be included in a customized XML initialization script for virtual portals:

  • Content Root (wps.content.root)

  • Login (wps.Login)

  • Administration (ibm.portal.Administration).



ONce you have your template ready copy that file in was_profile_root/installedApps/cellname/wps.ear/wps.war/virtualportal folder and specify name of the template file on the Edit Shared Settings. Thereafter whenever you create a new virtual portal using Virtual Portal Manager portlet, this template will be used

When you create a virtual portal, the portlets associated with IBM® Lotus Web Content Management are not included in the virtual portal, even if you have deployed these portlets as part of your original portal installation. To use any of these portlets in a virtual portal, you must manually create a page and add the portlets:

* Authoring portlet: Select Web Content Authoring when adding the portlet.
* Local or Remote Rendering portlet: Select Web Content Viewer when adding the portlet

1 comment:

  1. very good Notes on Portal. especially edit shared setting info resolved my error. Error EJPAH2012E: Can not find xmlaccess script InitAdminVirtualPortal_v2.xml. i was only following these steps.
    -Open the Manage Portlets portlet by clicking Administration->Portlet Management-> Portlets.
    -Click Virtual Portal Manager to select the Manage Virtual Portals portlet.
    -Click the Configure Portlet (wrench) icon.
    -Edit the SCRIPT_INIT_VP parameter of the portlet. Replace with the correct file name.
    only these step would not resolved the issue.
    Thanks

    ReplyDelete