Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
2907 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I am using Dynamic Link in a grid Field. When I am clicing it is always selectin
rajeshs
over 9 years ago
I am using Dynamic Link in a grid Field. When I am clicing it is always selecting 1st item. What I have found that for dynamic link, if I use save List in saveInto variables then it always display 1st item. Even if I put one variable in saveInto but put in {} then it displays always 1st item. After removing {} in this case, it started working fine. But, it put limitation if I want to use List of a!save in saveInto for dynamic link. Please advise what is the issue. I am using Appian 7.9. Attached is the code for your reference.
gridDynamicLink.txt
OriginalPostID-158204
OriginalPostID-158204
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 9 years ago
Check out this thread. If creating dynamic links in a looping function you must use a sub-rule if you want multiple saveInto targets
forum.appian.com/.../e-141120
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nareshs427
Certified Senior Developer
over 9 years ago
Hi Rajesh,
Dynamic Link will not work directly in apply() with multiple save in SaveInto. This will be considered as single while constructing the loop and will not apply for next items in the array. To achieve this you have to create a rule for a!dynamicLink with multiple saveInto (for each a!save). Please check the attachment for the corrected code with rule used.
Hope this helps.
gridDynamicLink.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rajeshs
over 9 years ago
It worked. Thanks for your suggestion!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel