The principle of a UMRA form is best described with an example. Suppose
we want to delegate the task of unlocking accounts of a particular OU
to a helpdesk employee. In the final result, the UMRA project, created
with the UMRA console application looks like this:
and the corresponding form looks like this:
Form project
The UMRA form project contains 2 sections:
Form design
(upper part): This section contains all the form fields that make up the
form. In the example shown, the form fields include a picture, some text
(Unlock account), a table (with account to become unlocked) and a button
(Unlock account).
Script (lower part): The actions executed when the button (Unlock
account) is pressed. In this case, the action is Edit
user logon. The script of an
UMRA form project is equal to the script of an UMRA mass project. See
Project operations
- Manage script actions for more information.
Form design
The form of an UMRA form project is comletely configurable. A number
of different types of form fields are available to make up the form. For
each form field, you can specify formatting parameters to design the form.
Form field types include:
While you design the form by managing form fields, you can see the results
immediately with the form preview. To show the form preview, right click
in the form design area of a form project window and select menu option
Toggle auto preview.
Form - script
When the form is submitted, the script of the form project can be executed.
To relate the form and the script, variables are used. Certain form fields
are used to specify a value for a variable that can be used in the script
of the same form. For instance, in the example shown, the column Username
of the table with user accounts, is used to specify the value of variable
%UserName%that is used in the script action Edit
user logon to identify the user.
For more information, see Form
project - Form fields. For more general information on variables,
see Variables.