Sun Java System Portal Server 7.2 Command-Line Reference

update-theme

The update-theme subcommand updates an existing theme for the given portal.

Long-Named Format

psadmin update-theme --adminuser uid [--passwordfile passwordfile] --portal portalName --id theme_id [--file theme_file] [--menucontrol]

Short-Named Format

psadmin update-theme -u uid [-f passwordfile] -p portalName --id theme_id [--file theme_file] [--menucontrol]

Options

These are the list of options available for the update-theme subcommand. The following three options are required:

[--adminuser | -u] uid

Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.

[--portal | -p] portalName

Specifies the portal name.

--id theme_id

Specifies the id of theme that needs to be removed.

The following five options are optional:

--file theme-file

Specifies the .skin file that contains theme related sources.

--menucontrol

Use this flag if the theme uses menu control for channels or portlets.

[--passwordfile | -f] passwordFile

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.

Example

./psadmin update-theme -u amadmin [-f passwordFile] -p portal1 --id x --file x.skin