User Interface
Currently, the user interfaces are manually created by the 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 locale file. - Controller.js: Allows custom code to talk to the wizard manager. It is an implementation of the IDynamicForms interface.
ui
(folder)- action.xml: This is the actual GI form for the UI.
jss
(folder)- locales.xml: This file contains externalized strings for localization.