Snippets

This subsection lists the snippets that have been uploaded to the Management Console Repository. At the top of the snippets tab, you select the project whose snippets should be displayed.

When a schedule runs, the robots linked to it are executed on RoboServer. Some robots use snippets , these snippets must be available in the Repository (in the same project as the robot) or running the robot will fail.

When you upload a snippet to the Repository, it is copied into the Repository. Thus, if changes are later made to the snippet in Design Studio, it needs to be uploaded again. Since each snippet name must be unique (within each project), uploading the snippet again overwrites the previous version.

You may upload multiple snippets by the same name only if they are placed in separate projects.

The following information is displayed for each snippet.

Column

Description

Name

The name of the snippet.

Project Name

Displays the project the snippet belongs to (useful when viewing All project).

Input Types

Types used in input variables in the snippet. In order to use this snippet in a robot, the .type files corresponding to each of these types must be present

Returned Types

Types of values returned by the snippet. In order to use this snippet in a robot the .type files corresponding to each of these types must be present.

Stored Types

Types of values stored in a database by the snippet. In order to use this snippet in a robot the .type files corresponding to each of these types must be present.

Snippets used

Name of the snippets used by this snippet. If a Snippet uses snippet A and snippet A uses snippet B, only snippet A will be listed here.

Size

The size of the snippet in bytes.

Delete

Click this button to delete the snippet from the Repository. If you don't have a copy of the snippet in the file system, it is irrevocably lost.

Created By (hidden by default)

The user name of the user who first uploaded the snippet. This feature is only available when running a stand-alone Kapow Katalyst using LDAP.

Modified By (hidden by default)

The user name of the user who last modified the snippet. This feature is only available when running a stand-alone Kapow Katalyst using LDAP.

Last modified

The timestamp for the last change of this snippet.

Download

Click this button to get a copy of the snippet out of the Repository and save it in the file system.

Snippet Information


Clicking the "Add Snippet" button in the upper left corner opens a dialog for uploading a new snippet. Note that snippets may implicitly be uploaded with the aid of Design Studio. This happens when you use Design Studio to upload a robot that uses the snippet. Because Design Studio knows about the dependencies between robots and snippets, it always uploads the necessary snippets along with the robot.

If you click the Delete column, you will be prompted to confirm the delete. If the snippet is used by other snippets or robots, the confirmation message will include the usage count. If you delete a snippet that is used by a robot (or a snippet used by this robot), the robot will no longer be able to execute. Any robot that is missing a required snippet, will be listed with it's name in a red font on the Robots tab.