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
5 replies
Subscribers
7 subscribers
Views
2416 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Is there a limit on the number of a!gridRowLayouts that can be included within a
Mike
over 10 years ago
Is there a limit on the number of a!gridRowLayouts that can be included within an a!gridLayout within a!formLayout? I have narrowed my error to the eighth row layout (it's just a copy of the seventh and is properly indexed) and I continue to get the following error:
Interface Definition: Expression evaluation error at function a!formLayout [line 496]: Invalid index (8) for list: valid range is 1..7
thanks...
OriginalPostID-115757
OriginalPostID-115757
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
That error shows that in line 496 of your formLayout your code is trying to index item 9 in a list that only has 8 items (from index 1 to 7) so is not precisely a limit you're hitting but a problem in your logic.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
I had a typo in my comment, I meant:
That error shows that in line 496 of your formLayout your code is trying to get item at index 8 in a list that only has indexes 1 to 7 so is not precisely a limit you're hitting but a problem in your logic.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You need to check your rule around that line to find what lists/arrays you may be indexing and verify why it has only 7 items and you're trying to get index 8
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike
over 10 years ago
Eduardo, the behavior of the interface is odd as the rows displayed in the grid did not match the index sequence (i.e. local item at index 3 was sometimes showing index 7 fields). Once I cleared my cache (actually restarted my pc), the indexes worked properly for the grid SAIL that was previously not working. Any suggestions for clearing saved values in the interface other than delete all\\save and tools\\delete history?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
siddharthg521
over 10 years ago
Hi Mike,
Yes you are correct, interface do behave in the above way you mentioned.
The simple workaround which worked for me is simply copying your SAIL code, closing the intetface tab, opening it again and pasting your code again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel