User Interface
Currently, the user interfaces are manually created by General Interface (GI). The folder structure consists of Action.js, Descriptor.xml, Controller.js, UI- action.xml, and JSS- locales .xml.
Note:
Copy the files from the given sample to a corresponding folder for custom action:
CustomPolicies\samples\requestCounter\ui\requestCounter
Rename the requestCounter folder to the name of the custom action and change the files where applicable, as per comments in the template UI files.
- Action.js: reads the user input from the wizard and returns the populated paramGroup.
- Descriptor.xml: specifies the controller class needed for the UI. It also specifies the UI form file, the action.js file, and the locales file.
- Controller.js: allows custom code to talk to the wizard manager. It is an implementation of the IDynamicForms interface.
- ui (folder)
- jss (folder)
For more information on the General Interface UI, refer to the General Interface website: http://generalinterface.org/docs/display/DOC/Learning+Center
Copyright © Cloud Software Group, Inc. All rights reserved.