{ "name": "TableToDomain", "displayName": "Table To Domain", "description": "Geoprocessing tool that creates or updates a coded value domain with values from a table.", "category": "", "helpUrl": "http://webgis2.ar-tel.it/arcgis/rest/directories/arcgisoutput/TableToDomain_GPServer/TableToDomain/TableToDomain.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "in_table", "dataType": "GPRecordSet", "displayName": "Input Table", "description": "The database table from which to derive domain values.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "fields": [ { "name": "tpo_cont", "type": "esriFieldTypeInteger", "alias": "tpo_cont" }, { "name": "tpo_id", "type": "esriFieldTypeString", "alias": "tpo_id", "length": 10 }, { "name": "tpo_descr", "type": "esriFieldTypeString", "alias": "tpo_descr", "length": 100 }, { "name": "tpo_codifica", "type": "esriFieldTypeString", "alias": "tpo_codifica", "length": 5 }, { "name": "tpo_scadenza", "type": "esriFieldTypeInteger", "alias": "tpo_scadenza" }, { "name": "ObjectId", "type": "esriFieldTypeOID", "alias": "ObjectId" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "code_field", "dataType": "GPString", "displayName": "Code Field", "description": "The field in the database table from which to derive domain code values.", "direction": "esriGPParameterDirectionInput", "defaultValue": "tpo_id", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "tpo_cont", "tpo_id", "tpo_descr", "tpo_codifica", "tpo_scadenza" ] }, { "name": "description_field", "dataType": "GPString", "displayName": "Description Field ", "description": "The field in the database table from which to derive domain description values.", "direction": "esriGPParameterDirectionInput", "defaultValue": "tpo_descr", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "tpo_cont", "tpo_id", "tpo_descr", "tpo_codifica", "tpo_scadenza" ] }, { "name": "domain_name", "dataType": "GPString", "displayName": "Domain Name", "description": "The name of the domain to be created or updated.", "direction": "esriGPParameterDirectionInput", "defaultValue": "tpo_id", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "domain_description", "dataType": "GPString", "displayName": "Domain Description", "description": "The description of the domain to be created or updated. Domain descriptions of existing domains are not updated.", "direction": "esriGPParameterDirectionInput", "defaultValue": "tpo_descr", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "update_option", "dataType": "GPString", "displayName": "Update Option", "description": "If the domain already exists, specifies how the domain will be updated.APPEND\u2014Appends to the domain values from the database table. REPLACE\u2014Replaces the values in the domain with values from the database table.", "direction": "esriGPParameterDirectionInput", "defaultValue": "APPEND", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "APPEND", "REPLACE" ] } ] }