Forms
You can view the properties of a deployed form by selecting in the category tree and then manage the form using the links displayed on the page.
Members of the security administrators role can also apply Form Authorization to Forms. For more information see Authorization Overview.
The following tasks are exposed on the Form Properties page:
To delete a form, follow the steps below:
- Select a form from a category folder and click Delete.
- The Delete Form dialog opens. Click OK to confirm.
To move a form, follow the steps below:
- Select a Form from a category folder and click Move.
- The Move Form page opens. Select a destination folder for the form and click OK.
- Click OK to confirm.
- Refresh the Categories node by right-clicking on the destination folder and click Refresh Menu. Note that the form is now in the new location.
To make a copy of a form in a new location, follow the steps below:
- Select a form located in a category and click Copy.
- The Copy Form page opens. Specify the form's new name and category for the form, and then click OK.
- Click OK to confirm.
- Refresh the Categories node by right-clicking on the destination folder and click Refresh Menu. Note that a copy of the form is now the new location.
To run a Form, follow the steps below:
- Select a form from a category folder and click Run.
- A new browser tab or window opens displaying the form as if you opened it directly using the form URL.
Some forms require you to enter parameter values before the form can run. To run a form with parameters, follow the steps below:
- Select a form from a category folder and click Run With Parameters.
- On the page that opens, enter values for the parameters of the form, and then click Run. You can instead click the form URL at the bottom of the page to run the form.
You may want to test a form without relying on any previous caching that may have been done on the server for the form. To test a form, follow the steps below:
- Select a form from a category folder and click Run Test.
- A new browser tab or window opens displaying the form as if you opened it directly using the form's URL.
Form Authorization allows members of the security administrators role to add authorization to forms. This allows you to control which users, group and roles can view, modify, execute and apply security to forms. For more information see Authorization Overview.
Category Rights | Description |
---|---|
View | Browse to and view the form in K2 Designer. |
Modify | Design-time right that controls who may edit, rename and move forms. |
Execute | Interact with Form objects at runtime. |
Security | As the creator of objects, you can assign Security rights to forms, which allows others to manage the object's security, including assigning View, Execute and Security rights. |
Follow these steps to add authorization to a Form:
- Select a Form from the Categories node.
- On the Security page, add a user or group by clicking Add.
- On the Add Users, Groups, And Roles page, search and add a user, group or role. Click OK.
- Specify the user, group or role's View, Modify, Execute and Security rights. If the form is inheriting rights from the its parent folder, the following rights are available: Allow, Deny and Inherited Allow. If the inheritance is broken the following rights are available: Allow, Deny and None.
- Add more users, groups and roles to the Security page if desired. Click Close.
When specifying users, groups and roles for Form security, the Everyone Role is added during installation, providing all authenticated users, the ability to view and execute the Form. Best practice would be to modify the Everyone Role's view and execute rights to None on the Categories folder, and grant permissions to users, groups and roles according to your organizations requirement on the Form.
Follow these steps to edit authorization in a form:
- Select a form from the Categories node.
- On the Security page, add a new user, group and role or edit existing users and rights.
Follow these steps to remove authorization in a form:
- Select a form from the Categories node.
- Select a user, group or role from the Security section and click Remove.