<?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: FileFolder QML Type writeFile Chormebook in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1046664#M3872</link>
    <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very possible that it might be a limitation with the Chromebook, unfortunately, we don't have any to test with. Can you try to just use the path like "~" instead of the shortcuts.desktop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 22:04:50 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2021-04-13T22:04:50Z</dc:date>
    <item>
      <title>FileFolder QML Type writeFile Chormebook</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1041941#M3861</link>
      <description>&lt;P&gt;I have a custom application, where the goal is to create a list with the app and export this list to the device as an .txt or .csv. With the FileFolder QML Type, I am able to obtain my folder path and create the string to be written.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I am running into is when using a chromebook device (Chrome OS), the file is created but is created as an empty file; the contents are not being passed along. The same application will work properly on any Windows or MacOS system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;FileDialog {&amp;nbsp; //user obtained file path.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; id: fileDialog2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; folder: shortcuts.desktop&amp;nbsp; //brings user to main path regardless of os.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; selectFolder: true&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Item {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FileFolder {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: fileFolder3&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;fileFolder3.writeFile("testing.csv", "testing, 2") //string is set up as comma delimited.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas or workarounds, or is this just an OS limitation issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kyle&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 13:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1041941#M3861</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-30T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: FileFolder QML Type writeFile Chormebook</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1046664#M3872</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very possible that it might be a limitation with the Chromebook, unfortunately, we don't have any to test with. Can you try to just use the path like "~" instead of the shortcuts.desktop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 22:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1046664#M3872</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2021-04-13T22:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: FileFolder QML Type writeFile Chormebook</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1046886#M3875</link>
      <description>&lt;P&gt;It does appear to be a limitation with the Chromebook and how it is reading the selected file path. There may be something I am missing but the folder navigation does not appear to be the issue. So using the shortcuts.desktop&amp;nbsp; was only giving the starting point of where to save the the file (I am most likely going to switch it to "~" anyways since I like that for the other platforms).&lt;/P&gt;&lt;P&gt;What I noticed, when using the application in a Chromebook and a file folder location is chosen, it is outputting the file path: "content://com.android.externalstorage.documents/tree/0000000000000000000000000000CAFEF00D20%3ADownloads"&amp;nbsp;&lt;/P&gt;&lt;P&gt;This path is allowing for the creation of my file in the correct location, however it is creating it as an empty file. I was able to do a workaround and just hardcode a file path, although not desirable since one is not able to select where they wish to save the file, it is working correctly.&lt;/P&gt;&lt;P&gt;hardcoded file path: "/storage/emulated/0/download"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the suggestions.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 13:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/filefolder-qml-type-writefile-chormebook/m-p/1046886#M3875</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-14T13:42:45Z</dc:date>
    </item>
  </channel>
</rss>

