<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Integrating ArcGIS Server, SQL Server, JavaScript API and Python/ArcPy in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47976#M1697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good clarification, Lloyd, thanks. Regarding your question about calling&lt;/P&gt;&lt;P&gt;Python scripts from a map service, check out this GIS StackExchange link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;http://gis.stackexchange.com/questions/137206/how-to-run-a-python-script-on-the-server-returning-the-results-to-the-client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rudy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 16:46:46 GMT</pubDate>
    <dc:creator>Rudy_Stricklan</dc:creator>
    <dc:date>2017-01-04T16:46:46Z</dc:date>
    <item>
      <title>Integrating ArcGIS Server, SQL Server, JavaScript API and Python/ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47973#M1694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been creating web maps from services hosted on our ArcGIS server using the JavaScript API. My company wants to expand the capabilities of our website. We produce daily and weekly weather analysis reports (charts and PowerPoint PDFs) for weather stations, lat/lon points, and for countries and regions. We currently produce these reports from Python scripts that query&amp;nbsp;our SQL databases and create Excel charts and/or PowerPoint presentations. These scripts incorporate ArcPy tools and models. The reports and charts are then attached to points or polygons&amp;nbsp;in ArcMap and published as map services on our server. This is all automated, but it happens behind the scenes.&amp;nbsp;&lt;SPAN&gt;We would like our clients to have the ability to create these reports dynamically from the website. For example, the user enters lat/lon coordinates or a location, or clicks on a country, and a report is generated on the fly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've created SQL db connections in ArcMap and registered these databases on the ArcGIS server. I'm not sure how to take the next steps. Should I use PHP within my HTML/JavaScript documents to call our Python scripts that access the databases and create reports? I've seen examples of query layers on the JavaScript API reference, but I can't find any example workflows for what I'm trying to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 16:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47973#M1694</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-01-03T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating ArcGIS Server, SQL Server, JavaScript API and Python/ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47974#M1695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this isn't the kind of answer that you are looking for, but something to be aware of in offering for-fee services using ArcGIS Server is prohibited unless you have a "Commercial ASP Use License" (as referred to in the 9/22/2016 version of the &lt;A href="http://www.esri.com/legal/pdfs/mla_e204_e300/english"&gt;Esri License and Services Agreement&lt;/A&gt;, section 2.2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-indent: -24px; font-size: 13.3333px;"&gt;a.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-indent: -24px; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-indent: -24px; font-size: 13.3333px;"&gt;Customer may:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-indent: -24px; font-size: 13.3333px;"&gt;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-indent: -24px; font-size: 13.3333px;"&gt;6. Use server Software for Commercial ASP Use &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;if Customer has procured a Commercial ASP Use license&lt;/STRONG&gt;&lt;/SPAN&gt; or is a governmental or not-for-profit organization that operates a website or offers an Internet service on a cost-recovery basis and not for profit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I'm painfully aware of this is that I have a client who&amp;nbsp;was offering for-fee PDF reports from a ArcGIS Server-hosted Web Application Builder application, without the requisite ArcGIS $$$erver&amp;nbsp;&lt;SPAN&gt;Commercial ASP Use License, and had to do some backtracking. Granted, it's rare to be detected but the point is that you can use ArcGIS software internally to make money for your company, but you can't offer to rent it out, as it were. Just a word of caution in your enterprise. If I'm jumping in unadvisedly, I apologize.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Having said all that, it is straightforward to create a WAB that&amp;nbsp;produces formatted reports from a geoprocessing script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 18:22:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47974#M1695</guid>
      <dc:creator>Rudy_Stricklan</dc:creator>
      <dc:date>2017-01-03T18:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating ArcGIS Server, SQL Server, JavaScript API and Python/ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47975#M1696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not something we will be selling at first. I said clients, but the end users will be part of our organization for the time being. Down the road we will offer these products publicly and we will make sure that we have the proper licenses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify, this won't be a WAB as we don't have an AGS account. This is strictly ArcGIS Server with JavaScript API maps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to&amp;nbsp;figure out how to run&amp;nbsp;external&amp;nbsp;Python and Visual Basic scripts from a click event in a map service. The Python script extracts raster data using ArcPy and converts it to csv. A&amp;nbsp;VB script then creates a chart from this csv data in Excel. I know that this can be done with PHP, but I'm unsure of how to integrate this process in the map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47975#M1696</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-01-03T20:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating ArcGIS Server, SQL Server, JavaScript API and Python/ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47976#M1697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good clarification, Lloyd, thanks. Regarding your question about calling&lt;/P&gt;&lt;P&gt;Python scripts from a map service, check out this GIS StackExchange link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;http://gis.stackexchange.com/questions/137206/how-to-run-a-python-script-on-the-server-returning-the-results-to-the-client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rudy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 16:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47976#M1697</guid>
      <dc:creator>Rudy_Stricklan</dc:creator>
      <dc:date>2017-01-04T16:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating ArcGIS Server, SQL Server, JavaScript API and Python/ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47977#M1698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rudy. I should probably jump over to the JavaScript API forum from here on out.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 20:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/integrating-arcgis-server-sql-server-javascript/m-p/47977#M1698</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-01-04T20:29:47Z</dc:date>
    </item>
  </channel>
</rss>

