<?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 Unknow fields of layer for geoprocess in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unknow-fields-of-layer-for-geoprocess/m-p/1194379#M78006</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I would like to create a script/tool ​​that will be used in web (geoprocess)&lt;/P&gt;&lt;P&gt;The idea is simple: Input is a layer (not fixed, so technically the fields layers can be different)&lt;BR /&gt;How can I do so that my tool can receive any layer, with different fields ?&lt;/P&gt;&lt;P&gt;Currently, by doing Share As of the Geoprocess Result, the Fields remain fixed according to the Layer that I used for the example..&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 12:24:51 GMT</pubDate>
    <dc:creator>AvixiSeb</dc:creator>
    <dc:date>2022-07-21T12:24:51Z</dc:date>
    <item>
      <title>Unknow fields of layer for geoprocess</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unknow-fields-of-layer-for-geoprocess/m-p/1194379#M78006</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I would like to create a script/tool ​​that will be used in web (geoprocess)&lt;/P&gt;&lt;P&gt;The idea is simple: Input is a layer (not fixed, so technically the fields layers can be different)&lt;BR /&gt;How can I do so that my tool can receive any layer, with different fields ?&lt;/P&gt;&lt;P&gt;Currently, by doing Share As of the Geoprocess Result, the Fields remain fixed according to the Layer that I used for the example..&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 12:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unknow-fields-of-layer-for-geoprocess/m-p/1194379#M78006</guid>
      <dc:creator>AvixiSeb</dc:creator>
      <dc:date>2022-07-21T12:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unknow fields of layer for geoprocess</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unknow-fields-of-layer-for-geoprocess/m-p/1194804#M78013</link>
      <description>&lt;P&gt;Hi, do I understand correctly that you are creating python geoprocessing tool?&lt;/P&gt;&lt;P&gt;If yes, you can use ListFields to get list of fields of any recieved layer.&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listfields.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listfields.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It mainly depends on what do you want to do with this information.&lt;/P&gt;&lt;P&gt;If you need to receive a layer from JavaScript for this tool, the input type (in toolbox script) should be Feature Set. Is this what you are looking for?&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 07:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unknow-fields-of-layer-for-geoprocess/m-p/1194804#M78013</guid>
      <dc:creator>MartinPorteš</dc:creator>
      <dc:date>2022-07-22T07:20:30Z</dc:date>
    </item>
  </channel>
</rss>

