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
5 subscribers
Views
1170 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi All, We have an existing table in DB(MS SQL Server) with four colu
maheshbabuc
A Score Level 1
over 8 years ago
Hi All,
We have an existing table in DB(MS SQL Server) with four columns and the table having data in it and we don’t have any primary key in the table.
Now I have created a CDT with same four fields and created data store while trying to publishing it I am getting the below error
Can you please help me on this
Thanks in Advance ..
OriginalPostID-168812
OriginalPostID-168812
Discussion posts and replies are publicly visible
Parents
0
akshayan
Certified Lead Developer
over 8 years ago
You can manually add a column with auto-generated integer values in the table and map it as @Id in CDT. If you don't specify an @Id in CDT, Appian automatically tries to add one (a_id) which is causing the issue in this case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
akshayan
Certified Lead Developer
over 8 years ago
You can manually add a column with auto-generated integer values in the table and map it as @Id in CDT. If you don't specify an @Id in CDT, Appian automatically tries to add one (a_id) which is causing the issue in this case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data