absolut som expressions not working

Avatar

Avatar
Validate 1
Level 2
AEM_USER1
Level 2

Like

1 like

Total Posts

46 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 2
AEM_USER1
Level 2

Like

1 like

Total Posts

46 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back
Boost 1
View profile
AEM_USER1
Level 2

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)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
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)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
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

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

172 likes

Total Posts

241 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

172 likes

Total Posts

241 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

08-06-2020

I just tried and it works fine