{ "name": "SaveMap2", "displayName": "SaveMap_Version2", "description": "The geoprocessing tool takes several input parameters and saves these to a series of tables and feature classes within an Enterprise Geodatabase. This allows the user to restore a map view within the the GIS Portal Application. The tool will save the current extent of the map, the visible layers, layer definitions, as well as point, text, line and polygon graphics generated within the application through the draw toolbar, and some of the functions like routing. ", "category": "", "helpUrl": "https://ws.lioservices.lrc.gov.on.ca/arcgis2/rest/directories/arcgisoutput/EDU/CPPB_SaveMap_GP_GPServer/EDU_CPPB_SaveMap_GP/SaveMap2.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "xMin", "dataType": "GPDouble", "displayName": "xMin", "description": "Map Extent xMin", "direction": "esriGPParameterDirectionInput", "defaultValue": -8859167.388, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "yMin", "dataType": "GPDouble", "displayName": "yMin", "description": "Map Extent yMin", "direction": "esriGPParameterDirectionInput", "defaultValue": 5398720.033, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "xMax", "dataType": "GPDouble", "displayName": "xMax", "description": "Map Extent xMax", "direction": "esriGPParameterDirectionInput", "defaultValue": -8803753.079, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "yMax", "dataType": "GPDouble", "displayName": "yMax", "description": "Map Exten yMax", "direction": "esriGPParameterDirectionInput", "defaultValue": 5497208.49, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Spatial_Reference", "dataType": "GPString", "displayName": "Spatial Reference", "description": "Map Spatial Reference", "direction": "esriGPParameterDirectionInput", "defaultValue": "102113", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Map_Scale", "dataType": "GPDouble", "displayName": "Map Scale", "description": "Map Scale", "direction": "esriGPParameterDirectionInput", "defaultValue": 879.998, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Visible_Layers", "dataType": "GPString", "displayName": "Visible Layers", "description": "JSON List of Visible Layers in the web mapping application.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Layer_Query", "dataType": "GPString", "displayName": "Layer Query", "description": "JSON list of defintion queries for the layers in the map.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Save_Map_Status", "dataType": "GPBoolean", "displayName": "Save Map Status", "description": "Boolean value which identifies if the input is being saved (True) or deleted (False).", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Map_Title", "dataType": "GPString", "displayName": "Map Title", "description": "Map Title with User_ID and Map_ID as a JSON string.", "direction": "esriGPParameterDirectionInput", "defaultValue": {"99999": "No GUID - Desktop Testing|"}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Point_Graphics", "dataType": "GPFeatureRecordSetLayer", "displayName": "Point Graphics", "description": "Feature Set of Point Graphics. If the poing graphic is being represented with Text the TEXT attribute of the graphic's attribute will be populated. ", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "ID", "type": "esriFieldTypeString", "alias": "ID", "length": 50 }, { "name": "USER_ID", "type": "esriFieldTypeString", "alias": "USER_ID", "length": 50 }, { "name": "MAP_ID", "type": "esriFieldTypeString", "alias": "MAP_ID", "length": 50 }, { "name": "TEXT", "type": "esriFieldTypeString", "alias": "TEXT", "length": 250 } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Line_Graphics", "dataType": "GPFeatureRecordSetLayer", "displayName": "Line Graphics", "description": "Feature Set of Line Graphics", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "ID", "type": "esriFieldTypeString", "alias": "ID", "length": 50 }, { "name": "USER_ID", "type": "esriFieldTypeString", "alias": "USER_ID", "length": 50 }, { "name": "MAP_ID", "type": "esriFieldTypeString", "alias": "MAP_ID", "length": 50 }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Poly_Graphics", "dataType": "GPFeatureRecordSetLayer", "displayName": "Poly Graphics", "description": "Feature Set of Polygon Graphics", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "ID", "type": "esriFieldTypeString", "alias": "ID", "length": 50 }, { "name": "USER_ID", "type": "esriFieldTypeString", "alias": "USER_ID", "length": 50 }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" }, { "name": "SHAPE_Area", "type": "esriFieldTypeDouble", "alias": "SHAPE_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Delete_All", "dataType": "GPBoolean", "displayName": "Delete All", "description": "Delete All Bookmarks Flag, if this value is set to true all bookmarks for the input USER ID will be deleted. ", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }