Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

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.

Copy

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.
Copy

Syntax example

ASSIGN APP SampleApp CATEGORY Administrators                    
Copy

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:
    Copy
    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.
Copy

Syntax example

ASSIGN APP @"Sample App Categories.txt"                        

See also

Published:

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.

Copy

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.
Copy

Syntax example

ASSIGN APP SampleApp CATEGORY Administrators                    
Copy

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:
    Copy
    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.
Copy

Syntax example

ASSIGN APP @"Sample App Categories.txt"                        

See also

For an optimal Community experience, Please view on Desktop