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
3597 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, Is there any way to retrieve the fields of CDT and store in a varia
Amit Mishra
over 7 years ago
Hi All,
Is there any way to retrieve the fields of CDT and store in a variable (multiple type)? Scenario: I have to fetch all the fields of CDT (like- EmpId, EmpName, DOJ etc.) and showed them in a drop down options of a form interface.
OriginalPostID-221269
OriginalPostID-221269
Discussion posts and replies are publicly visible
Parents
0
monikar
over 7 years ago
To be specific please change the expression for local!columnNames to
apply(fn!extract(local!dataType, _, char(61)), {char(91) , char(44)& char(32)})
which gives all the column names including the primaryKey(Generally the first field in the CDT)
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
monikar
over 7 years ago
To be specific please change the expression for local!columnNames to
apply(fn!extract(local!dataType, _, char(61)), {char(91) , char(44)& char(32)})
which gives all the column names including the primaryKey(Generally the first field in the CDT)
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data