{ "name": "SetupMapArea", "displayName": "SetupMapArea", "description": "The Setup Map Area task creates packages for each service in the web map within the map area extent. The tool generates tile packages (.tpk or .vtpk) and SQLite Geodatabase format replica packages for exportTilesAllowed tiled services (i.e. basemap layer) and sync enabled feature services (i.e. operational layers). It adds an Area2Package relationship between the map area item and created package items. Existing package related to a map area will remain unchanged after running the task a second time as long as its corresponding layer remain existed in the web map and therefore a valid map layer. For example, if a web map is updated with a feature layer removed after a package is created for that layer using the GP tool, the package will be removed the next time executing it since its corresponding layer no longer exists in the web map thus becomes invalid.", "category": "", "helpUrl": "https://gis.charlottenc.gov/arcgis/rest/directories/arcgisoutput/Utilities/OfflinePackaging_GPServer/Utilities_OfflinePackaging/SetupMapArea.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "mapAreaItemId", "dataType": "GPString", "displayName": "Map Area Item ID", "description": "Map area item ID, created by the Create Map Area tool.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "mapLayersToIgnore", "dataType": "GPString", "displayName": "Map layers to ignore", "description": "A JSON array of individual layers, specified with their service URLs, in the map to ignore. The task generates packages for all map layers by default.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "tileServices", "dataType": "GPString", "displayName": "Tile Services", "description": "An array of JSON objects that contains additional export tiles enabled tile services for which tile packages (.tpk or .vtpk) need to be created. Each tile service is specified with its URL and desired level of details.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "featureServices", "dataType": "GPString", "displayName": "Feature Services", "description": "An array of JSON objects that contains additional sync enabled feature services for which replicas need to be created. It can also be used to override layer definition query in the map. Each feature service is specified with its url, layers, layerQueries, returnAttachments, attachmentsSyncDirection, syncModel, and syncDirection properties. ", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "packages", "dataType": "GPString", "displayName": "Packages", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }