Skip to main content

Form

A form contains a set of input fields (called controls) to be filled by a user, in a structured way. A form must have a form type to be displayed and used in the UI. A form without a type can be called in another form.

Examples​

The following example shows a form called Directory_UserRecord_View that involves resources from the entity type Directory_UserRecord to collect personal data and contract information via some structured fields to fill.

<Form Identifier="Directory_UserRecord_View" EntityType="Directory_UserRecord">
<Control DisplayName_L1="Personal Data" OutputType="LayoutFieldset">
<Control DisplayName_L1="Full Name" OutputType="LayoutRowset">
<Control Binding="LastName" />
<Control Binding="FirstName" />
</Control>
<Control Binding="Mail" ColumnSize="8" />
</Control>

<Control DisplayName_L1="Contract" OutputType="LayoutFieldset">
<Control Binding="EmployeeId" />
<Control Binding="ContractStartDate" />
<Control Binding="ContractEndDate" />
...
</Control>

</Form>

Display settings​

Hide the "Access Permissions" tab​

When HideRoles is set to true, then the Access Permissions tab is not accessible.

Access Permissions

Adjust the request type​

When WorkflowRequestType is set to Self, then the finalization step looks like: Form Hideroles V603

When WorkflowRequestType is set to Helpdesk, then the finalization step looks like: WorkflowRequestType = Helpdesk

Display records in a table​

Form Requesttypehelpdesk V603

Properties​

PropertyDetails
Activity optionalType: Int64 Description: Defines the linked activity template.
ActivityState optionalType: Enumeration Description: Defines the linked activity state template.
AddRowLabel_L1 optionalType: String Description: Defines the "add row" button label when using WorkflowUpdateSeveralRecordsEntityForm.
EntityType requiredType: Int64 Description: Represents the linked entity type.
FormTitle_L1 optionalType: String Description: Title of the form in language 1 (up to 16).
FormType default value: AutoType: FormType Description: Represents the linked form type.
HideRecordAddButton default value: falseType: Boolean Description: true to hide the button used to add a new record.
HideRecordRemoveButton default value: falseType: Boolean Description: true to hide the button used to remove an existing record.
HideRoles default value: falseType: Boolean Description: true to hide the Access Permissions tab.
Identifier requiredType: String Description: Unique identifier of the form.
IsDefaultSelfForm default value: falseType: Boolean Description: Entity type default self form.
IsDefaultViewForm default value: falseType: Boolean Description: Entity type default view form.
IsDeleteForm default value: falseType: Boolean Description: Is a delete form.
MainProperty optionalType: Int64 Description: Represents the form main property.
MainPropertyLabel_L1 optionalType: String Description: Defines the main property label text.
Menu optionalType: Int64 Description: Defines the linked menu item.
RecordEndProperty optionalType: Int64 Description: Defines the workflow end date property. If not specified, the property 'EndDate' of the record entity type is considered as RecordEndProperty.
RecordFilter default value: CurrentAndFutureType: RecordFilter Description: Defines the record display option. 0 - Current: shows current positions. 1 - CurrentAndFuture: shows current and future positions. Recommended. 2 - All: shows past, present and future positions. Not recommended for clarity issues.
RecordProperty optionalType: Int64 Description: Defines the workflow record property.
RecordSortProperty optionalType: Int64 Description: Defines the workflow sort property.
RecordStartProperty optionalType: Int64 Description: Defines the workflow start date property. If not specified, the property 'StartDate' of the record entity type is considered as RecordStartProperty.
RecordTable optionalType: Int64 Description: Identifier of the display table to be used to display resources' records in a workflow.
RemoveRowLabel_L1 optionalType: String Description: Defines the "remove row" button label when using WorkflowUpdateSeveralRecordsEntityForm.
TableTitle_L1 optionalType: String Description: Defines the table title when using WorkflowUpdateSeveralRecordsEntityForm.
WorkflowRequestType default value: 0Type: WorkflowRequestType Description: Type of the request of the related workflow. 0 - None. 1 - Self. 2 - Helpdesk. 3 - Administration.

Child Element: Control​

A form control is an input field to be filled by a user. Controls can be inserted in other controls in order to display the form fields in a structured way.

Examples​

The following example shows a form called Directory_UserRecord_View that collects first personal data via some controls, and then calls another form Workflow_Directory_User_AddRecord_Base to collect record information. In this example is a tree control which defines the relationships between a worker and their managers (N+1 to N+3). The aim is to display in the form (in the UI) the organization chart made of the worker and their managers.

<Form Identifier="Directory_UserRecord_View" EntityType="Directory_UserRecord">
<Control DisplayName_L1="Personal Data" OutputType="LayoutFieldset">
<Control DisplayName_L1="Full Name" OutputType="LayoutRowset">
<Control Binding="LastName" />
<Control Binding="FirstName" />
</Control>
<Control Binding="Mail" ColumnSize="8" />
</Control>

<Control DisplayName_L1="Contract" OutputType="TransformImport" EmbeddedForm="Workflow_Directory_User_AddRecord_Base" />
</Control>
<!--<Control DisplayName_L1="OrgChart" OutputType="Tree"
Binding="Manager"
Binding2="Manager.MainRecord.Manager"
Binding3="Manager.MainRecord.Manager.MainRecord.Manager"
/>-->
</Form>

Properties​

PropertyDetails
AddedMinutes optionalType: Int32 Description: Add minutes to the date field with this property. If the value is not defined, the default value is the one defined for the associated display entity property.
Binding optionalType: Int64 Description: Identifier of the binding property. Note: when displaying an organization chart, this binding is meant to represent the first manager level (N+1). In this case, it must be a mono-valued navigation.
Binding2 optionalType: Int64 Description: Identifier of the binding property used to represent the second manager level (N+2) in the organization chart. It must be a mono-valued navigation. Cannot be used when Binding is not defined.
Binding3 optionalType: Int64 Description: Identifier of the binding property used to represent the third manager level (N+3) in the organization chart. It must be a mono-valued navigation. Cannot be used when Binding2 is not defined.
ColumnSize optionalType: Int32 Description: Defines the control column size.
DefaultValueBinding optionalType: Int64 Description: Automatically sets the value in the control depending on this binding and the selected value in another corresponding picker. It's only available for controls with picker. For example: `` After a selection of an organization in another picker in the form, the field location will be automatically set by the main location of the manager of the selected organization.
DisplayName_L1 optionalType: String Description: Display name of the control in language 1 (up to 16).
DisplayTable optionalType: Int64 Description: Identifier of the table.
EmbeddedForm optionalType: Int64 Description: Identifier of the form to insert in the control. With this method, one form can be imported to several forms. Warning: can be used only with OutputType set to TransformImport.
EntityType optionalType: Int64 Description: Represents the linked entity type.
ExtensionIdentifier optionalType: String Description: This property is used to extend the Identity Manager UI.
FilterBinding1 optionalType: Int64 Description: Coupled with LinkedBinding1, it allows filtering on a list of items. FilterBinding1 defines the binding that determines the search value. Linked filters are only available for controls with the Picker InputType.
FilterBinding2 optionalType: Int64 Description: Coupled with LinkedBinding2, it allows filtering on a list of items. FilterBinding2 defines the binding that determines the search value. Linked filters are only available for controls with the Picker InputType.
HomonymEntityLink optionalType: Int64 Description: Defines the homonym form control.
InputType default value: InheritedType: Enumeration Description: Input type of the control.
IsReadOnly optionalType: Boolean Description: Is a readonly form control.
IsRequired optionalType: Boolean Description: Is a required form control.
LinkedBinding1 optionalType: Int64 Description: Coupled with FilterBinding1, it allows filtering on a list of items. LinkedBinding1 defines the binding on which the search will be carried out. Linked filters are only available for controls with the Picker InputType.
LinkedBinding2 optionalType: Int64 Description: Coupled with FilterBinding2, it allows filtering a list of items. LinkedBinding2 defines the binding on which the search will be carried out. Linked filters are only available for controls with the Picker InputType.
Name optionalType: String Description: Identifies the control inside the Form. This is used for translation files when a control cannot be identified by its binding such as for FieldSet.
NavigationBinding optionalType: Int64 Description: Defines the binding of the resource on which the user will be redirected when he clicks on an element of a BasicCollection. If not defined, the one defined in DisplayEntityProperty is used.
OutputType default value: InheritedType: Enumeration Description: Output type of the control.
ParentControl optionalType: Int64 Description: Defines the parent form control.
PlaceHolderText_L1 optionalType: String Description: Defines the place holder text.
Tile optionalType: Int64 Description: Identifier of the tile.