<?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 Choose between Parameters in WebApplication? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/choose-between-parameters-in-webapplication/m-p/43206#M1553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i want to set up a web application, which creates schematic diagrams using a geoprocessing service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Model / Tool is already finished and works fine for ArcGIS Desktop. After that I installed ArcGIS Server 10 (.NET-Framework) and published the Model as a Geoprocessing Service. Finally i created a Standard ArcGIS Server Web Application, which uses the GP-Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the Model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i choose a static Shapefile in the Model for the Input, in the ArcGIS Web Application I get a "Submit"-Button and when i click it, he creates the Diagram.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i don`t want to put a static Shapefile there. I would prefer that the user can choose between several Shapefiles. So i changed the Shapefile (the Input-File) to an Input Parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i run the Tool in ArcGIS Desktop, the User can choose an own shapefile now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So i uploaded this new GP-Tool to the server, but when i want to start it, the attached error (8.PNG) occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like that the user either can upload an own shapefile or choose one shapefile out of a list - is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This whole task uses the Web Application of ArcGIS Server 10 ServicePack 2. But later i want to create an own Web Application with JavaScript, which uses the same GP-Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2011 10:01:12 GMT</pubDate>
    <dc:creator>Stefan_Arndt</dc:creator>
    <dc:date>2011-05-04T10:01:12Z</dc:date>
    <item>
      <title>Choose between Parameters in WebApplication?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/choose-between-parameters-in-webapplication/m-p/43206#M1553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i want to set up a web application, which creates schematic diagrams using a geoprocessing service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Model / Tool is already finished and works fine for ArcGIS Desktop. After that I installed ArcGIS Server 10 (.NET-Framework) and published the Model as a Geoprocessing Service. Finally i created a Standard ArcGIS Server Web Application, which uses the GP-Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the Model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i choose a static Shapefile in the Model for the Input, in the ArcGIS Web Application I get a "Submit"-Button and when i click it, he creates the Diagram.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i don`t want to put a static Shapefile there. I would prefer that the user can choose between several Shapefiles. So i changed the Shapefile (the Input-File) to an Input Parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i run the Tool in ArcGIS Desktop, the User can choose an own shapefile now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So i uploaded this new GP-Tool to the server, but when i want to start it, the attached error (8.PNG) occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like that the user either can upload an own shapefile or choose one shapefile out of a list - is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This whole task uses the Web Application of ArcGIS Server 10 ServicePack 2. But later i want to create an own Web Application with JavaScript, which uses the same GP-Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 10:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/choose-between-parameters-in-webapplication/m-p/43206#M1553</guid>
      <dc:creator>Stefan_Arndt</dc:creator>
      <dc:date>2011-05-04T10:01:12Z</dc:date>
    </item>
  </channel>
</rss>

