CreateJobsSectionDefinition
Use this method to create a job section definition.
Item |
Format |
Description |
connection |
String |
The connection string. See ConnectApp. |
domainID |
String |
The domain ID. |
name |
String |
The name of the job section definition. |
bookingLinkInfo.BookingManager |
DMABookingManager |
The DataMiner ID, element ID and name of the Booking Manager element that should be used, in case the section is linked to a booking. |
bookingLinkInfo.BookingScript |
String |
The script that should be executed when a user clicks an action in the job section, in case the section is linked to a booking. |
info.Icon |
String |
The name of the icon associated with this section. |
info.Color |
DMAColor |
The background color of the section, in RGB format. |
info.Column |
Integer |
The position of the column containing this section in the Jobs app layout. |
info.Index |
Integer |
The row containing this section in the Jobs app layout. |
info.FieldIndices |
Array of string |
Determines the position and order of the fields in the section. |
info.MultiSelectionFilters |
Array of string |
The IDs of the drop-down fields that are configured as filter, if available. |
info.ShowInListView |
Array of string |
Determines whether the section is shown as a column in the list of jobs in the Jobs app. |
info.AllowMultipleInstances |
Boolean |
Indicates whether multiple instances of the job section will be allowed. |
Output
Item |
Format |
Description |
CreateJobsSectionDefinitionResult |
String |
The ID of the job section definition. |