<?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: Setting fields for regular exports in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162434#M53813</link>
    <description>&lt;P&gt;Thanks for that. Sorry to ask a very basic question, but how do I actually run the python snippet, and can I edit it first? Although I will want to use the same fields, and the same underlying database, I'll want to export to different places each time. I tried 'load', but that seems to be a query, not a script. Ta&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2022 08:32:57 GMT</pubDate>
    <dc:creator>SimonCrutchley</dc:creator>
    <dc:date>2022-04-08T08:32:57Z</dc:date>
    <item>
      <title>Setting fields for regular exports</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162139#M53781</link>
      <description>&lt;P&gt;I'm wondering if there is a way to save the export fields to make life easier when regularly exporting a subset of a dataset. My situation is this; I have a pretty massive dataset (c400,000 features), which, because of the need to create various links in pop-ups within AGOL has over 150 fields. Academics and other customers want to use this data, and as a publicly funded body we need to provide it, but obviously they don't need all the additional fields as they're not creating pop-ups. As a result, when I provide this data I need to select the 'Fields' option in the Export and delete c130 unnecessary fields. This is pointless and time-consuming, so I wondered if there's a way to save a template, or some such, so that when I want to export this dataset I don't need to do this multiple times. I've looked at Definition queries etc but they don't seem to help. I realise that I could always save a 'stripped down' version of the dataset, but at 400,000 features this would still be rather large and seems like an unnecessary duplication, if there is another way around the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 15:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162139#M53781</guid>
      <dc:creator>SimonCrutchley</dc:creator>
      <dc:date>2022-04-07T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting fields for regular exports</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162317#M53800</link>
      <description>&lt;P&gt;If it's always the same fields, open the project you last Exported and deleted the c130 unnecessary fields, go to the History tab, right click the Export and copy to python script.&lt;/P&gt;&lt;P&gt;Now you have a one liner already set up to exclude the fields when you export, just run the python snippet.&lt;/P&gt;&lt;P&gt;could also make a model and save it so you only have to set it up once.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 21:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162317#M53800</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-04-07T21:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting fields for regular exports</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162434#M53813</link>
      <description>&lt;P&gt;Thanks for that. Sorry to ask a very basic question, but how do I actually run the python snippet, and can I edit it first? Although I will want to use the same fields, and the same underlying database, I'll want to export to different places each time. I tried 'load', but that seems to be a query, not a script. Ta&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:32:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162434#M53813</guid>
      <dc:creator>SimonCrutchley</dc:creator>
      <dc:date>2022-04-08T08:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting fields for regular exports</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162572#M53833</link>
      <description>&lt;P&gt;Yes, you can edit the script, it is just text and can easily be modified with different path.&amp;nbsp; Script can then be run from within Pro using the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/python-window.htm" target="_self"&gt;python window&lt;/A&gt;&amp;nbsp;or a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/pro-notebooks.htm" target="_self"&gt;Notebook&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;However, since you are not familiar with python, for this operation, you might want to look at creating a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/modelbuilder/what-is-modelbuilder-.htm" target="_self"&gt;Model&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;All you would need to do is add Feature Class To Feature Class tool and configure the Fields section to only include what you want.&amp;nbsp; Save the model, then all you need to do is edit the model, double click on the FC 2 FC tool, change output location and hit "Run".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1649431151460.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38451iEA13B912FDF1A223/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_0-1649431151460.png" alt="RhettZufelt_0-1649431151460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 15:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1162572#M53833</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-04-08T15:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting fields for regular exports</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1163058#M53883</link>
      <description>&lt;P&gt;Brilliant. Just what I needed.&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 15:00:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-fields-for-regular-exports/m-p/1163058#M53883</guid>
      <dc:creator>SimonCrutchley</dc:creator>
      <dc:date>2022-04-11T15:00:00Z</dc:date>
    </item>
  </channel>
</rss>

