<?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 AppStudio TileCache path not set / PortalItem fetchData to path not set in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768127#M370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying the AppStudio 3.2 /&amp;nbsp;Esri.ArcGISRuntime&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;100.4 on Windows 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not being able to set the following path to a&amp;nbsp;&lt;SPAN style="color: #800080;"&gt;TileCache&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #008000;"&gt;"C:/Users/rpintos.ICA/ArcGIS/AppStudio/Data/93c17bd6406d48b584aa96970e9b0aa2/Uruguay.tpk"

&lt;/SPAN&gt;&lt;SPAN&gt;After the path is set, onPathChanged is executed but the property path doesnt change.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;--------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similar happens with a PortalItem object&amp;nbsp;executing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fetchData("&lt;SPAN style="color: #008000;"&gt;C:/Users/rpintos.ICA/ArcGIS/AppStudio/Data/93c17bd6406d48b584aa96970e9b0aa2"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in portal item: File path must be specified to fetch data.()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that in the last framework release they solve the following bug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-BUG-000116279 Cannot create TileCache from a path on Linux when conf.xml file uses mixed case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It just says on Linux, but what happen in Windows? I haven tried it on Android and on iOS neither.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:53:54 GMT</pubDate>
    <dc:creator>RodrigoPintos</dc:creator>
    <dc:date>2021-12-12T16:53:54Z</dc:date>
    <item>
      <title>AppStudio TileCache path not set / PortalItem fetchData to path not set</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768127#M370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying the AppStudio 3.2 /&amp;nbsp;Esri.ArcGISRuntime&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;100.4 on Windows 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not being able to set the following path to a&amp;nbsp;&lt;SPAN style="color: #800080;"&gt;TileCache&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #008000;"&gt;"C:/Users/rpintos.ICA/ArcGIS/AppStudio/Data/93c17bd6406d48b584aa96970e9b0aa2/Uruguay.tpk"

&lt;/SPAN&gt;&lt;SPAN&gt;After the path is set, onPathChanged is executed but the property path doesnt change.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;--------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similar happens with a PortalItem object&amp;nbsp;executing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fetchData("&lt;SPAN style="color: #008000;"&gt;C:/Users/rpintos.ICA/ArcGIS/AppStudio/Data/93c17bd6406d48b584aa96970e9b0aa2"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in portal item: File path must be specified to fetch data.()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that in the last framework release they solve the following bug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-BUG-000116279 Cannot create TileCache from a path on Linux when conf.xml file uses mixed case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It just says on Linux, but what happen in Windows? I haven tried it on Android and on iOS neither.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768127#M370</guid>
      <dc:creator>RodrigoPintos</dc:creator>
      <dc:date>2021-12-12T16:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio TileCache path not set / PortalItem fetchData to path not set</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768128#M371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Path changed signal works for me. Try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; property string dataPath: "C:/Users/&amp;lt;username&amp;gt;/ArcGIS/AppStudio/Data/"


Basemap {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Nest the ArcGISTiledLayer to add it as one of the Basemap's baseLayers
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGISTiledLayer {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TileCache{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path: AppFramework.userHomeFolder.fileUrl(dataPath + "/SanFrancisco.tpk")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onPathChanged: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(path)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768128#M371</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2021-12-12T08:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio TileCache path not set / PortalItem fetchData to path not set</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768129#M372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Now is working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An other question related to the PortalItem object. &lt;BR /&gt;Do I have to specify the whole path with the filename and tpk extension like .../Uruguay.tpk? Because I remember using the old Qt Sdk Runtime 10.2.6 and specifying just the folder name was enough.&lt;BR /&gt;&lt;BR /&gt;Thank in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2018 16:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768129#M372</guid>
      <dc:creator>RodrigoPintos</dc:creator>
      <dc:date>2018-12-29T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio TileCache path not set / PortalItem fetchData to path not set</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768130#M373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just tried it and yes, you have to specify the name and extension of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I see when it starts downloading is that the&amp;nbsp;progressPercentage is always 100. That seems to be wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2018 16:51:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768130#M373</guid>
      <dc:creator>RodrigoPintos</dc:creator>
      <dc:date>2018-12-29T16:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: AppStudio TileCache path not set / PortalItem fetchData to path not set</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768131#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attach to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800000;"&gt;onFetchDataProgressChanged&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;this is&amp;nbsp;the log that I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(First log)&lt;BR /&gt;qml: {"objectName":"","objectType":"NetworkRequestProgress","error":null,"objects":{},"bytesReceived":"0","bytesReceivedAsInt":0,"bytesSent":"0","bytesSentAsInt":0,"estimatedFinishTime":null,"progressPercentage":0,"startTime":"2018-12-29T16:56:13.083Z","totalBytesToReceive":"0","totalBytesToReceiveAsInt":0,"totalBytesToSend":"0","totalBytesToSendAsInt":0}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Second log)&lt;/P&gt;&lt;P&gt;qml: {"objectName":"","objectType":"NetworkRequestProgress","error":null,"objects":{},"bytesReceived":"83665","bytesReceivedAsInt":83665,"bytesSent":"0","bytesSentAsInt":0,"estimatedFinishTime":"2018-12-29T16:56:13.341Z","progressPercentage":100,"startTime":"2018-12-29T16:56:13.083Z","totalBytesToReceive":"0","totalBytesToReceiveAsInt":0,"totalBytesToSend":"0","totalBytesToSendAsInt":0}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;(N log)&lt;/P&gt;&lt;P&gt;qml: {"objectName":"","objectType":"NetworkRequestProgress","error":null,"objects":{},"bytesReceived":"115543108","bytesReceivedAsInt":115543108,"bytesSent":"0","bytesSentAsInt":0,"estimatedFinishTime":"2018-12-29T16:57:27.207Z","progressPercentage":100,"startTime":"2018-12-29T16:56:13.083Z","totalBytesToReceive":"0","totalBytesToReceiveAsInt":0,"totalBytesToSend":"0","totalBytesToSendAsInt":0}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second one, the percentage is already 100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2018 17:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/appstudio-tilecache-path-not-set-portalitem/m-p/768131#M374</guid>
      <dc:creator>RodrigoPintos</dc:creator>
      <dc:date>2018-12-29T17:05:15Z</dc:date>
    </item>
  </channel>
</rss>

