-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathServiceSupport.Moderate.pyt.xml
2 lines (2 loc) · 12.8 KB
/
ServiceSupport.Moderate.pyt.xml
1
2
<?xml version="1.0"?>
<metadata xml:lang="en"><Esri><CreaDate>20180116</CreaDate><CreaTime>12411300</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20180215</ModDate><ModTime>9484300</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange></Esri><tool name="Moderate" displayname="Moderate Reports" toolboxalias="" xmlns=""><arcToolboxHelpPath>c:\program files\arcgis\pro\Resources\Help\gp</arcToolboxHelpPath><parameters><param name="layer" displayname="Layer" type="Required" direction="Input" datatype="Table or Feature Layer or Table View" expression="layer"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Point, line, or polygon feature layer to be moderated.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Point, line, or polygon feature layer to be moderated.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="add_update" displayname="Add new or update existing configuration" type="Required" direction="Input" datatype="String" expression="Add New"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Choose to add a new moderation configuration to this layer, or to edit an existing configuration.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Choose to add a new moderation configuration to this layer, or to edit an existing configuration.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="delete" displayname="Delete existing configuration for this layer" type="Optional" direction="Input" datatype="Boolean" expression="{delete}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>When checked, the selected moderation configuration will be deleted for the currently selected layer.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>When checked, the selected moderation configuration will be deleted for the currently selected layer.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="modlist" displayname="Moderation List" type="Required" direction="Input" datatype="String" expression="list 1"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Choose the moderation list to use for this layer. Moderation lists can be shared accross many layers, and each layer can have multiple lists configured but they must configured individually. These moderation lists must be specified in the General Moderation Settings section of the tool.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Choose the moderation list to use for this layer. Moderation lists can be shared accross many layers, and each layer can have multiple lists configured but they must configured individually. These moderation lists must be specified in the General Moderation Settings section of the tool.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="mod_fields" displayname="Fields to Monitor" type="Required" direction="Input" datatype="Multiple Value" expression="mod_fields;mod_fields..."><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Select the fields that will be monitored for content that matches the words and phrases from the specified moderation list.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Select the fields that will be monitored for content that matches the words and phrases from the specified moderation list.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="sql" displayname="SQL Query" type="Optional" direction="Input" datatype="String" expression="{sql}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>SQL statement used to select the features that will be moderated. If no SQL statement is provided, all features will be processed every time the script runs. </SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>SQL statement used to select the features that will be moderated. If no SQL statement is provided, all features will be processed every time the script runs.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="update_field" displayname="Field to Update" type="Required" direction="Input" datatype="Field" expression="update_field"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Field that will be updated when a feature is found that contains at least one of the words or phrases in the moderation list.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Field that will be updated when a feature is found that contains at least one of the words or phrases in the moderation list.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="found_value" displayname="Found Value" type="Required" direction="Input" datatype="Field" expression="found_value"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Value that will be calculated for the specified field when a feature is found that contains at least one of the words or phrases in the moderation list.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>a feature is found that contains at least one of the words or phrases in the moderation list.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="modlists" displayname="Moderation Lists" type="Required" direction="Input" datatype="Value Table" expression="List Name {Filter Type} {Words and Phrases};List Name {Filter Type} {Words and Phrases}..."><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>For each moderation list, provide the following information:</SPAN></P><P><SPAN>List Name: Assign a name to the moderation list. This value will appear in the drop-down menu for selecting the moderation list use when scanning each layer.</SPAN></P><P><SPAN>Filter Type: Choose to scan feature for words and phrases that exactly match the provided list of works and phrases. For example, when the filter type is EXACT, if the list contains the word 'duck' the script will update the specified field when the feature contains the word 'duck', but not when it contains the word 'duckling'. When the filter type is FUZZY, the script will update the feature when either 'duck' or 'duckling' are found.</SPAN></P><P><SPAN>Words and Phrases: Provide a comma-seperated list of words or phrases to scan for.</SPAN></P><P><SPAN /></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>For each moderation list, provide the following information:</SPAN></P><P><SPAN>List Name: Assign a name to the moderation list. This value will appear in the drop-down menu for selecting the moderation list use when scanning each layer.</SPAN></P><P><SPAN>Filter Type: Choose to scan feature for words and phrases that exactly match the provided list of works and phrases. For example, when the filter type is EXACT, if the list contains the word 'duck' the script will update the specified field when the feature contains the word 'duck', but not when it contains the word 'duckling'. When the filter type is FUZZY, the script will update the feature when either 'duck' or 'duckling' are found.</SPAN></P><P><SPAN>Words and Phrases: Provide a comma-seperated list of words or phrases to scan for. This list is case-insensitive.</SPAN></P><P><SPAN /></P><P><SPAN /></P></DIV></DIV></DIV></pythonReference></param><param name="charsubs" displayname="Character Substitutions" type="Optional" direction="Input" datatype="Value Table" expression="{Letter {Substitutions};Letter {Substitutions}...}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Some characters are frequently substituted for others in an attempt to get around moderation filters, such as using @ instead of the letter 'a'. To take these substitutions into consideration, list each letter and the equivalent characters for that letter. This list is case-insensitive. List all substitutions for each letter on a single line, without seperators. For example, for the letter 'a', including '@&amp;' in the substitutions space will test for the letter 'a' in place of any @ or &amp; signs found, in order to match the word against the contents of the words and phrases list. This comparison takes place for both EXACT and FUZZY filter types.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Some characters are frequently substituted for others in an attempt to get around moderation filters, such as using @ instead of the letter 'a'. To take these substitutions into consideration, list each letter and the equivalent characters for that letter. This list is case-insensitive. List all substitutions for each letter on a single line, without seperators. For example, for the letter 'a', including '@&amp;' in the substitutions space will test for the letter 'a' in place of any @ or &amp; signs found, in order to match the word against the contents of the words and phrases list. This comparison takes place for both EXACT and FUZZY filter types.</SPAN></P></DIV></DIV></DIV></pythonReference></param></parameters><summary><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Moderate features ro table records by updating the value of a field if a word or phrase is found in another field. </SPAN></P></DIV></DIV></DIV></summary><usage><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>This can be used in the traditional sense of moderation - to flag features and records that contain inappropriate or sensitive content. Public-facing web maps displaying these features can then be configured to hide these reports - at least until they can be reviewed by a person to confirm that they should be hidden. </SPAN></P><P><SPAN>This tool can also be used to identify key words or phrases that can be used to automatically set priority or assign reports. For example, this script can be paired up with the Enrich Reports and Send Emails tools. If a report is submitted within a specific juristiction containing specific key words, for example, an unplowed street where the description contains the words 'critical' or 'hazardous', these moderation capabilities could update the Priority attribute to High and trigger an email notification to the necessary parties to get the issue reviewed and, if necessary, resolved quickly.</SPAN></P><P><SPAN>View, update, or delete moderation configurations for any layer by selecting the layer in the tool and choosing an existing configuration from the list.</SPAN></P><P><SPAN>Removing or editing Moderation Lists and Character Substitutions should be done very carefully as this will impact any layers that are currently using these values. </SPAN></P></DIV></DIV></DIV></usage></tool><dataIdInfo><idCitation><resTitle>Moderate Reports</resTitle></idCitation><idCredit>Esri., Inc.</idCredit><searchKeys><keyword>moderation</keyword><keyword>calculate</keyword></searchKeys></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv><mdDateSt Sync="TRUE">20180215</mdDateSt></metadata>