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
7 replies
Subscribers
8 subscribers
Views
3596 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi I want to populate dropdown field on my form dynamically.I am on appian 7.2
achaugule
over 10 years ago
Hi I want to populate dropdown field on my form dynamically.I am on appian 7.2
I am using following code
importScript('/plugins/servlet/FormsExt.js');
FormAPI.populateDropdown("txtMaterialCode", ["getMaterialCodeMappingExpRule","Carton","No"]);
Here
getMaterialCodeMappingExpRule is an expression rule which takes two parameters.
When I execute this code i get following error
"Unable to get value of the property 'options': object is null or undefined"
Any pointer to this will really be helpfull....
OriginalPostID-105563
OriginalPostID-105563
Discussion posts and replies are publicly visible
Parents
0
achaugule
over 10 years ago
Hi Ajinkya Thanks for suggestion,
My expression rule is not returning an object but perticular field of an object.
In form API guidelines there is an option that if id and value of drop down remains same then id_attr and display_attr are optional.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
achaugule
over 10 years ago
Hi Ajinkya Thanks for suggestion,
My expression rule is not returning an object but perticular field of an object.
In form API guidelines there is an option that if id and value of drop down remains same then id_attr and display_attr are optional.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data