forked from Esri/crowdsource-reporter-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathServiceSupport.Emails.pyt.xml
2 lines (2 loc) · 11.5 KB
/
ServiceSupport.Emails.pyt.xml
1
2
<?xml version="1.0"?>
<metadata xml:lang="en"><Esri><CreaDate>20180116</CreaDate><CreaTime>12411700</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20180215</ModDate><ModTime>9520100</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange></Esri><tool name="Emails" displayname="Send Emails" 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 that will trigger emails to be sent.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Point, line, or polygon feature layer that will trigger emails to be sent.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="delete" displayname="Delete all existing email configurations for this layer" type="Optional" direction="Input" datatype="Boolean" expression="{delete}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Delete all email configurations for this layer.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Delete all email configurations for this layer.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="email_settings" displayname="Email Settings" type="Required" direction="Input" datatype="Value Table" expression="Email Template {SQL Query} {Recipient Email Address} {Email Subject} {Field to Update} {Sent Value};Email Template {SQL Query} {Recipient Email Address} {Email Subject} {Field to Update} {Sent Value}..."><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Emails will be sent in the order listed. For each email setting, provide the following information:</SPAN></P><P><SPAN>Email Template: HMTL template that defines the structure and content of the email. </SPAN></P><P><SPAN>SQL Query: SQL Query that defines which features will trigger this email to be sent. At a minimum, it is recommended that this query exclude features that have the indicated Sent Values. </SPAN></P><P><SPAN>Recipient Email Address: Either a static address to which the email should be sent, or the name of a field that contains the email address.</SPAN></P><P><SPAN>Email Subject: The subject line of the email.</SPAN></P><P><SPAN>Field to Update: This field will be updated with the provided Sent Value once this email has been attempted to be sent.</SPAN></P><P><SPAN>Sent Value: The value used to indicate when an attempt has been made to deliver this email. This value will be calculated even is an error occurs when sending the email, such as an invalid email address.</SPAN></P><P><SPAN /></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Emails will be sent in the order listed. For each email setting, provide the following information:</SPAN></P><P><SPAN>Email Template: HMTL template that defines the structure and content of the email. </SPAN></P><P><SPAN>SQL Query: SQL Query that defines which features will trigger this email to be sent. At a minimum, it is recommended that this query exclude features that have the indicated Sent Valus. </SPAN></P><P><SPAN>Recipient Email Address: Either a static address to which the email should be sent, or the name of a field that contains the email address.</SPAN></P><P><SPAN>Email Subject: The subject line of the email.</SPAN></P><P><SPAN>Field to Update: This field will be updated with the provided Sent Value once this email has been attempted to be sent.</SPAN></P><P><SPAN>Sent Value: The value used to indicate when an attempt has been made to deliver this email. This value will be calculated even is an error occurs when sendign the email, such as an invalid email address.</SPAN></P><P><SPAN /></P><P><SPAN /></P></DIV></DIV></DIV></pythonReference></param><param name="smtp_server" displayname="SMTP Server" type="Required" direction="Input" datatype="String" expression="smtp_server"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>URL of the SMTP server used for sending emails.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>URL of the SMTP server used for sending emails. </SPAN></P><P><SPAN /></P></DIV></DIV></DIV></pythonReference></param><param name="smtp_username" displayname="SMTP Username" type="Optional" direction="Input" datatype="String" expression="{smtp_username}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>The username required to authenticate to the SMTP server. This is not required if authenticating through a port.</SPAN></P></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>The username required to authenticate to the SMTP server. This is not required if authenticating through a port.</SPAN></P></DIV></DIV></pythonReference></param><param name="smtp_password" displayname="SMTP Password" type="Optional" direction="Input" datatype="String" expression="{smtp_password}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>The password required to authenticate to the SMTP server. This is not required if authenticating through a port.</SPAN></P></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>The password required to authenticate to the SMTP server. This is not required if authenticating through a port.</SPAN></P></DIV></DIV></pythonReference></param><param name="from_address" displayname="From Address" type="Optional" direction="Input" datatype="String" expression="{from_address}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>The address from which the emails should be sent.</SPAN></P></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>The address from which the emails should be sent.</SPAN></P></DIV><DIV><P><SPAN /></P></DIV></DIV></pythonReference></param><param name="reply_address" displayname="Reply Address" type="Optional" direction="Input" datatype="String" expression="{reply_address}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The address that should be used for any replies to the email message.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The address that should be used for any replies sto the email message.</SPAN></P><P><SPAN /></P></DIV></DIV></DIV></pythonReference></param><param name="use_tls" displayname="Use TLS" type="Optional" direction="Input" datatype="Boolean" expression="{use_tls}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Enable or disable TLS.</SPAN></P></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Enable or disable TLS.</SPAN></P></DIV><DIV><P><SPAN /></P></DIV></DIV></pythonReference></param><param name="substitutions" displayname="Email Substitutions" type="Optional" direction="Input" datatype="Value Table" expression="{Find {Replace};Find {Replace}...}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>To add attributes from the feature prompting the email to the body or subject of the message, specify text strings that appear in the body or subject and the field or text that should replace them. For example, to add the ID of a feature from the REQUESTID field to the email subject, include a piece of text such as {ID} in the configured Email Subject, and specify here that {ID} should be replaced with the value of the REQUESTID field. All specified substitutions are applied to both the email subject and the email body, for all emails configured for all layers.</SPAN></P></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>To add attributes from the feature prompting the email to the body or subject of the message, specify text strings that appear in the body or subject and the field or text that should replace them. For example, to add the ID of a feature from the REQUESTID field to the email subject, include a piece of text such as {ID} in the configured Email Subject, and specify here that {ID} should be replaced with the value of the REQUESTID field. All specified substitutions are applied to both the email subject and the email body, for all emails configured for all layers.</SPAN></P></DIV><DIV><P><SPAN /></P></DIV></DIV></pythonReference></param></parameters><summary><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Send emails based on the attributes of features and table records in ArcGIS Online or Portal-managed layers. These emails can be triggered based on user-provided attributes, or attributes calculated by other tools, such as the Enrich Reports and Moderate Reports tools and can be internal to your organization, or used as a way to acknoledge receipt of a report.</SPAN></P></DIV></DIV></DIV></summary><usage><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Trigger emails to be sent to either a static email address or one included as an attribute. Emails can be send based on specific attributes by specifying an SQL query that selects only the features for which an email should be sent. </SPAN></P><P><SPAN>The contents of the email body can be built in an HTML template, and both the email body and the email subject support including attribute values from the feature or record that is generating the email.</SPAN></P></DIV></DIV></DIV></usage></tool><dataIdInfo><idCitation><resTitle>Send Emails</resTitle></idCitation><idCredit>Esri., Inc.</idCredit><searchKeys><keyword>email; notification</keyword></searchKeys></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv><mdDateSt Sync="TRUE">20180215</mdDateSt></metadata>