Exercise 4: Adding a step to configure feature layers
In this exercise, you are going to configure a step to set layer visibility and selectability. At the completion of this exercise, your Task Assistant window will appear as follows:
Highlight the last item on the list in the Task Assistant window to make sure the next step you create is added below the previous steps.
-
Click the New Step button on the Task Assistant toolbar.
A new step appears below the workflow in the Task Assistant window.
- Click to highlight New Step.
-
Click the Designer tab.
- Click the cell next to Description and type Sets Buildings visible and selectable. Sets Streets not selectable.
- Click the cell next to Name, double-click the existing text, then type Configure Layers.
-
Click the cell next to Layers and click the ellipsis (...) that appears.
The Layer Item Editor dialog box appears.
- In the Layer Members list, check the Streets layer check box.
- In the Layer Properties area, click the cell next to Selectable.
- Click the drop-down arrow that appears and choose Off.
-
In the Layer Members list, check the Buildings layer check box to choose it.
- In the Layer Properties area, click the cell next to All TOC.
- Click the drop-down arrow that appears and choose On.
-
Click OK.
Perform the following to save the task assistant workflow to a file:
- Right-click in the Task Assistant window and choose Save Workflow As.
- Browse to the file location in which you want to save the task assistant workflow.
- Type a name for the task assistant workflow in the File name text box.
-
Click OK.
The Workflow Saved message appears to confirm the saved file location.
- Click OK.
Remarque :You will explore the process of saving the task assistant workflow to a file in greater detail in Exercise 9: Saving and associating workflows.
In this exercise, you configured a step to set layer visibility and selectability. To proceed to the next exercise, click Exercise 5: Adding steps for edit session tools.