Product Documentation

AppExpert Application APIs

Jun 14, 2016

To export an AppExpert application, you must instantiate the nssrc.com.citrix.netscaler.nitro.resource.config.app.application class, configure the properties of the AppExpert locally, and then export the AppExpert application.

The following sample code exports an AppExpert application named "MyApp1":

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

You can also import an AppExpert application. You must instantiate the nssrc.com.citrix.netscaler.nitro.resource.config.app.application class, configure the properties of the AppExpert locally, and then import the AppExpert application.

The following sample code imports an AppExpert application named "MyApp1":

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