<?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: Publish geoprocessing service with generic featureset schema? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231957#M6408</link>
    <description>&lt;P&gt;Did you realize that you can go to the AGS site folder where the geoprocessing script is published and update the script post publish?&lt;/P&gt;&lt;P&gt;I have several where the publishing process replaces variables to make them hardcoded; that I then went into and replaced them to make them actual variables and that worked great.&lt;/P&gt;&lt;P&gt;Take a look at the published script as a starting point.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 20:28:37 GMT</pubDate>
    <dc:creator>DEWright_CA</dc:creator>
    <dc:date>2022-11-15T20:28:37Z</dc:date>
    <item>
      <title>Publish geoprocessing service with generic featureset schema?</title>
      <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231006#M6405</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a geoprocessing tool that will work on any featureset I provide it in the tool window.&amp;nbsp; But when I publish the tool as service, the schema gets locked to the exact match of the features I used to run the tool for publishing.&amp;nbsp; Then it's not at all generic for the needs of the service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an 'empty schema' that can be used to run the tool for publishing or a way to tell the publisher to ignore the schema?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 22:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231006#M6405</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2022-11-11T22:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Publish geoprocessing service with generic featureset schema?</title>
      <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231904#M6406</link>
      <description>&lt;P&gt;Bit of follow up...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wasn't able to find a way to make the service publish without a default schema using a single value input parameter.&amp;nbsp; If you use a multi-value input parameter it appears to be less defined.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the key to using the service either way is to make sure to include the 'fields' object on the FeatureSet json.&amp;nbsp; &amp;nbsp;When the fields object is included, your schema follows thru as you'd expect.&amp;nbsp; If the fields object is NOT included in the json, then the 'default' schema is used --- which was what caused my original issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 18:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231904#M6406</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2022-11-15T18:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Publish geoprocessing service with generic featureset schema?</title>
      <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231957#M6408</link>
      <description>&lt;P&gt;Did you realize that you can go to the AGS site folder where the geoprocessing script is published and update the script post publish?&lt;/P&gt;&lt;P&gt;I have several where the publishing process replaces variables to make them hardcoded; that I then went into and replaced them to make them actual variables and that worked great.&lt;/P&gt;&lt;P&gt;Take a look at the published script as a starting point.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 20:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1231957#M6408</guid>
      <dc:creator>DEWright_CA</dc:creator>
      <dc:date>2022-11-15T20:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Publish geoprocessing service with generic featureset schema?</title>
      <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1232530#M6411</link>
      <description>&lt;P&gt;Thanks DEWright_CA.&amp;nbsp; Yes been there done that, this appears to be more in the compiled tbx that's produced for the service rather than the python I can manipulate.&amp;nbsp; The data/schema is already modify by the time the script receives it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 23:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1232530#M6411</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2022-11-16T23:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Publish geoprocessing service with generic featureset schema?</title>
      <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1234183#M6419</link>
      <description>&lt;P&gt;Hi zain909,&amp;nbsp;&lt;/P&gt;&lt;P&gt;see my notes above.&amp;nbsp; the default schema will ONLY be used if the incoming json doesn't have a 'fields' property.&amp;nbsp; if the json has a fields, the service will correctly use them.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 17:06:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1234183#M6419</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2022-11-22T17:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Publish geoprocessing service with generic featureset schema?</title>
      <link>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1419251#M7029</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11168"&gt;@FredSpataro&lt;/a&gt;&amp;nbsp; I've similar issue described here &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/publish-arcmap-geoprocessing-service-with-arcgis/m-p/1419193#M82804" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/publish-arcmap-geoprocessing-service-with-arcgis/m-p/1419193#M82804&lt;/A&gt; but is not clear for me where i must use or not 'fields' property.&lt;BR /&gt;&lt;BR /&gt;Your suggestione is really appreciate.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Damiano&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 12:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/publish-geoprocessing-service-with-generic/m-p/1419251#M7029</guid>
      <dc:creator>DamianoMontrasio</dc:creator>
      <dc:date>2024-05-06T12:38:12Z</dc:date>
    </item>
  </channel>
</rss>

