Product Documentation

Managing AppExpert Applications

Sep 08, 2016

Exporting an AppExpert Application

To export an AppExpert application, you must do the following:

  1. Instantiate the com.citrix.netscaler.nitro.resource.config.app.application class.

    Note: For the python SDK, the package path is of the form nssrc.com.citrix.netscaler......

  2. Configure the properties of the AppExpert locally.
  3. Export the AppExpert application.

The following samples export an AppExpert application named "MyApp1".

JAVA - SAMPLE CODE TO EXPORT AN APPEXPERT APPLICATION 복사

application myapp = new application();
myapp.set_appname("MyApp1");
myapp.set_apptemplatefilename("myapp_template");
application.export(ns_session,myapp);

.NET - SAMPLE CODE TO EXPORT AN APPEXPERT APPLICATION 복사

application myapp = new application();
myapp.appname = "MyApp1";
myapp.apptemplatefilename = "myapp_template";
application.export(ns_session,myapp);

python - SAMPLE CODE TO EXPORT AN APPEXPERT APPLICATION 복사

myapp = application()
myapp.appname = "MyApp1"
myapp.apptemplatefilename = "myapp_template"
application.export(ns_session, myapp)

Importing an AppExpert Application

To import an AppExpert application, you must do the following:

  1. Instantiate the com.citrix.netscaler.nitro.resource.config.app.application class.

    Note: For the python SDK, the package path is of the form nssrc.com.citrix.netscaler......

  2. Configure the properties of the AppExpert locally.
  3. Import the AppExpert application.

The following samples import an AppExpert application named "MyApp1".

Java - Sample code to import an AppExpert application 복사

application myapp = new application();
myapp.set_appname("MyApp1");
myapp.set_apptemplatefilename("myapp_template");
application.Import(ns_session,myapp);

.NET - SAMPLE CODE TO IMPORT AN APPEXPERT APPLICATION 복사

application myapp = new application();
myapp.appname = "MyApp1";
myapp.apptemplatefilename = "myapp_template";
application.Import(ns_session,myapp);

Python - SAMPLE CODE TO IMPORT AN APPEXPERT APPLICATION 복사

myapp = application()
myapp.appname = "MyApp1"
myapp.apptemplatefilename = "myapp_template"
application.Import(ns_session, myapp)