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
2 replies
Subscribers
8 subscribers
Views
969 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Im using the Advancced Forms utilities plugin, and tried the code below, but it
Jess
over 11 years ago
Im using the Advancced Forms utilities plugin, and tried the code below, but it wont display any values on my second dropdown ("towarehouse"). I also downloaded sample app "dynamic dropdown - query rules and ds", I published DS, run the app but it wont show anything also on the second dropdown. There's no exception found, and i dont know how to get this work. Please help. Thanks!
var materialID = window.FormAPI.getValue("fromWarehouse").id.split(";")[window.FormDesigner.lastRowEvent];
FormAPI.evaluateServerSideExpression(function(val) {
debugger;
//Removing extra quotes from the text
for(var i = 0; i < val.length; i++){
val[i] = val[i].replace(/"/g,"")
}
FormAPI.updateGridDropdownValues("toWarehouse", val, val)
},"=getAssetBalFilter(0,"+materialID+").warehouse");...
OriginalPostID-63086
OriginalPostID-63086
Discussion posts and replies are publicly visible
Parents
0
Ravichandran Thiruganasambandham (Ravi Sam)
Certified Lead Developer
over 11 years ago
I think you need to identify the row that you want updated, can you try,
FormAPI.updateGridDropdownValues("toWarehouse", [window.FormDesigner.lastRowEvent], val, val);
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Ravichandran Thiruganasambandham (Ravi Sam)
Certified Lead Developer
over 11 years ago
I think you need to identify the row that you want updated, can you try,
FormAPI.updateGridDropdownValues("toWarehouse", [window.FormDesigner.lastRowEvent], val, val);
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data