<?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: Saving edits to local feature layers in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437251#M2171</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;When the Package references the data it uses an absolute path and therefore the path on the deployment machine needs to be the same as the machine used to create the map package (you can use mapped drives to recreate the same path on each machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the current editing workflow is somewhat restrictive and therefore we're working on a richer edit synchronization framework which will allow you to download features from a feature service, edit those features offline and then sync back with the service once you're online. It will also support more manual desktop checkout/checkin workflows, but with the absolute/relative path issues you've noted.&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>Tue, 14 May 2013 08:49:37 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2013-05-14T08:49:37Z</dc:date>
    <item>
      <title>Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437248#M2168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a program which loads a tile pack for the base layer, then a bing layer and then a map pack with 3 layers which are added individualy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISLocalTiledLayer ID="BaseMap" Path="..\\data\\maps\\localtest.tpk"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bing:TileLayer ID="BingLayerAerial" LayerStyle="AerialWithLabels" Token="token here"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISLocalFeatureLayer ID="Sites" Path="..\\data\\maps\\features.mpk" LayerName="Sites" AutoSave="True" Editable="True" OutFields="Type, Name" DisableClientCaching="True"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISLocalFeatureLayer ID="Routes" Path="..\\data\\maps\\features.mpk" LayerName="Routes" AutoSave="True" Editable="True" OutFields="Type, Name" DisableClientCaching="True"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISLocalFeatureLayer ID="Areas" Path="..\\data\\maps\\features.mpk" LayerName="Areas" AutoSave="True" Editable="True" OutFields="Type, Name" DisableClientCaching="True"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have then added an editor so changes can be made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This all works fine, changes persist when the project is restarted. When I load the map pack onto another computer the changes haven't been saved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a command to write the changes to the local map pack or export them to a shape file for review on another computer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nigel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 13:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437248#M2168</guid>
      <dc:creator>NigelMacLucas1</dc:creator>
      <dc:date>2013-05-13T13:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437249#M2169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nigel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you load a map package in the Runtime (v10.1.1) it extracts all the files included to a directory e.g. C:\Users\user\AppData\Local\ArcGISRuntime\Documents\ArcGIS\Packages. (This path is different from v1.0.) You can browse to this directory with ArcGIS Desktop and view the feature classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it sounds like you might want to look into referencing your data (instead of including it in the MPK file). Take a look at point number 8 here &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/concepts/index.html#//01700000005t000000"&gt;http://resources.arcgis.com/en/help/runtime-wpf/concepts/index.html#//01700000005t000000&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 22:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437249#M2169</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2013-05-13T22:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437250#M2170</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;Thanks for the quick reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried referencing all data before. This worked on the development computer but when I moved the map pack to another computer it couldn't find any of the features layers in the file. It loads the layers but without any data on them. Not sure what I did wrong but the only way I could get it to work was to untick reference all data box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nigel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 07:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437250#M2170</guid>
      <dc:creator>NigelMacLucas1</dc:creator>
      <dc:date>2013-05-14T07:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437251#M2171</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;When the Package references the data it uses an absolute path and therefore the path on the deployment machine needs to be the same as the machine used to create the map package (you can use mapped drives to recreate the same path on each machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the current editing workflow is somewhat restrictive and therefore we're working on a richer edit synchronization framework which will allow you to download features from a feature service, edit those features offline and then sync back with the service once you're online. It will also support more manual desktop checkout/checkin workflows, but with the absolute/relative path issues you've noted.&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>Tue, 14 May 2013 08:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437251#M2171</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-05-14T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437252#M2172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does the map pack need to be created in a folder with a path accessable from either computer, ie c:\data. The computer this will be running will be offline so network drives aren't an option here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 08:54:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437252#M2172</guid>
      <dc:creator>NigelMacLucas1</dc:creator>
      <dc:date>2013-05-14T08:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437253#M2173</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;Yes, it needs to be a path accessible on both machines. You could consider creating a virtual drive (e.g. using Subst command) which could be, for example, X: and which points to wherever the data is on the authoring machine and the deployment machine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, as I said, we're working to resolve these absolute path issues.&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>Tue, 14 May 2013 15:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437253#M2173</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-05-14T15:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437254#M2174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these changes coming in the 10.2 release? We are using flash drives to deploy and have had issues with drive mapping - it is hard to find one that consistently isn't being used as we are working across a dozen or so government entities and private companies. We had some joy running a WMI script, but not ideal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 23:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437254#M2174</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2013-05-14T23:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Saving edits to local feature layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437255#M2175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With a bit of expermintation I have found out that you can use a relative path for the map pack as long as the you create a file based geodatabase which holds the source files and it is in the same the same path ie c:\data on all computers. You can then copy the geodatabase about with the changes from computer to computer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nigel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 12:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/saving-edits-to-local-feature-layers/m-p/437255#M2175</guid>
      <dc:creator>NigelMacLucas1</dc:creator>
      <dc:date>2013-05-15T12:49:03Z</dc:date>
    </item>
  </channel>
</rss>

