<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>JS in Item view: Why is document.thisItem.node.childNodes modified on lock/unlock?</title><link>https://www.aras.com/community/f/development/36622/js-in-item-view-why-is-document-thisitem-node-childnodes-modified-on-lock-unlock</link><description>While running a method OnFormPopulated, I reference the list document.thisItem.node.childNodes to get an overview of the properties of the current item. 
 This NodeList contains all elements on first load, however, when a lock/unlock action subsequently</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: JS in Item view: Why is document.thisItem.node.childNodes modified on lock/unlock?</title><link>https://www.aras.com/community/thread/6972?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 15:19:11 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1ca7f198-16e4-4244-8300-28d6726c1167</guid><dc:creator>silje.dahl</dc:creator><description>&lt;p&gt;Thank you for an enlightening response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JS in Item view: Why is document.thisItem.node.childNodes modified on lock/unlock?</title><link>https://www.aras.com/community/thread/6961?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 03:20:29 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f4a1705f-592f-4eae-af14-3dbe84635d33</guid><dc:creator>Gopikrishnan</dc:creator><description>&lt;p&gt;Hi Silje Dahl&lt;/p&gt;
&lt;p&gt;This is because&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the item is loaded, nodes will have all the properties&lt;br /&gt;When the item is locked, nodes will have only the properties which is having values&lt;br /&gt;When the item is unlocked, nodes will&amp;nbsp;have only the properties which is having values (Locked By ID is empty in this case). So, this will be always (locked nodes count - 1)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;
&lt;p&gt;Gopikrishnan R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>