Package Apps

App Package is an archive file (.zip) of a project that includes all the required resources for an app such as datasources, app views, process model, RPA model and app roles. You can generate an archive file that you can use to deploy the app across various platforms and devices.

You must create app views and assign roles to app views before creating the app package.

Create App Views

You can generate an App Package file after you have successfully created all the required resources to a project.

Perform the following steps:

  1. Launch ASG Studio and navigate to the project that you want package.
  2. Navigate to the UI Model and click Pack. Repeat this step for all the UI models that you have in the current project.
  3. Navigate to the angular-workspace, dist, prod folder and expand the folder that is named same as that of your UI model.
  4. Open the folder and ensure that the <your UI model name>.rp file is created.
  5. These packs are available as app views to add to the app package.


Assign Roles to App Views

After creating the app views for each UI model, you must assign the app roles to app views. The users mapped to the app roles can only access the corresponding app views.

Perform the following steps:

  1. Launch ASG Studio.
  2. Open the Project.
  3. Navigate to the angular-workspace, dist, prod folder and expand the folder that is named same as that of your UI model.
  4. Select the <UI model name>.rp file.
  5. Click ASSIGN ROLE and select the app role. If you want to create a new app role, enter Name and click ADD.
  6. The app role name can contain only alphanumeric characters and space. The name can start only with a letter. The name cannot contain special characters. The maximum length of the name is limited to 30 characters.
  7. Click Save.

Repeat the steps to assign roles to all the packs in the current project.


Create App Package

You can generate an App Package file after you have successfully created all the required resources to a project.

Perform the following steps:

  1. Launch ASG Studio and navigate to the project that you want package.
  2. Navigate to the App Package folder.
  3. Click New, App Package from the context menu.
  4. Enter Name and Version for the app package.
  5. The app package name can contain only alphanumeric characters. The name can start only with a letter. The name cannot contain special characters or space. The maximum length of the name is limited to 30 characters.
  6. Optionally, select an image file from the Icon drop-down to display the app as an icon to users. You must upload the image file to your project before adding it as app package icon. Perform the following steps:
    1. Open the project where you want to add the image file.
    2. Click the context menu, click New and then click Image.
    3. In the file explorer, select an image and click Open to upload the image.
    4. The image file is uploaded to your project.

  7. Click ADD and select the required App Views, App Roles, Process Models, Datasources, Serverscripts, and RPA Models.
  8. You can select RPA Model alone without any other resources such as Datasource and App Roles to generate an App Package for standalone RPA bots.
  9. Click SAVE.
  10. Navigate to the App Packages folder and click Download from the context menu.

An archive file (.zip) is downloaded to your local repository.

You can use the App Package file as a single code base to the app on different platforms and devices. You can now deploy your app in ASG Process Services (On-Premises) or ASG-Zenith Portal (SaaS).