Extended scripts

An Extended script is an XML (.xml) file that contains information about a project, controller, or library object. The Extended script is called from a CREATE command in an
Application Code Manager
Console script, which passes the object data contained in the Extended script to the
Application Code Manager
database.
Projects and controllers may not be defined in the same XML file. For best results, create three Extended scripts: one for the project, one for the controller, and one for all the associated objects.
TIP:
When creating a Project or Controller XML file, set up a reference (
@Project
or
@Controller
) to use the project name passed in from the
Application Code Manager
Console script. This allows a single Project or Controller XML file to be used for multiple projects.
An example of an
Application Code Manager
Console script that calls an Extended script is:
BEGINCREATE CREATEPROJECT "myProject" "C:\Script Files\Project.xml" CREATECONTROLLER "myProject" "myController" "C:\Script Files\Controller.xml" CREATEOBJECTS "myProject" "myController" "C:\Script Files\Objects.xml" ENDCREATE
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal