<?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: Differences in Arcgis Runtime SDK for iOS and calling REST directly in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274694#M7596</link>
    <description>&lt;P&gt;No problem, glad to help! Let me know when you find out more information and I'll look into it on our end.&lt;/P&gt;&lt;P&gt;Have a good week!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 14:33:25 GMT</pubDate>
    <dc:creator>MarkDostal</dc:creator>
    <dc:date>2023-04-03T14:33:25Z</dc:date>
    <item>
      <title>Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1272998#M7586</link>
      <description>&lt;P&gt;I am trying to refactor an app here that has some problems with going offline using&amp;nbsp;defaultGenerateGeodatabaseParameters, and I was asked by the our Python team to alter the request somewhat.&lt;/P&gt;&lt;P&gt;I managed to change it to match except for one thing, &lt;SPAN&gt;replicaOptions, which I need to remove.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'replicaOptions'&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;{ &lt;/SPAN&gt;&lt;SPAN&gt;"syncDataOptions"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I find replicaOptions mentioned in the docs for the REST Api:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/create-replica.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/create-replica.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, no mention of it in &lt;A href="https://developers.arcgis.com/ios/api-reference/" target="_blank"&gt;https://developers.arcgis.com/ios/api-reference/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Does anyone know how I can turn it off - is is possible without calling REST directly?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Mar 2023 12:24:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1272998#M7586</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2023-03-29T12:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273073#M7587</link>
      <description>&lt;P&gt;Hello and thank you for your question. &amp;nbsp;If you look at the REST API you reference, there's the following "replicaOptions":&lt;/P&gt;&lt;LI-CODE lang="c"&gt;//(bit 0): Includes annotation features
{"syncDataOptions": 1}

//(bit 1): Includes dimension feature layers
{"syncDataOptions": 2}

//(bit 2): Includes contingent values
{"syncDataOptions": 4}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ease-of-use, these options are called out explicitly as properties in the GenerateGeodatabaseParameters object:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;@property (nonatomic, assign, readwrite) BOOL shouldSyncDimensions;
@property (nonatomic, assign, readwrite) BOOL shouldSyncContingentValues;
@property (nonatomic, assign, readwrite) BOOL shouldSyncAnnotations;&lt;/LI-CODE&gt;&lt;P&gt;The default value for those there properties are `YES`. From your post,&lt;SPAN&gt;'replicaOptions'&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;{ &lt;/SPAN&gt;&lt;SPAN&gt;"syncDataOptions"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;SPAN&gt;' indicates that `shouldSyncAnnotations` and `shouldSyncContingentValues` are set to `YES`, as the "5" is the bitwise-Or&lt;/SPAN&gt;&amp;nbsp;of those two properties (as specified in the REST API)&lt;/P&gt;&lt;P&gt;Setting those values to "NO" should give you the result you want.&lt;/P&gt;&lt;P&gt;If you still encounter problems, please let us know. Also, what specific problems are you encountering.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 15:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273073#M7587</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2023-03-29T15:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273410#M7588</link>
      <description>&lt;P&gt;Aaha! Thanks for the explaination. I did not look at it from that direction at all, note taken &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I was searching the documentation site of the Runtime for iOS and it had no mention of&amp;nbsp;&lt;SPAN&gt;replicaOptions or&amp;nbsp;syncDataOptions and I did not make that connection to the should-parameters. Running a test now to see if it helps my issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;According to my guys here they should help with performance when creating offline databases. Im basically trying to match the performance given to me by the Phython team, they asked me to adjust my request.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 06:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273410#M7588</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2023-03-30T06:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273419#M7589</link>
      <description>&lt;P&gt;It worked, thanks!&lt;/P&gt;&lt;P&gt;I have one question though. In the REST specification there is a property "replicaName" I would like to use. Again I can't seem to find the corresponding setting in the Runtime SDK. Do you know where I set this value?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 07:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273419#M7589</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2023-03-30T07:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273587#M7590</link>
      <description>&lt;P&gt;The "replicaName" property is not currently supported by Runtime. What is your use case for using the replica name?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 15:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273587#M7590</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2023-03-30T15:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273979#M7591</link>
      <description>&lt;P&gt;Apparently the backend team says normally the replicas should be listed using an URL,&amp;nbsp;url/FeatureServer/replicas&lt;SPAN&gt;&lt;SPAN class=""&gt;.. but for some reason my replicas are not. Difference in POST request now is the replicaName is missing from what I am sending and they wanted me to test this in case that was the cause.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 06:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1273979#M7591</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2023-03-31T06:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274134#M7592</link>
      <description>&lt;P&gt;Where is the list of replicas being retrieved from?&lt;/P&gt;&lt;P&gt;The "Geodatabase" has a "syncID" &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_geodatabase.html#ab9ab28936de57adcfb04e4a184333223" target="_self"&gt;property&lt;/A&gt;, which the doc states&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;is the same as the replica ID described in the REST documentation. This is used by the service that created the geodatabase to uniquely identify it when carrying out sync operations.&lt;/EM&gt;&amp;nbsp;You can use this ID to uniquely identify the replicas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 15:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274134#M7592</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2023-03-31T15:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274529#M7594</link>
      <description>&lt;P&gt;I am unsure, I have to check over the holidays, but the way I understood it the backend guy wanted me to check since if they do it manually (with or without replicaname) via Python the replica gets listed in a list on the server - apparently, but those I make from the app with the SDK does not. Though it works fine though. Again, I'll check with them next week. Thanks for all the help so far!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274529#M7594</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2023-04-03T07:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274694#M7596</link>
      <description>&lt;P&gt;No problem, glad to help! Let me know when you find out more information and I'll look into it on our end.&lt;/P&gt;&lt;P&gt;Have a good week!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 14:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1274694#M7596</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2023-04-03T14:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1279144#M7607</link>
      <description>&lt;P&gt;Hi, the list was the list over replicas on the feature layer on the arcgis server. Apparently they guys told me the name really shouldn't matter in this case, but somehow replicas created my my calls using the iOS runtime don't appear on that list - even though they seem to work. The name not being set was the only apparently visible difference from their test, but they have since tested not giving their replicas name, and they still appear. Any ideas what could be the cause my replicas are not showing?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 07:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1279144#M7607</guid>
      <dc:creator>frankm</dc:creator>
      <dc:date>2023-04-17T07:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1280260#M7608</link>
      <description>&lt;P&gt;Hello! Sorry for the delayed response, but we're getting ready to release the v200.1 version of the SDK today and this week has been pretty hectic.&amp;nbsp; I've asked our offline team about the issue you're having and am just waiting for a response.&amp;nbsp; As soon as I hear, I'll let you know.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1280260#M7608</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2023-04-19T15:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Arcgis Runtime SDK for iOS and calling REST directly</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1280856#M7614</link>
      <description>&lt;P&gt;I receive the following response from our offline team:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;One thing to check is that access controls does affect what replicas you see. You can only see your own replicas, so whatever user account was used in runtime to create a replica, you need to use the same account to view the replicas in rest calls. I recall the role matters too, so I think "admin" has extra powers and see all replicas for an AGOL service?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Let me know if that helps or not.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 16:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/differences-in-arcgis-runtime-sdk-for-ios-and/m-p/1280856#M7614</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2023-04-20T16:26:14Z</dc:date>
    </item>
  </channel>
</rss>

