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
2317 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I'm annotating a CDT to set it up as a datastore entity. One of t
Jason Ruvinsky
Certified Lead Developer
over 11 years ago
I'm annotating a CDT to set it up as a datastore entity.
One of the fields of the CDT is essentially an enumeration. It will contain a text value in the CDT, but in the database this text value maps to a reference table, and the id that matches it needs to go into the table the CDT is linking to (it is a foreign key). While this is simple enough to set up with queries, I'm looking for some advice on how to set up the CDT annotations so that it will work with query rules and write to datastore entities....
OriginalPostID-91831
OriginalPostID-91831
Discussion posts and replies are publicly visible
Parents
0
Jason Ruvinsky
Certified Lead Developer
over 11 years ago
FYI, in this case we ended up just replacing the text enum with the table id in the CDT, and setting up constants for each id.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jason Ruvinsky
Certified Lead Developer
over 11 years ago
FYI, in this case we ended up just replacing the text enum with the table id in the CDT, and setting up constants for each id.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data