{ "name": "DataUpdateFromZip", "displayName": "Data Update From Zip", "description": "Updates data in a geodatabase from a zip file containing a geodatabase. Will get the latest zip file from update folder and update the datasets with the same name in the specified geodatabase. Two update options: \n\n- Existing Mode - Will only update datasets that have the same name and will delete and append records, so field names need to be the same.\n\n- New Mode - Copies all datasets from the geodatabase and loads into geodatabase. Requires no locks on geodatabase.\n\nNOTE: If using ArcGIS 10.0 need to set scratch workspace as folder.", "category": "", "helpUrl": "https://gis.mstn.govt.nz/arcgis/rest/directories/arcgisoutput/Tools/DataUpdateCDC_GPServer/Tools_DataUpdateCDC/DataUpdateFromZip.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Update_Mode", "dataType": "GPString", "displayName": "Update Mode", "description": "- Existing Mode - Will only update datasets that have the same name and will delete and append records, so field names need to be the same. - New Mode - Copies all datasets from the geodatabase and loads into geodatabase. Requires no locks on geodatabase. ", "direction": "esriGPParameterDirectionInput", "defaultValue": "Existing", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Existing", "New" ] } ] }