<?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: Convert Model (from Model Builder) to Web Page in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777093#M3404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have ArcGIS Server, you could publish your model as a Geoprocessing Service, and then use &lt;A href="http://doc.arcgis.com/en/web-appbuilder/"&gt;Web AppBuilder&lt;/A&gt; to create an application that uses this service.&amp;nbsp; The police department could then access the application and use the GP service to upload the shapefile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 13:10:19 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2015-03-19T13:10:19Z</dc:date>
    <item>
      <title>Convert Model (from Model Builder) to Web Page</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777092#M3403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I work with our local police department to update the Sex Offender web map on a (fairly) monthly basis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The Officer responsible for maintaining this data updates the Shapefile of Offenders&lt;/LI&gt;&lt;LI&gt;They save it to a specified folder and open a service ticket requesting the map be updated&lt;/LI&gt;&lt;LI&gt;The service ticket arrives in my e-mail&lt;/LI&gt;&lt;LI&gt;I double click the MODEL I built in Model Builder&lt;/LI&gt;&lt;LI&gt;The Model asks for the location and name of the updated Shapefile&lt;/LI&gt;&lt;LI&gt;I copy-n-paste the URL from my Ticket to the Model&lt;/LI&gt;&lt;LI&gt;It truncates the current Offender SDE database table&lt;/LI&gt;&lt;LI&gt;It appends the new Shapefile to the SDE database table&lt;/LI&gt;&lt;LI&gt;I close the ticket and am done&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would LIKE to do and just don't know where to start with this is... take my model and convert it to a Python script. Then SOMEHOW (and this is where my question comes in) offer a web-front / web-form where the officer INSTEAD of opening a Service Ticket, just opens a web page... pastes the URL to the updated Shapefile (or uploads the Shapefile?)... and hits DONE and it runs my script using that URL to the Shapefile (or the uploaded Shapefile) and updates the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the database is updated the updates propagate smoothly to the web map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone done anything like this already? Convert a Model to a Web Form?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 12:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777092#M3403</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2015-03-19T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Model (from Model Builder) to Web Page</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777093#M3404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have ArcGIS Server, you could publish your model as a Geoprocessing Service, and then use &lt;A href="http://doc.arcgis.com/en/web-appbuilder/"&gt;Web AppBuilder&lt;/A&gt; to create an application that uses this service.&amp;nbsp; The police department could then access the application and use the GP service to upload the shapefile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 13:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777093#M3404</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-03-19T13:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Model (from Model Builder) to Web Page</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777094#M3405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have a single model parameter. It is the UNC path to a folder where the officer saves out his shapefiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\\servername\folder\folder\sexoffenders\shapefilename.shp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other parameter is the server with the current data which get's truncated in order to be ready to be populated by the newly updated data. I keep getting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to execute. Parameters are not valid.&lt;/P&gt;&lt;P&gt;ERROR 000735: Server : Value is required.&lt;/P&gt;&lt;P&gt;Failed to execute (UploadServiceDefinition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 19:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777094#M3405</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2015-03-19T19:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Model (from Model Builder) to Web Page</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777095#M3406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting one parameter for your model.&amp;nbsp; This will be for the input shapefile.&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Export Graphic.png" class="image-1 jive-image" src="/legacyfs/online/76008_Export Graphic.png" style="width: 620px; height: 382px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and close the model.&amp;nbsp; Then, run the model and specify an input shapefile.&amp;nbsp; After the model completes, go to the Results window &amp;gt; right-click on the tool &amp;gt; Share as Geoprocessing Service.&amp;nbsp; After the tool publishes, try running the tool as a GP Service in ArcMap to make sure it is working correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 11:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/convert-model-from-model-builder-to-web-page/m-p/777095#M3406</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-03-20T11:36:43Z</dc:date>
    </item>
  </channel>
</rss>

