Retrieves and displays display profile node objects.
psadmin list-dp --name name --adminuser uid --passwordfile password-filename --dn dn --portalid portal-ID [--global] [--dry-run] [--output output-file]
psadmin list-dp -n name -u uid -f password-filename -d dn -p portal-ID [ -g] [-r] [-o output-file]
The following options are required:
Specifies the administrator's distinguished name.
Distinguished name of the target node. This is mutually exclusive to -g option.
Specifies the administrator's password in the password file.
Specifies the portal ID; if this is not supplied, the default is used.
The following options are optional:
Attempt to execute command without writing out to LDAP. Default is false.
Global display profile. Default is false. This is mutually exclusive to -d option.
Name of the target display object. If omitted, the entire display profile is displayed.
Specifies a file for output.
The psadmin list-dp command does not generate correct output if the display profile is not for English. The solution for this is, before executing the psadmin list-dp command, set the CLI JVM's locale to the locale for the display profile. For example:
export LANG=fr_CA.UTF-8 export LC_ALL=fr_CA.UTF-8 |
./psadmin list-dp -u amadmin -f ps_password -p myPortal1 -g -n RenderingWrappingProvider
The output is:
<Provider name="RenderingWrappingProvider" class= "com.sun.portal.wireless.providers.rendering.wrapping .RenderingWrappingProvider" version="2"> <Properties> <String name="wrappedChannel" value="*** Enter channel name to be wrapped ***"/> <String name="refreshTime" value="0" advanced="true"/> <String name="fontFace1" value="Sans-serif"/> <String name="contentPage" value="contentWrapper.jsp"/> <String name="editPage" value="editWrapper.jsp" advanced="true"/> <String name="editContainerName" value="JSPRenderingEditContainer" advanced="true"/> <String name="processPage" value="doedit.jsp" advanced="true"/> <Boolean name="showExceptions" value="false"/> <Boolean name="isTopLevel" value="false" advanced="true"/> </Properties> </Provider> |