<?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: Can we start a Python script from a widget. in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-we-start-a-python-script-from-a-widget/m-p/771845#M1735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No python is a server script that has file system access and can not run on a client web application locally. The only way you can get Python code to run in a widget is to publish a Geoprocessor service that calls the Python script to your server and then access that GP service from your widget or the WAB GP widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2019 17:47:20 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-01-07T17:47:20Z</dc:date>
    <item>
      <title>Can we start a Python script from a widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-we-start-a-python-script-from-a-widget/m-p/771844#M1734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we start a Python script from a widget on a button Click.&lt;/P&gt;&lt;P&gt;Say I will have a button and Textbox for location of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw an earlier post on this in the community, but&amp;nbsp;there was not satisfactory answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: our python script is reading attributes data and writing excel files&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Muralidhar Moka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-we-start-a-python-script-from-a-widget/m-p/771844#M1734</guid>
      <dc:creator>MuralidharMoka</dc:creator>
      <dc:date>2019-01-07T17:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can we start a Python script from a widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-we-start-a-python-script-from-a-widget/m-p/771845#M1735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No python is a server script that has file system access and can not run on a client web application locally. The only way you can get Python code to run in a widget is to publish a Geoprocessor service that calls the Python script to your server and then access that GP service from your widget or the WAB GP widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-we-start-a-python-script-from-a-widget/m-p/771845#M1735</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-01-07T17:47:20Z</dc:date>
    </item>
  </channel>
</rss>

