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
1796 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am getting a javascript error on a sail form called : Cannot create context fo
aswinb
over 11 years ago
I am getting a javascript error on a sail form called : Cannot create context for UI expression. Reason: Externalization of rule or function reference. I have no idea how to solve this error as it is so vague. Anybody has any ideas?
thanks...
OriginalPostID-110859
OriginalPostID-110859
Discussion posts and replies are publicly visible
0
aswinb
over 11 years ago
this is happening inside a grid saveInto. Basically I am doing the following:
saveInto:{local!gridselection,
ri!something << rule!APN_returnFirstInput(index(_, "selected", null), _)
}
This is the place where it is erroring out. I don't see any problem doing this. Can anybody suggest anything.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jesse.triplett
Appian Employee
over 11 years ago
Hello, try the index(_, "selected", null) call without the return first input. You don't need to discard the value since you are using it.
ri!something << index(_, "selected", null)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aswinb
over 10 years ago
thank you Jesse....that worked...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel