Task: modify-virtual-portal
Portal ConfigEngine task that modifies a virtual portal.
Parameters
Use this task to modify a virtual portal using its object ID. To determine the correct object ID of the virtual portal, use the task list-all-virtual-portals.
- VirtualPortalObjectId
- The object ID of the virtual portal. This input is mandatory for identification of the virtual portal that to modify.
- VirtualPortalRealm
- The realm of the virtual portal. We can and must specify a realm only if we have realms enabled in the portal installation.
- VirtualPortalNlsFile
- The national language support (NLS) file for the virtual portal. Provide the path and file name of the national language support file. This input is optional.
- We can create the own national language support file to specify more titles and descriptions in other languages for the virtual portal.
- If we specify an NLS file, the value given for the virtual portal title in that NLS file overrides the title specified by the VirtualPortalTitle input parameter.
- If we specify an NLS file, do not use prefixes in that NLS file.
- If we do not specify an NLS file, the virtual portal is created with the title that you give as the value to the VirtualPortalTitle input parameter only. But the virtual portal is created without titles in other languages and without descriptions. If we specify no NLS file, the value specified by the VirtualPortalTitle input parameter shows to users as the title of the virtual portal in all language environments. This action is independent of the system and browser locale and the user preferences.
- To pass a description for the virtual portal to the configuration task, specify this action in the NLS file.
- For more information about the NLS file and its format, see the Command reference for the Portal Scripting Interface and then under the section Property File Format.
- For a list of the languages available with WebSphere Portal and their language codes refer to Language support.
Syntax
You pass the parameters in the parameter list for each configuration task as appropriate. We do this by either of the following methods:
- Specify the parameter and value that is preceded by -D on the command line.
- Define them in the file wkplc.properties.
The property file must be encoded in the ISO 8859-1 character encoding format.
- AIX
- ./ConfigEngine.sh modify-virtual-portal -DPortalAdminPwd=foo -DWasPassword=foo
- HP-UX
- ./ConfigEngine.sh modify-virtual-portal -DPortalAdminPwd=foo -DWasPassword=foo
- IBM i
- ConfigEngine.sh modify-virtual-portal -DPortalAdminPwd=foo -DWasPassword=foo
- Linux
- ./ConfigEngine.sh modify-virtual-portal -DPortalAdminPwd=foo -DWasPassword=foo
- Solaris
- ./ConfigEngine.sh modify-virtual-portal -DPortalAdminPwd=foo -DWasPassword=foo
- Windows
- ConfigEngine.bat modify-virtual-portal -DPortalAdminPwd=foo -DWasPassword=foo
Parent Portal ConfigEngine tasks for administering virtual portalsRelated concepts:
Language supportRelated reference:
Command reference for the Portal Scripting Interface
Related information
Technotes for virtual portals