Extended properties tables allow organizations to store additional properties or associate external data with jobs to meet specific business needs. They can be updated using the Update Job Properties step and the Survey123 step and can be used as dynamic input values to other steps, such as the Run GP Service and Send Email steps. Extended properties tables can be configured with a one-to-one or a one-to-many table relationship with the ArcGIS Workflow Manager jobs table and can also be used to associate external data from a feature layer with a job. Each extended properties table in a workflow item must have a unique name and can't be shared across job templates.
Create an extended properties table
Complete these steps to add an extended properties table:
- Access the Workflow Manager web app.
- Click the Design tab.
The Design page appears.
Remarque :
If you don’t have sufficient privileges, you won’t see the Design tab.
- Click the Job Templates button
.
The Job Templates panel appears.
- Click the job template to which you want to add extended properties table.
The job template appears in the right panel.
- Click the Extended Properties tab.
- Click New Table.
The new table appears in the list.
- Complete the Name and Alias fields.
Remarque :
The Name field is converted to lowercase when saved and must contain a unique value across all job templates or it is considered a duplicate.
- Click the Relationship toggle button to switch between a one-to-one (1-1) or a one-to-many (1-M) table relationship with the Workflow Manager jobs table.
- 1-1—Set the relationship to one-to-one if your jobs can only have one value for the properties in the extended properties table.
- 1-M—Set the relationship to one-to-many if your jobs can have multiple values for the properties in the extended properties table.
- Click Add Extended Property.
The new property appears in the table.
- Provide a name for the property in the Name text box.
Remarque :
Each property in an extended property table must have a unique name.
- Provide the display name for the property in the Alias text box.
- Click the Type drop-down arrow and choose a data type for the property.
Available data types include Boolean, date, domain, double, integer, and string.
- Provide a default value for the property.
If the Type is set to Domain, do the following:
- Click Add Domain.
The Edit Domain dialog box appears.
- Click the Code Type drop-down arrow and choose a code type for the property.
Available domain code data types include: double, integer, and string.
- Provide a value for the domain in the Value text box.
- Provide a code for the domain in the Code text box.
- Optionally, click Add New Value and repeat steps c and d to add additional domain values and codes as necessary.
- Optionally, click the Reorder Domain button
next to the Value text box and drag it to the desired location to change the order of the domain values and codes.
Remarque :
Values and codes can be deleted by clicking the Delete Domain button
.
- When you're done adding domain values and codes, click Save.
Remarque :
Once the domain has been saved, the Code Type can't be modified. To edit or delete domain values and codes, click the Edit Domain button
- Click Add Domain.
- Update the Field Length as necessary.
Remarque :
The default field length is 50 characters.
- Check the Required check box to specify that the property is required.
- Check the Editable check box to specify that the property is editable.
- Check the Visible check box if you want the property to be visible when used in a job.
- Optionally, repeat steps 8 through 16 to add additional properties to the table.
Remarque :
To delete a property, hover over it and click the Delete Item button
.
- Optionally, change the order of the extended properties in the table.
- Hover over the property you want to reorder.
- Click the Move item to top
or Move item to bottom button
, or click the Reorder Property button
and drag it to the desired location.
- Optionally, repeat steps 6 through 18 to add additional extended properties tables and properties.
Remarque :
To delete an extended properties table, hover over it and click the Delete table button
.
Conseil :
You can filter the extended property list by property name or alias by typing a keyword in the Filter Extended Properties text box.
Tables can be collapsed and expanded using the Collapse table
and Expand table
buttons.
- Optionally, change the order of the extended properties tables.
- Hover over the table you want to reorder.
- Click the Move table to top
or Move table to bottom button
, or click the Reorder table button
and drag it to the desired location.
- When you are done adding tables and properties, click Save.
Remarque :
Once an extended properties table has been saved, the table name, relationship, property name, property data type, and field length values can't be updated.
Create an extended properties table from a feature layer
You can create an extended properties table from a feature layer to reference external feature layer data and associate it with jobs. You can manually link a job to a record in the feature layer by updating the Link ID Field value with the Update Job Properties step. Complete these steps to create an extended properties table from a feature layer.
- Access the Workflow Manager web app.
- Click the Design tab.
The Design page appears.
Remarque :
If you don’t have sufficient privileges, you won’t see the Design tab.
- Click the Job Templates button
.
The Job Templates panel appears.
- Click the job template to which you want to add an extended properties table.
The job template appears in the right panel.
- Click Add Feature Layer.
The Add Feature Layer dialog box appears.
- Choose one of the following options to specify where your feature layer is located:
- This Enterprise—Add a feature layer that is available on the same portal as Workflow Manager
- ArcGIS Online—Add a public feature layer located on ArcGIS Online
- Other—Add a public feature layer located on another portal
- If you chose Other, type the URL for the portal that contains the layer in the Portal URL text box and press Enter.
For example, https://webadaptorhost.domain.com/webadaptorname.
- Locate the item ID for the feature layer.
- Sign in to your portal or ArcGIS Online.
- Open the details page for the feature layer you want to use.
- Copy the item's ID from the portal or ArcGIS Online URL.
For example, if the URL is https://www.arcgis.com/home/item.html?id=cb1886ff0a9d4156ba4d2fadd7e8a139, copy cb1886ff0a9d4156ba4d2fadd7e8a139.
- Paste the feature layer's item ID in the Item ID text box.
The Layer/Table drop-down menu is automatically populated with the layers and tables in the feature layer.
- Click the Layer/Table drop-down arrow and choose the layer or table you want to use.
The Link ID Field drop-down menu is automatically populated with the fields in the chosen layer or table.
- Click the Link ID Field drop-down arrow and choose a field that contains unique values that you want to use to link records in the feature layer to jobs.
Remarque :
The feature layer’s ObjectID field, date and Boolean data type fields, and geometry fields, such as the SHAPE_AREA and SHAPE_LENGTH fields, can’t be used for the Link ID Field and are filtered from the list of available fields.
- Provide a name for the extended property feature layer table in the Reference Name text box.
- Click OK.
The extended property table appears on Extended Properties tab.
- Click the Relationship toggle button to switch between a one-to-one (1-1) or a one-to-many (1-M) table relationship with the Workflow Manager jobs table.
- 1-1—Set the relationship to one-to-one if your jobs can only have one value for the properties in the extended properties table.
- 1-M—Set the relationship to one-to-many if your jobs can have multiple values for the properties in the extended properties table.
- Optionally, update the display name for properties in the Alias text box.
- Check the Visible check box next to the properties that you want to be visible when used in a job.
- Optionally, change the order of the extended properties in the table.
- Hover over the property you want to reorder.
- Click the Move item to top
button or Move item to bottom
button, or click the Reorder Property button
and drag it to the desired location.
- When you are done configuring the extended properties table, click Save.
The feature layer’s fields are automatically added to the table and the field you chose as the Link ID Field appears with a Linked Field indicator
.
Remarque :
Once an extended properties table has been saved, the table name and table relationship can't be updated.
Create an extended properties table from a Survey123 form
You can create an extended properties table from a feature layer to reference external feature layer data and associate it with jobs. You can manually link a job to a record in the feature layer by updating the Link ID Field value with the Update Job Properties step. The Link ID Field value can also be set automatically when a survey is collected using the Survey123 step. Complete these steps to create an extended properties table from a feature layer.
- Access the Workflow Manager web app.
- Click the Design tab.
The Design page appears.
Remarque :
If you don’t have sufficient privileges, you won’t see the Design tab.
- Click the Job Templates button
.
The Job Templates panel appears.
- Click the job template to which you want to add an extended properties table.
The job template appears in the right panel.
- Click Add Survey123 Form.
The Add Survey123 Form dialog box appears.
- Choose one of the following options to specify where your Survey123 form is located:
- This Enterprise—Add a survey that is available on the same portal as Workflow Manager
- ArcGIS Online—Add a public survey located on ArcGIS Online
- Other—Add a public survey located on another portal
- If you chose Other, type the URL for the portal that contains your survey in the Portal URL text box and press Enter.
For example, https://webadaptorhost.domain.com/webadaptorname.
- Type the form ID for the survey in the Form ID text box.
- Provide a name for the survey in the Reference Name text box.
- Click OK.
The extended property table appears on Extended Properties tab.
- Click the Relationship toggle button to switch between a one-to-one (1-1) or a one-to-many (1-M) table relationship with the Workflow Manager jobs table.
- 1-1—Set the relationship to one-to-one if your jobs can only have one value for the properties in the extended properties table.
- 1-M—Set the relationship to one-to-many if your jobs can have multiple values for the properties in the extended properties table.
- Optionally, update the display name for properties in the Alias text box.
- Check the Visible check box next to the properties that you want to be visible when used in a job.
- Optionally, change the order of the extended properties in the table.
- Hover over the property you want to reorder.
- Click the Move item to top
button or Move item to bottom
button, or click the Reorder Property button
and drag it to the desired location.
- When you are done configuring the extended properties table, click Save.
The feature layer’s fields are automatically added to the table and the globalid field appears with a Linked Field indicator
.
Remarque :
Once an extended properties table has been saved, the table name and table relationship can't be updated.
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?