<?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: applyEdits of a related table record fails occasionally in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109019#M10075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Saroj. I'll try that. But based on my previous comment, it seems like I have to include the OBJECTID as well (otherwise, I get that error I noted in my previous post).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Mar 2017 14:47:11 GMT</pubDate>
    <dc:creator>KarenRobine</dc:creator>
    <dc:date>2017-03-29T14:47:11Z</dc:date>
    <item>
      <title>applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109011#M10067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to applyEdits of a record for a related table that is being updated.&amp;nbsp; My steps are to first set the attributes using record.setAttributes(attributes); I've included all the attributes (including the ObjectID). I then run applyEdits on the proper feature layer. Most of the time it works. Occasionally, however, I receive the following error: "Cannot read property 'attributes' of undefined".&amp;nbsp; I've noticed that even though I receive this error message, the update still works.&amp;nbsp; And as I mentioned above, this doesn't occur every time.&amp;nbsp; Thoughts on why I'm getting this, and how to adjust my code so that this never occurs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109011#M10067</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2017-03-28T19:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109012#M10068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the OBJECTID in READONLY mode? It would be easier for us to tell what is wrong if you can post your codes.&lt;/P&gt;&lt;P&gt;Check this sample if you haven't already done so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/ed_attribute_inspector.html" title="https://developers.arcgis.com/javascript/3/jssamples/ed_attribute_inspector.html"&gt;Using the attribute inspector | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 19:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109012#M10068</guid>
      <dc:creator>SarojThapa1</dc:creator>
      <dc:date>2017-03-28T19:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109013#M10069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it shouldn't be in READONLY mode, but what is the mechanism to place the OBJECTID in READONLY mode?&amp;nbsp; I have been deleting, adding, and updating to the table without problems so I'm assuming that's not the problem.&lt;/P&gt;&lt;P&gt;I'm skipping a little code, but here is concept. Please keep in mind that most of the time it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;var&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; attributes = recrd.attributes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;//do some changes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;recrd.setAttributes(attributes);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//now apply edits, but I use a deferred since I am handling adds, updates and deletes (I do deletes a bit differently which is why its null). I also don't do adds and updates at the same time.&amp;nbsp; Typically, I'd either only do an update, or combine adds and deletes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; def = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: small;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; Deferred();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; fLayer.applyEdits(newAttributes, updateAttributes, &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;null&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;).then(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(adds, updates, deletes) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (requestType === &lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"add"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &amp;amp;&amp;amp; adds &amp;amp;&amp;amp; adds.length &amp;gt; 0) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;//just get the first one&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;def.resolve({adds: adds[0]});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; } &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;else&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (requestType === &lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"update"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &amp;amp;&amp;amp; updates &amp;amp;&amp;amp; updates.length &amp;gt; 0) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;//just get the first one&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;def.resolve({updates: updates[0]});&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; }, &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(error) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (requestType === &lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"update"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &amp;amp;&amp;amp; error &amp;amp;&amp;amp; error.message &amp;amp;&amp;amp; error.message.indexOf(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"Cannot read property 'attributes' of undefined"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;) &amp;gt; -1) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; console.log(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"SaveEditsHandler.js: _prepareAllRequests() we got the Cannot read property 'attributes' of undefined error but we pass it back"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; def.resolve({updates: {success: &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;true&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;}}); &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;//&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f9fbf; font-size: small;"&gt;TODO&lt;/STRONG&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;: I think this needs the objectId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; } &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;else&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;def.reject();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;return&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; def.promise;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 20:57:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109013#M10069</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2017-03-28T20:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109014#M10070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I strongly believe you should not be editing objectid. &lt;SPAN style="background-color: #ffffff;"&gt;The OBJECTID is a system primary key index of guaranteed unique values for that table that is read only, used by geoprocessing tools, scrolling and other system functions.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There are two ways you can make OBJECTID in READONLY mode:&lt;/P&gt;&lt;P&gt;1. Do not display objectid in the attribute table&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #5c7ab8; font-weight: bold;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a9b7c6;"&gt;layerInfos &lt;/SPAN&gt;= [{
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'featureLayer'&lt;/SPAN&gt;: &lt;SPAN style="color: #a9b7c6;"&gt;featureLayer&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'showAttachments'&lt;/SPAN&gt;: &lt;SPAN style="color: #5c7ab8; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'isEditable'&lt;/SPAN&gt;: &lt;SPAN style="color: #5c7ab8; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'showDeleteButton'&lt;/SPAN&gt;: &lt;SPAN style="color: #5c7ab8; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'fieldInfos'&lt;/SPAN&gt;: [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'fieldName'&lt;/SPAN&gt;: &lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'Name'&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'isEditable'&lt;/SPAN&gt;: &lt;SPAN style="color: #5c7ab8; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #5c7ab8;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'label'&lt;/SPAN&gt;: &lt;SPAN style="color: #807d6e; font-weight: bold;"&gt;'&amp;lt;b&amp;gt; Site Name:&amp;lt;/b&amp;gt;'&lt;/SPAN&gt;}&lt;SPAN style="color: #5c7ab8;"&gt;,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I don't see anything wrong with your code. If you have time, create a new database table with the same fields and data and don't mess up with objectid at all this time.&lt;/P&gt;&lt;P&gt;Good luck!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:33:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109014#M10070</guid>
      <dc:creator>SarojThapa1</dc:creator>
      <dc:date>2021-12-11T06:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109015#M10071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;interesting...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So regarding Item #1: &lt;EM&gt;Do not display objected in the attribute table&lt;/EM&gt;,&amp;nbsp; would the change be made on the Web Map?&amp;nbsp; If I show the tables for all my related tables in ArcGIS Online, I do notice that the OBJECTID field does not appear. When I click "Options"&amp;nbsp; and show/Hide columns, the OBJECTID field is always turned off.&amp;nbsp; Therefore, I think I'm good, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Item #2:&amp;nbsp; I'm not following where you're going with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in my setAttributes() method, should I pull out OBJECTID field?&amp;nbsp; Should I ONLY set attributes on "changed" attributes?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Out of curiosity,&amp;nbsp;do you know if &amp;nbsp;this documented anywhere?&lt;/P&gt;&lt;P&gt;Thanks so much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 21:50:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109015#M10071</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2017-03-28T21:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109016#M10072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried by removing the OBJECTID field, as well as any other fields I'm not changing.&amp;nbsp; I get the following error (see below):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also checked and my Feature Service has OBJECTID set as follows:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OBJECTID (type: esriFieldTypeOID, alias: OBJECTID, SQL Type: sqlTypeOther, length: 0, nullable: false, editable: false)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #222222; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px; font-style: normal; font-weight: normal; word-spacing: 0px; border-bottom-color: #f0f0f0; border-bottom-width: 1px; border-bottom-style: solid; display: flex; white-space: normal; min-height: 0px; min-width: 0px; box-sizing: border-box; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;DIV style="padding: 3px 22px 1px 0px; flex: 1 1 auto; clear: right; margin-left: 24px; display: flex; position: relative; min-height: 18px; min-width: 0px; box-sizing: border-box;"&gt;&lt;DIV style="padding: 0px; flex: 1 1 0%; color: inherit; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px !important; vertical-align: baseline; display: inline-block; white-space: pre-wrap; position: relative; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;DIV style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;OL style="margin: 0px; padding: 0px; color: #212121 !important; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px !important; display: flex; list-style-type: none; white-space: pre-wrap; position: relative; z-index: 0; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-direction: column;"&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;OL style="padding-left: 12px; display: block; list-style-type: none; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;&lt;SPAN&gt;Error: Must declare the scalar variable "@OBJECTID". at Object.constructor (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A2035%3A385" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:2035:385&lt;/A&gt;&lt;SPAN&gt;) at new &amp;lt;anonymous&amp;gt; (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A160%3A49" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:160:49&lt;/A&gt;&lt;SPAN&gt;) at Object._editHandler (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A2006%3A423" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:2006:423&lt;/A&gt;&lt;SPAN&gt;) at Object.load (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A1965%3A346" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:1965:346&lt;/A&gt;&lt;SPAN&gt;) at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A993%3A143" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:993:143&lt;/A&gt;&lt;SPAN&gt; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A103%3A393" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:103:393&lt;/A&gt;&lt;SPAN&gt;) at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A103%3A182" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:103:182&lt;/A&gt;&lt;SPAN&gt;) at b.Deferred.resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A105%3A10" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:105:10&lt;/A&gt;&lt;SPAN&gt;) at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A104%3A96" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:104:96&lt;/A&gt;&lt;SPAN&gt;) at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.19%2Finit.js%3A103%3A182" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.19/init.js:103:182&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;objectId&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;-1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;success&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #aa0d91; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;false&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: inherit; vertical-align: baseline; display: inline-block; position: relative; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: inherit; vertical-align: baseline; display: inline-block; position: relative; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #1c00cf; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="display: flex; white-space: nowrap; position: relative; -ms-text-overflow: ellipsis; min-height: 16px; min-width: 0px; box-sizing: border-box; align-items: center; user-select: text;"&gt;&lt;SPAN style="color: #881391; min-height: 0px; min-width: 0px; box-sizing: border-box; opacity: 0.6; flex-shrink: 0;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN style="padding-right: 5px; min-height: 0px; min-width: 0px; box-sizing: border-box; flex-shrink: 0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: inherit; vertical-align: baseline; display: inline-block; position: relative; min-height: 0px; min-width: 0px; box-sizing: border-box;"&gt;Array[0]&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-size: 12px; font-style: normal; font-weight: normal; word-spacing: 0px; border-bottom-color: #f0f0f0; border-bottom-width: 1px; border-bottom-style: solid; display: flex; white-space: normal; min-height: 0px; min-width: 0px; box-sizing: border-box; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;DIV style="padding: 3px 22px 1px 0px; flex: 1 1 auto; clear: right; margin-left: 24px; display: flex; position: relative; min-height: 18px; min-width: 0px; box-sizing: border-box;"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 22:11:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109016#M10072</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2017-03-28T22:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109017#M10073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try set attributes only on "changed" attributes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 13:39:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109017#M10073</guid>
      <dc:creator>SarojThapa1</dc:creator>
      <dc:date>2017-03-29T13:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109018#M10074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully, these threads are helpful.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/58761"&gt;ObjectID's change when editing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/24459795/how-can-you-edit-the-objectid-of-a-row-in-an-arcgis-geodatabase" title="http://stackoverflow.com/questions/24459795/how-can-you-edit-the-objectid-of-a-row-in-an-arcgis-geodatabase"&gt;http://stackoverflow.com/questions/24459795/how-can-you-edit-the-objectid-of-a-row-in-an-arcgis-geodatabase&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 13:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109018#M10074</guid>
      <dc:creator>SarojThapa1</dc:creator>
      <dc:date>2017-03-29T13:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109019#M10075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Saroj. I'll try that. But based on my previous comment, it seems like I have to include the OBJECTID as well (otherwise, I get that error I noted in my previous post).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 14:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109019#M10075</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2017-03-29T14:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109020#M10076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the part of the code where you create the variable "newAttributes" and "updateAttributes". The error message looks like it is not getting a graphic object passed to the applyEdits method. Can you check if a null or undefined is passed as an array item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109020#M10076</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2017-03-29T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: applyEdits of a related table record fails occasionally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109021#M10077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thejus:&lt;BR /&gt;For the case where I insert new table records, every once in a while, I do get an 'undefined' attribute which is sending the same error message. Since it only happens like 2% of the time, it's hard to put my finger on the problem. I'm guessing a problem with my asynchronous calls.&amp;nbsp; I'll look at this some more regarding my update attributes as well. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-of-a-related-table-record-fails/m-p/109021#M10077</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2017-03-29T15:22:36Z</dc:date>
    </item>
  </channel>
</rss>

