Authoring Data for ArcGIS Server
Incorporating ArcGIS Server in your workflow starts in ArcMap. Just remember these key requirements for your data. It must:
- be stored in an enterprise SDE database
- contain Global ID’s
- be versioned.
The Author Project for ArcGIS Server tool in ArcMap guides the user through a wizard with similar dialogs as in the Get Data for ArcPad wizard. The Author Project for ArcGIS Server tool is enabled when you have a saved ArcMap MXD open. We recommend you create a folder on your server machine to save your mxd's (say c:\MXD). Please note that at the end of the authoring process, no data that can be deployed to mobile device is created on your server machine. To create data, you need to Publish Data to ArcGIS Server.
When you choose the Author Project for ArcGIS Server tool , the welcome screen appears.
Click 'Next' and the following screen appears.
If you do not want the welcome page to appear again, check the checkbox saying 'Do not show this welcome page'. Click 'Next' and the Select Data screen appears.
Layer
Displays the name of the layer. Relationship classes for geodatabase layers are also displayed together with the layer name.
Action
On the action tab you have an option of setting the action on an individual layer or you can choose to set the same settings for all the layers. When you click on the Action tab, the following list appears.
- Checkout all Geodatabase layers and copyout all other layers
- Checkout all Geodatabase layers only
- Copyout all non-Geodatabase layers only
- Copyout all layers
- Reset all (to Do not export)
- Defaults: When you choose to select the defaults action, you will get another
set of options for layers.
- Background layer format (Shapefile and AXF layer)
- Background layer editing (Read Only and Editing allowed)
- Checkout Data or Schema (Data and Schema only)
- Raster output type (TIFF, JPEG2000, MrSID (Gen2), Original format )
- Include graphics layer with background data
Only the layers that have the map’s spatial reference will be available for checkout.
Folder or Database
Displays the folder or the geodatabase where the layer is located.
Layer Definition Template
When checked, the Open Layer dialog is displayed allowing you to choose an existing Layer Definition from a shapefile or ArcPad AXF file to be used as a template. This allows you to re-use forms, scripts, icons, and other layer definition elements.
Spatial extent
Select the spatial extent to be used for selecting the layer features to be copied or checked out. Raster layers will also be cropped to the selected spatial extent unless the Keep Original image output option is selected.
Select next and the Select Output Options page appears.
Options for the spatial extent are:
- The current display extent
- The full extent of the selected layer(s)
- The extent of the currently selected feature(s)
- The extent of the currently selected graphic(s)
Only get selected features
When checked, only the selected features will be copied or checked out.
Only get features specified in layer’s definition query
When checked, only the features selected by the layer’s definition query will be copied or checked out.
Only get fields specified as visible in layer’s properties
When checked, only the fields which are selected as visible in the layer’s properties will be copied or checked out.
Create an ArcPad map (.apm file) for the data
When checked, an ArcPad map with the specified map name will be created on the server after you publish the ArcPad project to ArcGIS Server. The ArcPad map will reference all of the layers selected for copy out or check out, as well as the data frame properties that are supported by ArcPad.
Map name
Enter the name of the ArcPad map to be created. Default is ArcPad.apm.
Encrypt check out data
When checked, the checked out data will be encrypted in the ArcPad AXF file. The specified password will be required to use the data in ArcPad, and to check the data back in.
Password
Enter the password to be associated with the encrypted ArcPad AXF file
Validate feature classes before checking out
When checked, the geodatabase layers and features selected for check out will be validated before checking out. The validate process will stop at the first occurrence of invalid data, and report this invalid data. The invalid data should be corrected, and the check out process run again (with the validate option checked) until no invalid data is reported. All invalid data will need to be corrected in order to check out the layer.
The validation occurs in the following sequence:
- Validate any subtypes
- Validate any attribute rules (such as domains)
- Validate any network connectivity rules
- Validate any relationship rules
- Perform any custom validation (using optional class extensions).
ArcPad requires that all data be valid according to the defined domains. Although the validate process takes some time for larger datasets, it is highly recommended that you validate your data when using Get Data For ArcPad for the first time. This will detect and report any invalid data and provide you with an opportunity to correct the data.
Click 'Finish', and the following screen appears.
At the end of the process, an .apo file is created alongside your ArcMap .mxd document. You use the mxd and apo together to create an ArcPad publication when publishing the ArcPad project to ArcGIS Server.