<?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: How do I update Capabilities through ArcGIS API for Python? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810787#M2445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca - I will try that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2019 21:28:58 GMT</pubDate>
    <dc:creator>SanjayAdvani</dc:creator>
    <dc:date>2019-03-11T21:28:58Z</dc:date>
    <item>
      <title>How do I update Capabilities through ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810783#M2441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When publishing a feature service from a geodatabase, and using the ArcGIS&amp;nbsp;arcis api for python, I can update my capabilities from (default) "Query" to "Query, Sync" with&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;update_dict2 &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; {&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"syncEnabled"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;True&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;flc.manager.update_definition(update_dict2)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where flc is my feature layer collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have not been able to update to "Create,Delete,Query,Update,Editing,Sync" except through the web application.&lt;/P&gt;&lt;P&gt;Much like I did not change the "Capabilities" values directly to allow for Sync, is there another place I add Create, Delete, and Editing?&amp;nbsp; In the front end I just click the check box "Enable Editing"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 16:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810783#M2441</guid>
      <dc:creator>SanjayAdvani</dc:creator>
      <dc:date>2019-02-26T16:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update Capabilities through ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810784#M2442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to set the hosted view capabilities on create but not with update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;capabilities = "Create,Delete,Query,Update,Editing,Extract,Sync,ChangeTracking"&lt;/P&gt;&lt;P&gt;view_flc = hosted_flc.manager.create_view(name=view_name, allow_schema_changes=True, updateable=True, capabilities=capabilities)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 19:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810784#M2442</guid>
      <dc:creator>LauraRoghair</dc:creator>
      <dc:date>2019-03-07T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update Capabilities through ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810785#M2443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you grab the update definition request from the web application,&amp;nbsp;the json parameter is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;{"hasStaticData":false,"capabilities":"Query,Editing,Create,Update,Delete","editorTrackingInfo":{"enableEditorTracking":false,"enableOwnershipAccessControl":false,"allowOthersToUpdate":true,"allowOthersToDelete":true,"allowOthersToQuery":true,"allowAnonymousToUpdate":true,"allowAnonymousToDelete":true}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Since you are not changing the editor tracking you can ignore that, but you do need to change the hasStaticData value to false.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 23:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810785#M2443</guid>
      <dc:creator>RebeccaRichman</dc:creator>
      <dc:date>2019-03-07T23:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update Capabilities through ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810786#M2444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel the different API version may behave slightly differently on&amp;nbsp;different GIS platform version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My case is quite opposite.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;flc.manager.update_definition({"capabilities":&lt;SPAN style="background-color: #ffffff;"&gt;"Create,Delete,Query,Update,Editing,Sync"&lt;/SPAN&gt;})&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;works, but&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;flc.manager.update_definition(&lt;/SPAN&gt;{"syncEnabled":True})&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My version is portal 10.6.1, API 1.5.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 02:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810786#M2444</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2019-03-08T02:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update Capabilities through ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810787#M2445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca - I will try that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 21:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810787#M2445</guid>
      <dc:creator>SanjayAdvani</dc:creator>
      <dc:date>2019-03-11T21:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update Capabilities through ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810788#M2446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Laura - that seemed to work... I didn't separate out which of those in the update dictionary made it work, but thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 13:46:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-update-capabilities-through-arcgis-api/m-p/810788#M2446</guid>
      <dc:creator>SanjayAdvani</dc:creator>
      <dc:date>2019-03-13T13:46:25Z</dc:date>
    </item>
  </channel>
</rss>

