Skip to main content

Assign App

Use this command to assign a Longview App to an existing category. You must first publish the Longview App before you can assign it to categories. Use separate lines to assign a Longview App to multiple categories. For information on publishing an app, see Publish App. For information on creating categories, see Put Category.

Syntax:

ASSIGN APP AppName CATEGORY Category

where:

  • AppName is the name of the Longview App to be assigned to the category. If the Longview App name includes spaces, enclose it in double quotation marks. You don’t have to include the .lvapp extension in the name. Longview App names cannot exceed 100 characters.
  • Category is the name of the category to which the Longview App is assigned. If the category name includes spaces, enclose it in double quotation marks.

Syntax example:

ASSIGN APP SampleApp CATEGORY Administrators

Syntax (with an ASCII file):

ASSIGN APP @FileName

where:

  • FileName is an existing ASCII file containing the categories to which the Longview App is assigned, with the following syntax:

    AppName{CATEGORY{Category

  • If the file is in the working folder, you don’t need to specify the drive or path. If the file name includes spaces, enclose it in double quotation marks.

    Syntax example

    ASSIGN APP @"Sample App Categories.txt"

See also

Was this article helpful?

We're sorry to hear that.