<?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 SyncLayerResult.EditResults in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9278#M144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming the remark for this method should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000;"&gt;If there's &lt;STRONG&gt;NO&lt;/STRONG&gt; error the return value is NULL.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As opposed to the current remark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000;"&gt;If there's an error the return value is NULL.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The followup question being, if there are sync errors will the job return a&amp;nbsp;JobStatus.Failed or do you still need to check this on&amp;nbsp;JobStatus.Succeeded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4061"&gt;Michael Branscomb&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/2602"&gt;Will Crick&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2017 12:53:54 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2017-05-17T12:53:54Z</dc:date>
    <item>
      <title>SyncLayerResult.EditResults</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9278#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming the remark for this method should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000;"&gt;If there's &lt;STRONG&gt;NO&lt;/STRONG&gt; error the return value is NULL.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As opposed to the current remark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000;"&gt;If there's an error the return value is NULL.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The followup question being, if there are sync errors will the job return a&amp;nbsp;JobStatus.Failed or do you still need to check this on&amp;nbsp;JobStatus.Succeeded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4061"&gt;Michael Branscomb&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/2602"&gt;Will Crick&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 12:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9278#M144</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-05-17T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: SyncLayerResult.EditResults</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9279#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that that you are referencing this&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_Data_SyncLayerResult_EditResults.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_Data_SyncLayerResult_EditResults.htm"&gt;SyncLayerResult.EditResults Property&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/352740_pastedImage_3.png" style="width: 620px; height: 423px;" /&gt;&lt;/P&gt;&lt;P&gt;Text that is highlighted is misleading and wrong so please ignore it. The remark is actually related how our communication is done between C++ and C# and slipped through to the public API documentation. We will fix that for the next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding the actually the behavior is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) if the SyncGeodatabaseJob completes (ie. no error occurred in the authentication, network connection, etc..) the SyncGeodatabaseJob.Status is set to completed and&amp;nbsp;&lt;SPAN&gt;SyncGeodatabaseJob.Error is null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) if the SyncGeodatabaseJob fails (ie. no network connection) the SyncGeodatabaseJob.Status is set to failed and SyncGeodatabaseJob.Error has an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) if the job completes and if there weren't&amp;nbsp;any edit errors then SyncGeodatabaseJob returns a SyncLayerResultList which doesn't contain any items&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://files.slack.com/files-pri/T0CPKNTA7-F5GACDYUX/pasted_image_at_2017_05_19_10_08_am.png" /&gt;&lt;/P&gt;&lt;P&gt;In the picture above you can see that the results doesn't contain any items so all is good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) if the job completes and if there were edit errors then SyncLayerResultList contains one or more &lt;SPAN style="color: #000000;"&gt;SyncLayerResult&amp;nbsp;&lt;/SPAN&gt;items. These items contains at least one FeatureEditResult so there shouldn't be a case where&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;SyncLayerResult.EditResults list is either empty or null. You could still check if this to be sure (we shouldn't have any SyncLayerResults if they don't have any FeatureEditResults in the first place). It should be&amp;nbsp;actually very hard to get into the situation where you would find any FeatureEditResults or SyncLayerResults &amp;nbsp;populated so if you find that you are getting these, please let us know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hopefully this cleared some confusion how this works.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 11:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9279#M145</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2017-05-19T11:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: SyncLayerResult.EditResults</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9280#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the detailed response, this is very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/synclayerresult-editresults/m-p/9280#M146</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-05-23T14:21:28Z</dc:date>
    </item>
  </channel>
</rss>

