Obtaining the configuration information from ArcMap
The configuration information needed to design the steps that are included in a task assistant workflow include commands, feature template settings, and layer information. Configuration information can be obtained directly from ArcMap or from a saved configuration file. A saved configuration file can be used to create multiple workflows.
The required configuration information includes
- ProgIDs for ESRI's ArcGIS and custom ArcObjects functionality
- Geoprocessing tools, scripts, and models
- Project-specific information such as feature layer names or feature templates
Configuration files do not need to be distributed with task assistant workflows to execute the steps in the workflow. However, you will need access to the same ArcMap functionality, feature template settings, and layer information on the executing machine whether the original configuration information comes from ArcMap or a configuration file.
Since Task Designer is embedded in ArcMap, it can obtain the required configuration information seamlessly. When initialized for the first time following the installation, it checks for the default configuration file, DefaultArcGISConfig.xml, located in <user application data>\ESRI\TAM10.0\Data\resources\xml.
If the file does not exist, it is created with the required configuration information. For each subsequent use, this default configuration file will be used unless you specifically load a different configuration file for the current ArcMap session.
This process can also be used to refresh the configuration file after a new command has been registered with ArcMap.
-
Click the Properties tab on the Task Assistant window.
-
Click Refresh Config.
The Refresh Designer Configuration message appears.
-
Click Yes to continue.
The Refreshing Designer Configuration status window appears with a progress bar. Once the progress bar is complete, configuration information is obtained directly from ArcMap, and any changes to the ArcMap table of contents are immediately available.
The Refresh MXD Items Only check box must be unchecked for command items and snap agents to be refreshed.