Exporting and Deploying Portlet Archives Using the CLI

Exporting Deployed Portlets Using CLI

Prerequisites

The user has the Configuration right.

Syntax

  • Interactive mode

    export --exportPortletArchive <portletArchiveName> --exportFile <destination file>

Command options

Option Description

--exportPortletArchive

This option is used to export portlets that have already been deployed.

Example

Exporting the deployed portlet.

  • Interactive mode

    export --exportPortletArchive Tutorial --exportFile c:\temp\tutorial_09072016.zip
    export --exportPortletArchive isp --exportFile c:\temp\isp_09072016.zip

The user whose portlets are to be exported, must be logged in at the Process Engine via CLI, hence, users can only export their own portlets.

Deploying Portlet Archives Using CLI

Prerequisites

The user has the Configuration right.

Syntax

  • Interactive mode

    deploy --deployPortalArchive <path_to_war_file>

Command options

Option Description

--deployPortalArchive

This option is used to deploy portlets available as *.war file (for example, that have already been downloaded, refer to Download Available Portlet as .war File).

Example

Deploying portlets.

  • Interactive mode

    deploy --deployPortalArchive c:\temp\Tutorial.war

    The user who want to deploy portlets, must be logged in at the Process Engine via CLI, that is, portlets can only be deployed for a particular user.