<?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: How can I edit the fields that are exported from the query widget to a CSV file? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617594#M16341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I also saw that question but as you can see below, when searching for that line in the SingleQueryResult.js file, I'm returned with "No Results".&lt;IMG __jive_id="478338" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/478338_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;The file that i am searching is in the ProjectName-&amp;gt;widgets-&amp;gt;Query folder. Possibly I am searching the wrong file? I also cannot find the file "&lt;SPAN style="background-color: #ffffff;"&gt;ExportToCSV.js"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2020 15:06:53 GMT</pubDate>
    <dc:creator>KristinVernon</dc:creator>
    <dc:date>2020-01-14T15:06:53Z</dc:date>
    <item>
      <title>How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617590#M16337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I configured a filter to allow the user to filter of a layer to be able to show data based on a range of dates. However, when this data is exported it shows more fields (such as the GlobalID, created_user, created_date, etc...) in the exported report, which I have set not to show in the pop-ups. Also, I have a field which, when the user enters the data, is a drop down of different options, however when entered in the database it is an ID number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that upon exporting the CSV there is some query that called in order to export the filtered results into a CSV file, would there be anyway to edit this query or format the fields that are exported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Web AppBuilder in my company's portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I noticed that I can configure the Attribute Table widget to show exactly what I want, however, I've read the export function is not currently operational &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 21:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617590#M16337</guid>
      <dc:creator>KristinVernon</dc:creator>
      <dc:date>2020-01-13T21:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617591#M16338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kristin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Portal 10.7.1 uses WAB 2.12 and there was a bug in 2.12.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/235592-cant-export-query-result-to-csv-in-the-attributetable-widget"&gt;https://community.esri.com/thread/235592-cant-export-query-result-to-csv-in-the-attributetable-widget&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617591#M16338</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-01-14T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617592#M16339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I've read that. But I would mostly like to find out if there's a way where I can edit exactly what fields the Query widget itself exports? Possibly through the js files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to omit exporting fields such as the ID fields and so forth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617592#M16339</guid>
      <dc:creator>KristinVernon</dc:creator>
      <dc:date>2020-01-14T14:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617593#M16340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/195847-web-app-builder-how-to-limit-fields-in-export-to-csv-option-in-query-widget"&gt;https://community.esri.com/thread/195847-web-app-builder-how-to-limit-fields-in-export-to-csv-option-in-query-widget&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617593#M16340</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-01-14T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617594#M16341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I also saw that question but as you can see below, when searching for that line in the SingleQueryResult.js file, I'm returned with "No Results".&lt;IMG __jive_id="478338" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/478338_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;The file that i am searching is in the ProjectName-&amp;gt;widgets-&amp;gt;Query folder. Possibly I am searching the wrong file? I also cannot find the file "&lt;SPAN style="background-color: #ffffff;"&gt;ExportToCSV.js"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617594#M16341</guid>
      <dc:creator>KristinVernon</dc:creator>
      <dc:date>2020-01-14T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617595#M16342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kristin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The problem with working in Portal is the code is obfuscated and what you searching for could be a.fields or c.fields as the featureSet var is likely changed durring obfuscation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617595#M16342</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-01-14T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617596#M16343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh I see so:&lt;/P&gt;&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;featureSet&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; lang&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;clone&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fields&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is actually like:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;d&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;clone&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fields&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for one of my problem, the other problem is that I use Domains for two of my fields. Therefore while in my application it appears as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/478345_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;When I export this to CSV it exports as:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/478352_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;I would like it to export the value and not the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 16:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617596#M16343</guid>
      <dc:creator>KristinVernon</dc:creator>
      <dc:date>2020-01-14T16:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I edit the fields that are exported from the query widget to a CSV file?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617597#M16344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kristin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry I am not sure about the domain issue fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 13:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-edit-the-fields-that-are-exported-from/m-p/617597#M16344</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-01-15T13:16:53Z</dc:date>
    </item>
  </channel>
</rss>

