Removes the portlet application from the portal server. It also removes the providers associated with portlets from display profile.
psadmin undeploy-portlet --adminuser uid --passwordfile password-filename --dn dn | --global --portal portal-ID [--continue false] [--instance instance-port] portletwebapp [--locale]
psadmin undeploy-portlet -u uid -f password-filename -d dn -p portal-ID [-g] [-c false] [-i instance-port] portletwebapp [-l]
The following options are required:
Specifies the administrator's distinguished name.
Specifies the distinguished name in the LDAP node to access the display profile document. The -d or -g option is required.
Specifies the administrator's password in the password file.
Specifies the portal ID.
The following option is optional:
Specifies the global level node in LDAP to access the display profile document. The -d or -g option is required.
Returns with error if deployment fails on any single portal instance. Default is True. Deployment continues to other instances if it fails on one instance.
Specifies the portal instance where the portlet is to be deployed. If it is not specified, deploys on all the instances of the portal.
If you are in the cluster environment, be sure to specify the portal instance id which is installed on the cluster using this option. However, if you are not in the cluster environment, it is recommended to use this option ONLY in a development environment, since using this option will cause inconsistency between Portal Server Instances.
Name of the portlet application which needs to be undeployed.
psadmin undeploy-portlet -u admin-user -f password -g -p portal1 portletname
For example, if portlet war file that needs to be undeployed is test.war, then the portlet name for the undeploy-portlet cli should be "test."