<?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: Why a local package is not modified? in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121453#M503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The features you created will be in the package unpack location e.g. C:\Users\MyUser\AppData\Local\ArcGISRuntime\Documents\ArcGIS\Packages\packagemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can control the unpack location be setting the ArcGISRuntime.AppDataPath property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, when packaging you can choose to reference your File Gdb (or enterprise Gdb) from the MPK rather than import the data into the MPK. This workflow only supports absolute paths, not relative paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 07:39:12 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2013-10-09T07:39:12Z</dc:date>
    <item>
      <title>Why a local package is not modified?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121452#M502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just develop an small ArcGIS runtime app, this app initialize a local feature service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var localCenterlineServiceMPK = new LocalFeatureService() &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; Path = @"C:\Users\XXX\Documents\PackageMap.mpk" &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; localCenterlineServiceMPK.StartCompleted += this.StartCompleted;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localCenterlineServiceMPK.StartAsync();&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then I get a layer for that package (only has one)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;private void StartCompleted(object sender, AsyncCompletedEventArgs e) &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; var centerlineLayerService = sender as LocalFeatureService;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var centerlineLayer = new ArcGISLocalFeatureLayer { Service = centerlineLayerService, ID = "Routes", LayerName = "routes", Editable = true, AutoSave = true, ReturnM = true };&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._map.Layers.Add(centerlineLayer); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create some lines and add it to the layer, the lines appears on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then I close the application and proceed to open the file C:\Users\XXX\Documents\PackageMap.mpk using ArcMap, to discover that the features weren't saved. (the package includes the geodatabase).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Funny part: I reopen the application....and voila!!!! the features are there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that the local server unpacked the contents of the package to : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Users\MyUser\AppData\Local\ArcGISRuntime\Documents\ArcGIS\Packages\packagemap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in that path resides a copy of the geodatabase, but neither it has the changes in the features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is driving me crazy!!!!!!! where are the features???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 17:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121452#M502</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2013-10-08T17:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why a local package is not modified?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121453#M503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The features you created will be in the package unpack location e.g. C:\Users\MyUser\AppData\Local\ArcGISRuntime\Documents\ArcGIS\Packages\packagemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can control the unpack location be setting the ArcGISRuntime.AppDataPath property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, when packaging you can choose to reference your File Gdb (or enterprise Gdb) from the MPK rather than import the data into the MPK. This workflow only supports absolute paths, not relative paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 07:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121453#M503</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-10-09T07:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why a local package is not modified?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121454#M504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for your answer!, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to persist the changes made by the application in the original package. If runtime unpacked the information, It should packed again, Should not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121454#M504</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2013-10-09T12:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why a local package is not modified?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121455#M505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's an interesting idea, but not the way packages were designed to work - it's a one-way distribution model. Therefore, in order to pick up the edited geodatabase and push it back again you have two options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Set the ArcGISRuntime.AppDataPath to the location you would like on the deployment machine - and then retrieve the unpacked/edited geodatabase from the unpack location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Package with reference to your geodatabase then deploy that along with your application. This is the recommended approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that we are currently implementing a richer editing framework which includes synchronization with feature services (or Desktop via checkout/checkin) - that will be available in the new ArcGIS Runtime SDK for .NET which will be available as a public beta later this year.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 07:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121455#M505</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-10-10T07:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why a local package is not modified?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121456#M506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;again, thanks for your response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 11:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-a-local-package-is-not-modified/m-p/121456#M506</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2013-10-11T11:30:11Z</dc:date>
    </item>
  </channel>
</rss>

