silje_dahl
5 years agoIdeator II
JS in Item view: Why is document.thisItem.node.childNodes modified on lock/unlock?
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...
- 5 years ago
Hi Silje Dahl
This is because
When the item is loaded, nodes will have all the properties
When the item is locked, nodes will have only the properties which is having values
When the item is unlocked, nodes will 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)Thank You
Gopikrishnan R