Create Agentry Application with Package

Creates and deploys an Agentry application with a package.

Syntax

void createApplication (String appID, String
        displayName, String description,CLIENT_SDK_TYPE type,Boolean enable,String
        appPackage,Boolean immediate,Date time)                      
                   throws  SUPAdminException;          

Parameters

  • applicationId – the unique ID for the application.
  • displayName – the display name for the application.
  • description – (optional) the string that describes the application.
  • type – must be of type AGENTRY. All other types are ignored.
  • appPackage – the application package file for the application. Agentry packages must be saved to the server's agp/agpz/zip directory.
  • immediate – include this parameter to immediately activate the application.
  • time – the time to activate the application, when you do not immediately activate it.
  • enable – include this parameter to immediately enable the application. Otherwise, it remains disabled.

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Create application with package
    createApplication(“agentryapp1”, “agentryapp1Display”,
          “DescribeAgentry”,”c:\\app.agentry2.agp”,true,null)