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
1990 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Saving values into dynamically generated multiple static grids
sushanthp
over 8 years ago
Hi ,
For my requirement , based on the selection of Form1 I need to show Editable grids on form 2. Here I need to display static grid (screenshot attached) multiple times depending on the count of the previous selection (Form 1cdt).
I am unable to save values from multiple grid into single CDT (using single CDT because the number of grids to be displayed is not predictable and is dynamic).But for a single grid I am able to save the value.
Error I'm encountering during multiple grid selection upon inputting the value in any of the grid cell is "Interface Definition: Expression evaluation error in rule 'TestGridRows' (called by rule 'TestGrid') at function a!applyComponents [line 8]: Invalid index (2) for list: valid range is 1..1 ".
Note:- Interestingly if I input the value first in the second grid the value is getting stored properly without any error .(as expected)
Attached ...
OriginalPostID-241615
Discussion posts and replies are publicly visible
Parents
0
Vinay Kumar Rai
over 8 years ago
Hi Sushanth, The error came because the length of the variable ri!cdtTargetLocation is not same as the length of your local!cdtForm1,
I may recommend you can save the value in your target location by clicking the submit button,
using typeof(), attaching code, hope it help
Test_Interface.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Vinay Kumar Rai
over 8 years ago
Hi Sushanth, The error came because the length of the variable ri!cdtTargetLocation is not same as the length of your local!cdtForm1,
I may recommend you can save the value in your target location by clicking the submit button,
using typeof(), attaching code, hope it help
Test_Interface.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data