{ "name": "AuthGP", "displayName": "AuthGP", "description": "This tool is meant to be used as a geoprocessing service for accompanying ArcGIS Web AppBuilder widget. The geoprocessing service is used to send emails to users who are signing up, and registered users with a link to launch the application.", "category": "", "helpUrl": "https://gis.nola.gov/arcgis/rest/directories/arcgisoutput/Geoprocessing/AdoptaAuthGP_GPServer/Geoprocessing_AdoptaAuthGP/AuthGP.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "Input_user_email", "dataType": "GPString", "displayName": "Input user email", "description": "Input email address", "direction": "esriGPParameterDirectionInput", "defaultValue": "jbraasch@yahoo.com", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Action", "dataType": "GPString", "displayName": "Action", "description": "Action = login for registered users.Action = signup for new users.Action = validate to verify if usertoken is validAction = teams to get list of unique team namesPublishing notes:Select action = signup, and please ensure you provide a valid input email address that does not already exist in the table.Action = login, action = validate and action = teams, is intended to be used by the widget that supplies the widget configuration, userid and usertoken", "direction": "esriGPParameterDirectionInput", "defaultValue": "Signup", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Login", "Signup", "Validate", "Teams" ] }, { "name": "App_URL", "dataType": "GPString", "displayName": "App URL", "description": "Provide URL to the deployed application. Example: http://server.domain.com/<virtual directory of app>", "direction": "esriGPParameterDirectionInput", "defaultValue": "https://catchbasin.nola.gov", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Signup_fields", "dataType": "GPString", "displayName": "Signup fields", "description": "Publishing notes: Please leave empty while publishingThis parameter is supplied by the app using this geoprocessing service in this format: { 'fieldname': 'value', 'fieldname': 'value' }This parameter is used by this tool to populate additional fields in user table as configured in the widget", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Asset_popup_configuration", "dataType": "GPString", "displayName": "Asset popup configuration", "description": "Publishing notes: Please leave empty while publishingThis parameter is supplied by the app using this geoprocessing service This parameter is used by this tool to prepare the list of adopted assets in login emails", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Widget_configuration", "dataType": "GPString", "displayName": "Widget configuration", "description": "Publishing notes: Please leave empty while publishingThis parameter is supplied by the app using this geoprocessing serviceThis parameter is used by this tool to prepare the html table of adopted assets containing action links to assets", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Adopted_assetid", "dataType": "GPLong", "displayName": "Adopted assetid", "description": "Publishing notes: Please leave empty while publishingThis parameter is supplied by the app to generate the login link for users who tried to adopt before signing up", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Userid", "dataType": "GPString", "displayName": "Userid", "description": "Publishing notes: Please leave empty while publishingThis parameter is supplied by the app using this geoprocessing serviceUsed when action = validate, to verify the identity of users", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Usertoken", "dataType": "GPString", "displayName": "Usertoken", "description": "Publishing notes: Please leave empty while publishingThis parameter is supplied by the app using this geoprocessing serviceUsed when action = validate, to verify the validity of user tokens", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Result", "dataType": "GPString", "displayName": "Result", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }