-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathServiceNow.ServiceNowLocationLoader.pyt.xml
3 lines (3 loc) · 7.17 KB
/
ServiceNow.ServiceNowLocationLoader.pyt.xml
1
2
3
<?xml version="1.0"?>
<metadata xml:lang="en"><Esri><CreaDate>20190416</CreaDate><CreaTime>16472200</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20190423</ModDate><ModTime>18120000</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange></Esri><tool name="ServiceNowLocationLoader" displayname="ServiceNow Location Loader" toolboxalias="ServiceNow" xmlns=""><arcToolboxHelpPath>c:\program files\arcgis\pro\Resources\Help\gp</arcToolboxHelpPath><parameters><param name="in_facility_layer" displayname="Input Facilities Layer" type="Required" direction="Input" datatype="Feature Layer" expression="in_facility_layer"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Facilities Layer of the ArcGIS Indoors Information Model.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Facilities Layer of the ArcGIS Indoors Information Model.</SPAN></P><P><SPAN /></P></DIV></DIV></DIV></pythonReference></param><param name="in_level_layer" displayname="Input Levels Layer" type="Required" direction="Input" datatype="Feature Layer" expression="in_level_layer"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Levels Layer of the ArcGIS Indoors Information Model.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Levels Layer of the ArcGIS Indoors Information Model.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="in_unit_layer" displayname="Input Units Layer" type="Required" direction="Input" datatype="Feature Layer" expression="in_unit_layer"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Units Layer of the ArcGIS Indoors Information Model.</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Units Layer of the ArcGIS Indoors Information Model.</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="keepDuplicates" displayname="Keep Duplicate Values" type="Optional" direction="Input" datatype="Boolean" expression="{NO_DUPLICATE_VALUES | KEEP_DUPLICATE_VALUES}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Specifies whether to load duplicate locations in ServiceNow location model or overwrite existing locations</SPAN></P><P STYLE="text-indent:20;"><SPAN>Checked - Duplicates are loaded if location already exists in ServiceNow</SPAN></P><P STYLE="text-indent:20;"><SPAN>Unchecked - Updates the location if already exists in ServiceNow</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Specifies whether to load duplicate locations in ServiceNow location model or overwrite existing locations</SPAN></P><P STYLE="text-indent:20;"><SPAN>Checked - Duplicates are loaded if location already exists in ServiceNow</SPAN></P><P STYLE="text-indent:20;"><SPAN>Unchecked - Updates the location if already exists in ServiceNow</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="in_servicenow_url" displayname="ServiceNow Rest URL" type="Required" direction="Input" datatype="String" expression="in_servicenow_url"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>URL of the ServiceNow REST API endpoint</SPAN></P></DIV></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>URL of the ServiceNow REST API endpoint</SPAN></P></DIV></DIV></DIV></pythonReference></param><param name="in_username" displayname="ServiceNow Username" type="Optional" direction="Input" datatype="String" expression="{in_username}"><dialogReference><DIV STYLE="text-align:Left;"><P><SPAN>Login User ID as required by ServiceNow Rest endpoint</SPAN></P></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Login User ID as required by ServiceNow Rest endpoint</SPAN></P></DIV></DIV></pythonReference></param><param name="in_password" displayname="ServiceNow Password" type="Optional" direction="Input" datatype="String Hidden" expression="{in_password}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Login Password as required by ServiceNow Rest endoint</SPAN></P></DIV></DIV></dialogReference><pythonReference><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Login Password as required by ServiceNow Rest endoint</SPAN></P></DIV></DIV></pythonReference></param></parameters><summary><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>&lt;P&gt;Loads ServiceNow location model with coordinate locations for each Facility, all Levels for each Facility and all Units for each Level and models the hierarchy relationship between the Units, Levels and Facilities&lt;/P&gt;</SPAN></P></DIV></DIV></DIV></summary><usage><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>&lt;LI&gt;&lt;P&gt;The tool accepts Facilities, Levels and Units Layer as input&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The user accessing the supplied ServiceNow rest endpoint must have Read/Write privileges on ServiceNow cmn_location table&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The tools loads the ServiceNow location model with location name and coordinate information for the Units, Levels and Facilities&lt;/P&gt;&lt;/LI&gt;</SPAN></P></DIV></DIV></DIV></usage><scriptExamples><scriptExample><title>ServiceNow Location Loader sample</title><code>import arcpy
arcpy.ServiceNow.ServiceNowLocationLoader("Facilities", "Levels", "Units", "KEEP_DUPLICATE_VALUES", "https://servicenow-server.com/api/now/table/cmn_location", "userid", "*****")</code><para><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The following code sample demonstrates the usage of the tool to load data in ServiceNow location model with duplicates</SPAN></P></DIV></DIV></DIV></para></scriptExample></scriptExamples></tool><dataIdInfo><idCitation><resTitle>ServiceNow Location Loader</resTitle></idCitation></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv><mdDateSt Sync="TRUE">20190423</mdDateSt></metadata>