template creates the Mobile Portal Accelerator portlets and enables the appropriate functionality. In addition to creating the default WebSphere
® Portal virtual portal, the MWPInitVirtualPortal.xml
template does the following additional Mobile Portal Accelerator tasks:
- Adds Manage Mobile Pages portlet to the new virtual portal
- Enables XDIME for the Content.Root
- Enables XDIME for the Home node and mobile portal nodes
- Enables XDIME for the Login page
- Creates mobile portal sample pages
- Adds the Mobile Login portlet to the Login page
If you need to modify the template, it is deployed as a WebSphere
Application Server asset named MWPVirtualPortal.zip
. This asset is found in the following location:
In a stand-alone configuration: wp_profile_root/config/cells/cell_name/assets/MWPVirtualPortal.zip
In a cluster: Dmgr_profile/config/cells/cell_name/assets/MWPVirtualPortal.zip
on the deployment manager
For more information about how to modify the template, refer to the topic Administering virtual portals
in the WebSphere
Portal product documentation.
For more information about assets, refer to the WebSphere Application Serverinformation center.
Parent topic: Managing virtual portals
Selecting policy sets for virtual portals
Administering virtual portals (in the WebSphere Portal product documentation)
Virtual Portals (in the WebSphere Portal product documentation)
- Log in to WebSphere Portal as administrator.
- Navigate to the Virtual Portal Manager portlet by selecting Administration -> Virtual Portals -> Manage Virtual Portals.
- Create a virtual portal:
- In the Configure menu, copy the contents of Xml script to create virtual portal content tree to your clipboard (for example, WebSphere:assetname=MWPVirtualPortal.zip:MWPInitVirtualPortal.xml) and paste it into Edit Shared Setting.
- Type a title for the new virtual portal.
- Type a description for the virtual portal.
- Type either the URL context or the host name for the virtual portal.
- Type the initial administrator user group for virtual portal.
If you do not type wpsadmins, you will need to update access to the XDIME portlets after you complete creating the virtual portal.
- Select Mobile Portal as the default theme.
- Click OK. When the virtual portal is created, it will be added to the list of virtual portals on the Virtual Portal Manager portlet.
For more information about creating a virtual portal, click Help in the portlet menu.
- Verify that the virtual portal was created. Point a browser to the URL of the virtual portal you created.
For example, open a browser and point it to:
- hostname is the server host name where you created the virtual portal.
- port is the port over which virtual portal listening takes place. By default, this is 10040.
- URLcontext is the URL context that you specified for the new virtual portal.
- If you want to use a custom policy set, create the custom policies and import them into MCS. For more information about custom policy sets, refer to the topic Configuring virtual portal policies.