<?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 with Json - can't find the file to modify in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570194#M2736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should see json in the text box.&amp;nbsp; Again, I am using AGOL, so my screen is slightly different.&amp;nbsp; Where yours says "Input", mine says "Update Layer Definition".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the preceding page (the one with the link "Update Definition" at the bottom), is there text that describes the feature/table?&amp;nbsp; At the top of that page, is there a link for "JSON"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 16:52:42 GMT</pubDate>
    <dc:creator>RandyBurton</dc:creator>
    <dc:date>2017-03-20T16:52:42Z</dc:date>
    <item>
      <title>Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570191#M2733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to edit a feature layer from feature server on our Portal with admin rest end point (which looks similar to this link &amp;nbsp;but with our portal web-addres):&lt;/P&gt;&lt;PRE class="" style="color: #595959; background-color: whitesmoke; font-weight: 300; font-size: 15.9375px; margin-bottom: 1.55rem;"&gt;&lt;A href="http://services.arcgis.com/xxxx/ArcGIS/admin/services/Locations.FeatureServer/0"&gt;http://services.arcgis.com/xxxx/ArcGIS/admin/services/Locations.FeatureServer/0&lt;/A&gt;&lt;/PRE&gt;&lt;PRE class="" style="color: #595959; background-color: whitesmoke; font-weight: 300; font-size: 15.9375px; margin-bottom: 1.55rem;"&gt;&lt;/PRE&gt;&lt;P&gt;In many instructions it suggested to scroll down the page, click on 'update definition' and make required changes to provided html or json file. Example of the step is described in this article:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/technical-article/000012383" title="http://support.esri.com/technical-article/000012383"&gt;How To: Update the maximum record count for feature services in ArcGIS Online&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow all the steps and get to "UpdateDefinition" page, but Input window is black. I expected to find there json or html file representing the current layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update definition to reorder the points in the layer. Any ideas why nothing is in my input field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/340707_pastedImage_3.png" style="width: 620px; height: 308px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 05:36:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570191#M2733</guid>
      <dc:creator>LidiaDudina</dc:creator>
      <dc:date>2017-03-15T05:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570192#M2734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use ArcGIS Online.&amp;nbsp; Our path looks like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://services.arcgis.com/xxxx/ArcGIS/rest/admin/services/Locations/FeatureServer/0"&gt;https://services.arcgis.com/xxxx/ArcGIS/rest/admin/services/Locations/FeatureServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with "rest" inserted and no dot before "FeatureServer".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think you would receive a bad URL message if what you were using was incorrect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570192#M2734</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2017-03-15T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570193#M2735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can get to the correct pages. I see update definition link and can click on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you on the next page, in the input box, do you see the the text in the box or is it black for you?&amp;nbsp;&lt;/P&gt;&lt;P&gt;From documentation that I read, I understand that the layer in json (or html) format will be in the input box. I can then copy, edit and paste back to modify it. But my input box is blank. &amp;nbsp;Just checking whether &amp;nbsp;it is supposed to be blank or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 23:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570193#M2735</guid>
      <dc:creator>LidiaDudina</dc:creator>
      <dc:date>2017-03-19T23:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570194#M2736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should see json in the text box.&amp;nbsp; Again, I am using AGOL, so my screen is slightly different.&amp;nbsp; Where yours says "Input", mine says "Update Layer Definition".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the preceding page (the one with the link "Update Definition" at the bottom), is there text that describes the feature/table?&amp;nbsp; At the top of that page, is there a link for "JSON"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 16:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570194#M2736</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2017-03-20T16:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570195#M2737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are also having the same issue, and like the original poster, we are hosting the service on premise, not using AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 04:13:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570195#M2737</guid>
      <dc:creator>TownsvilleCouncil</dc:creator>
      <dc:date>2017-05-12T04:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570196#M2738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have any&amp;nbsp;of you found a solution to the original question? We are having the same issue while attempting to Update Definition on a local ArcGIS Server 10.4.1 rest service. This problem does not occur with an ESRI-hosted feature service, just with local, AGS-hosted rest service (feature services).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario: Published Oracle enterprise db (sde 10.1) feature classes/table to AGS 10.4.1 using ArcGIS Desktop 10.4.1. Fields that are set to required with a domain assigned are the problem. The JSON for each rest service shows that the templates default values for those fields are set to&amp;nbsp;0 or " " - instead of null. No way to fix this otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 18:56:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570196#M2738</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-15T18:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570197#M2739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any resolution on this? I've got the blank update definition window as well on a service that I created in Portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 01:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570197#M2739</guid>
      <dc:creator>GavinBurgess3</dc:creator>
      <dc:date>2018-05-29T01:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570198#M2740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/311043"&gt;Lidia Dudina&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/34565"&gt;Randy Burton&lt;/A&gt;‌&lt;A href="https://community.esri.com/migrated-users/50897"&gt;Townsville Council&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/239981"&gt;Jill Andrea Stokes, admin&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/289139"&gt;Gavin Burgess&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your patience and for being so diligent in assisting each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is actually a logged enhancement in our system to address this. It is expected that the Update Definition operation for Portal would be different than that seen in ArcGIS Online, but there is still a means of using this operation without having to construct the entire JSON manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Construct the JSON for the portion that you would like to update. For guidance on the specific syntax to be used, you can refer to the following developers documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/services-reference/update-definition-feature-layer-.htm" title="https://developers.arcgis.com/rest/services-reference/update-definition-feature-layer-.htm"&gt;Update Definition (Feature Layer)—ArcGIS REST API: Services Directory | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Get the JSON for the entire service by simply adding &lt;STRONG&gt;?f=pjson&lt;/STRONG&gt; to the end of the service URL.&lt;/P&gt;&lt;P&gt;Example: &lt;A class="link-titled" href="https://shield.esri.com/server/rest/services/Hosted/AEDs/FeatureServer?f=pjson" title="https://shield.esri.com/server/rest/services/Hosted/AEDs/FeatureServer?f=pjson"&gt;https://server/webadaptor/rest/services/Hosted/AEDs/FeatureServer&lt;STRONG&gt;?f=pjson&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return the formatted JSON for the service that you can then use in the operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 22:17:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570198#M2740</guid>
      <dc:creator>DanielCota1</dc:creator>
      <dc:date>2018-06-26T22:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570199#M2741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add that just adding&amp;nbsp;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;?f=pjson&lt;/STRONG&gt; gave me a partial definition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get everything I also needed to add &lt;STRONG&gt;/admin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-weight: 400;"&gt;Example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fshield.esri.com%2Fserver%2Frest%2Fservices%2FHosted%2FAEDs%2FFeatureServer%3Ff%3Dpjson" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; font-weight: 400; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://server/webadaptor/rest/admin/services/Hosted/AEDs/FeatureServer&lt;STRONG style="border: 0px; font-weight: bold;"&gt;?f=pjson&lt;/STRONG&gt;&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; font-weight: 400;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-weight: 400;"&gt;-Justin&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 17:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570199#M2741</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2018-11-06T17:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570200#M2742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody had any success getting this to work in a Portal 10.6 environment? I've got a simple hosted feature service layer for which I want to add an extra value into the domain on one of the&amp;nbsp;fields.&amp;nbsp; I've used the second method above to get the json for the part I want to update and have posted via the update definition page for the layer. I get a message back saying success is true but the change doesn't seem to have come through to the layer itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My JSON update is simply adding an extra year (2020) to the domain:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;"fields": [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; "name": "audit_year",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; "alias": "AUDIT_YEAR",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; "domain": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "codedValue",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Year2",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description": "Year",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "codedValues": [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "2017",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "code": 2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "2018",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "code": 2018&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "2019",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "code": 2019&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "2020",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "code": 2020&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;&amp;nbsp; ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; font-size: 11px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'd prefer not to go back and have to republish my service if at all possible. Would be good to see this functionality added to the standard user interface in Portal as is now available in AGOL.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 09:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570200#M2742</guid>
      <dc:creator>GarethBaker1</dc:creator>
      <dc:date>2018-11-28T09:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570201#M2743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried this on our 10.5.0 portal - trying to add values to a domain. Unfortunately neither using the domain json nor the entire layer's json worked. I keep getting this:&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;{&amp;nbsp; "error": {&amp;nbsp;&amp;nbsp; "code": 500,&amp;nbsp;&amp;nbsp; "message": "Service 'XXXX'.'FeatureServer' does not exist in folder 'YYYY'.",&amp;nbsp;&amp;nbsp; "details": []&amp;nbsp; } }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570201#M2743</guid>
      <dc:creator>NiekGoorman1</dc:creator>
      <dc:date>2019-01-22T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570202#M2744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also get 'success = true' message, but no changes to the definition are made.&amp;nbsp; We are able to get this to work using the Python API.&amp;nbsp; If you are looking for a solution without writing your own scripts you can try using ArcGIS Solutions Deployment Tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://solutions.arcgis.com/shared/help/deployment-tool/"&gt;http://solutions.arcgis.com/shared/help/deployment-tool/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Requirements&lt;/P&gt;&lt;P&gt;Software&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Pro 2.1 to 2.2 and&lt;/LI&gt;&lt;LI&gt;ArcGIS Online subscription, or&lt;/LI&gt;&lt;LI&gt;ArcGIS Enterprise 10.5 - 10.6 (Standard or Advanced) with managed data store&lt;BR /&gt;&lt;BR /&gt;&lt;IMG __jive_id="434829" alt="Go to the Share Tab on the Ribbon and Click on ArcGIS Solutions" class="image-1 jive-image j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/434829_1(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="text-align: center;"&gt;Download and Install ArcGIS Solutions&lt;/P&gt;&lt;P style="text-align: center;"&gt;Open ArcGIS Pro&lt;/P&gt;&lt;P style="text-align: center;"&gt;In the Share Tab, Deploy Group -&amp;nbsp;Open ArcGIS Solutions&lt;/P&gt;&lt;P style="text-align: center;"&gt;Notice New 'Task' Pane (bottom left)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="434830" alt="" class="jive-image image-2 j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/434830_2(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;Click 'Configure an ArcGIS Solution'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="435568" alt="" class="jive-image j-img-centered image-4 j-img-original" src="https://community.esri.com/legacyfs/online/435568_3(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;Skip the Introduction - Click 'Next Step'&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="435567" alt="" class="jive-image image-3 j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/435567_4(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;Skip Step 2 - Click 'Skip'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="435570" alt="" class="image-6 jive-image j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/435570_7(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Choose an Input Layer&lt;/P&gt;&lt;P style="text-align: center;"&gt;Use the folder Icon if your layer is not apart of your&amp;nbsp;project already.&lt;/P&gt;&lt;P style="text-align: center;"&gt;If the layer is in your contents and is your active map use the drop down menu.&lt;/P&gt;&lt;P style="text-align: center;"&gt;Choose the field with the domain you want to update&lt;/P&gt;&lt;P style="text-align: center;"&gt;If a domain exists for that field the rest of the parameters will&amp;nbsp;auto populate.&lt;/P&gt;&lt;P style="text-align: center;"&gt;Here the original domain had a single value ('02xxXXXX.xxxx).&lt;/P&gt;&lt;P style="text-align: center;"&gt;I am appending a new coded value ('Add new Coded Value here') to test&lt;/P&gt;&lt;P style="text-align: center;"&gt;You can append, delete, or modify the current values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="435569" alt="" class="jive-image image-5 j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/435569_5(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;I navigated to our Enterprise Portal to grab a hosted layer of interest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="435571" alt="" class="image-7 jive-image j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/435571_8(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Error Code: 500&lt;/P&gt;&lt;P style="text-align: center;"&gt;Here&amp;nbsp;we have more than one hosted layer in Portal that has a domain named 'FDT_Proctor'&lt;/P&gt;&lt;P style="text-align: center;"&gt;The domain will need to be a unique domain name (I find this a bit annoying, but work around it)&lt;/P&gt;&lt;P style="text-align: center;"&gt;We got the same error in our own scripts before we started passing a&amp;nbsp;unique domain name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="435572" alt="" class="image-8 jive-image j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/435572_9(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;Success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG __jive_id="435573" alt="" class="image-9 jive-image j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/435573_10(CUT).png" style="margin-right: auto; margin-left: auto; display: block;" /&gt;Checking the result to confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't solve the original&amp;nbsp;problem of manually updating the service definition, but hopefully you can use this workaround.&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;-Justin&lt;/P&gt;&lt;P style="text-align: center;"&gt;(hat tip to Nathan Davis and Stephen Patterson)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 23:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570202#M2744</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2019-01-22T23:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570203#M2745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any update on when we can expect to see this enhancement, as I tried to Update the Definition with new JSON but got an error 500 message. My only solution in my 10.6.1 environment was to download the hosted feature layer, update the schema using ArcGIS Desktop, then overwrite the original hosted feature layer on portal. I then had to recreate multiple hosted views of this feature layer and then add these to numerous maps so that the new schema was picked up, as existing layer references did not change on the initial overwrite.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make&amp;nbsp; this change took the best part of a day, so would very much like to see a method to update existing schemas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570203#M2745</guid>
      <dc:creator>JonHawkins</dc:creator>
      <dc:date>2019-03-04T15:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570204#M2746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are desperately trying to get the Update Definition to work using our on premise Portal and ArcGIS Server hosted feature services (used for Survey123).&amp;nbsp; As others have pointed, we also get&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;'success = true' message, but the definition does not change.&amp;nbsp; We are merely doing a coded value domain adjustment, using version 10.5.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would greatly appreciate if you or any other ESRI Staff can provide further guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 20:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570204#M2746</guid>
      <dc:creator>DeveloperGtinteg</dc:creator>
      <dc:date>2019-07-31T20:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570205#M2747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've been using the workaround suggested by Justin above with good results. We're planning an upgrade to ArcGIS Enterprise 10.7.1 soon so will see whether we can get the update definition to work afterwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 11:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570205#M2747</guid>
      <dc:creator>GarethBaker1</dc:creator>
      <dc:date>2019-08-01T11:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570206#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also get the JSON by going to the service (don't go to admin mode) and clicking on that little JSON link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="475791" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475791_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am on 10.7.1 and&amp;nbsp;it did not work for me. Got the following error:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="475792" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/475792_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I was trying to add a subtype to a feature view though so might be trying to do too much. lol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully will work for you. Will be good to hear about the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/570206#M2748</guid>
      <dc:creator>Tolo__AdamTolo</dc:creator>
      <dc:date>2019-12-10T06:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update definition with Json - can't find the file to modify</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/1042269#M3765</link>
      <description>&lt;P&gt;This is still the recommended solution for upping maxRecordCount and it's still not working. We're on 10.81 and experiencing this same issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RiceAdam_1-1617157852164.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9718i4FDF6A7717646650/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RiceAdam_1-1617157852164.png" alt="RiceAdam_1-1617157852164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is after hitting the JSON file because 'Update Definition' still isn't working and only displays:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RiceAdam_2-1617157894198.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9719iF9A97A46886D6454/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RiceAdam_2-1617157894198.png" alt="RiceAdam_2-1617157894198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;rather than displaying the JSON definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 02:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-definition-with-json-can-t-find-the-file-to/m-p/1042269#M3765</guid>
      <dc:creator>RiceAdam</dc:creator>
      <dc:date>2021-03-31T02:32:49Z</dc:date>
    </item>
  </channel>
</rss>

