<?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: Update Definition not modifying service? in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/update-definition-not-modifying-service/m-p/532306#M632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I've found is that python None, True, and False values are automatically substituted for the null, true, and false values returned by the service definition.&amp;nbsp; Before submitting the post data I have to dump the data to a json string, then replace these python types with the associated json type.&amp;nbsp; Both are specified as strings since I am replacing the text in the json string.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other cleanup needed is to remove all single apostrophes from domain descriptions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Dec 2017 20:38:59 GMT</pubDate>
    <dc:creator>RichardHughes2</dc:creator>
    <dc:date>2017-12-01T20:38:59Z</dc:date>
    <item>
      <title>Update Definition not modifying service?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/update-definition-not-modifying-service/m-p/532305#M631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the Rest API Update Definition request I am attempting to update the domain values for a hosted layer in AGOL.&amp;nbsp; The requests returns a success, but the data is not updated in AGOL.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are not error messages or any issues that I can find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else had this problem when trying to update domains using the Update Definition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are views associated with this service, do those prevent using this Update Definition to modify the domains?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 14:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/update-definition-not-modifying-service/m-p/532305#M631</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2017-12-01T14:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update Definition not modifying service?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/update-definition-not-modifying-service/m-p/532306#M632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I've found is that python None, True, and False values are automatically substituted for the null, true, and false values returned by the service definition.&amp;nbsp; Before submitting the post data I have to dump the data to a json string, then replace these python types with the associated json type.&amp;nbsp; Both are specified as strings since I am replacing the text in the json string.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other cleanup needed is to remove all single apostrophes from domain descriptions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/update-definition-not-modifying-service/m-p/532306#M632</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2017-12-01T20:38:59Z</dc:date>
    </item>
  </channel>
</rss>

