This chapter list the following subcommands:
The list-themes subcommand lists all the themes that are installed in the portal.
psadmin list-themes --adminuser uid [--passwordfile passwordfile] --portal portalName
psadmin list-themes -u uid [-f passwordFile] -p portalName
These are the list of options available for the list-themes subcommand. The following two options are required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
Specifies the portal name.
The following option is optional:
Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.
./psadmin list-themes -u amadmin [-f passwordFile] -p portal1
The above command provides a list of themes in portal1.
Theme: heavy Id: heavy Context Path: desktop/themes/heavy Editable: false Uses Menu Control: false Theme: lite Id: lite Context Path: desktop/themes/lite Editable: false Uses Menu Control: true |
The upload-theme subcommand creates a new theme for the given portal.
psadmin upload-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --file theme_file [--menucontrol]
psadmin upload-theme -u uid [-f passwordfile] -p portalName --file theme_file [--menucontrol]
These are the list of options available for the upload-theme subcommand. The following five options are required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
Specifies the portal name.
Specifies the .skin file that contains theme related sources.
The following two options are optional:
Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.
Use this flag if the theme uses menu control for channels or portlets.
./psadmin upload-theme -u amadmin [-f passwordFile] -p portal1 --file x.skin
The update-theme subcommand updates an existing theme for the given portal.
psadmin update-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --id theme_id [--file theme_file] [--menucontrol]
psadmin update-theme -u uid [-f passwordfile] -p portalName --id theme_id [--file theme_file] [--menucontrol]
These are the list of options available for the update-theme subcommand. The following three options are required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
Specifies the portal name.
Specifies the id of theme that needs to be removed.
The following five options are optional:
Specifies the .skin file that contains theme related sources.
Use this flag if the theme uses menu control for channels or portlets.
Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.
./psadmin update-theme -u amadmin [-f passwordFile] -p portal1 --id x --file x.skin
The delete-theme subcommand deletes an existing theme for the given portal.
psadmin delete-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --id theme_id
psadmin delete-theme -u uid [-f passwordfile] -p portalName --id theme_id
These are the list of options available for the delete-theme subcommand. The following three options are required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
Specifies the portal name.
Specifies the id of theme that needs to be removed.
The following option is optional:
Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.
./psadmin delete-theme -u amadmin [-f passwordFile] -p portal1 --id x
The download-theme subcommand creates a theme package and download it to the local machine.
psadmin download-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --name theme_name theme-package-name
psadmin download-theme -u uid [-f passwordfile] -p portalName -n theme_name theme-package-name
These are the list of options available for the download-theme subcommand. The following four options are required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
Specifies the portal name.
Name of the out of the box theme name, which this theme is based on. The available values are: heavy and lite.
Specifies the theme archive file in the local machine. If full path is given, the file will be created in that path. Otherwise, the file will be created in the current directory. The archive file must use the extension .skin.
The following option is optional:
Specifies the administrator password in the password file. When the --passwordfile option is provided, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.
./psadmin download-theme -u amadmin [-f passwordFile] -p portal1 -n heavy x.skin