Virtual Portal :- While creating virtual portal it takes default content and creates it. You can control the content which to be created while going for new virtual portal.
Mandatory content :- There are some content which should be there and cannot be deleted
Mandatory content :- There are some content which should be there and cannot be deleted
- Content Root (wps.content.root)
- Login (wps.Login)
- Administration (ibm.portal.Administration).
Steps to replace the default xml script to alter VP content :-
Step1 :- Export the file VirtualPortal.zip from your portal server. Log in to the WebSphere Integrated Solutions Console. Click Applications -> Application Types -> Assets andS elect VirtualPortal.zip .
Select checkbox and Click Export.
Unzip the folder then you will find 3 xml files as given below
Step 4 :- Editing virtual manager portlet setting
- Open the Manage Virtual Portals portlet by clicking Administration -> Virtual Portals -> Manage Virtual Portals.
- Open the Manage Virtual Portals portlet menu by clicking the dropdown arrow and select the option Edit Shared Settings.
- Edit the SCRIPT_INIT_VP parameter of the portlet. Replace the current value with the name of your custom XML script and custom asset compressed (.zip) file.
- Click OK twice to save your changes.
You can specify this as a file inside a WebSphere Application Server asset by using a syntax such as this:
WebSphere:assetname=LimitedVirtualPortal.zip :LimitedVirtualPortal..xml
where my_VirtualPortal.zip is the name of your asset and my_InitVirtualPortalScript.xml is the name of a file inside the asset. Do not update the default asset VirtualPortal.zip installed with WebSphere Portal. Instead, create and maintain a separate second asset independent of the default assetVirtualPortal.zip .
WebSphere:assetname=LimitedVirtualPortal.zip :LimitedVirtualPortal..xml
where my_VirtualPortal.zip is the name of your asset and my_InitVirtualPortalScript.xml is the name of a file inside the asset. Do not update the default asset VirtualPortal.zip installed with WebSphere Portal. Instead, create and maintain a separate second asset independent of the default assetVirtualPortal.zip .
No comments:
Post a Comment