absolut som expressions not working

AEM_USER1

08-06-2020

@workflowuser does anybody know how to turn on the absolut som expressions. right now if i click on CTRL-SHIFT it gives me the som expression without the "xfa.resolveNode". i used to get it before. maybe there is some kind of setting?

 

thank you in advance

Accepted Solutions (1)

Accepted Solutions (1)

radzmar

MVP

10-06-2020

If you're using individual name for each subform and field within the forms hierachry, there is no need to use the resolveNode() method, because you can address the nodes directly. The script editor pays attention of this and automatically decides, if it is need or not.

Answers (2)

Answers (2)

radzmar

MVP

09-06-2020

Do you face any problem with the SOM expression you get? Since the resolveNode() method is quite slow under circumstances it's the best to use the possibly shortest relative SOM expression. xfa.resolveNode() is quite the oppsite, since it start's at the very first note within the XFA tree to find the desired node. I suggest to avoid the usage of resolveNode() or resolveNodes() it possible.

 

https://blogs.adobe.com/formfeed/2008/12/object_expressions_in_xfa.html

GirishBedekar

08-06-2020

I just tried and it works fine