Using Integer as Identification Key | Community
Skip to main content
Level 2
Jul 12, 2020 11:41 AM UTC
Solved

Using Integer as Identification Key

Hello,

 

I have a custom resource that contains Order information, and i want to use order id (integer) as Identification Key in Campaign Standard. Is it possible to use a custom key of type integer as Identification Key with no automatic primary key selected?

 

I have tried to do so, but when i try to publish, i get an error saying that i need to set a dynamic default value in my custom key (which is not possible for an integer)

 

Thanks!

 

Mario Trapiello

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Jul 13, 2020 3:33 AM UTC

Hi @mtrapiello,

 

Yes, it's possible to use order id as primary key. Reason you're getting error, I believe when you select authorize creating/duplicating option on "Actions on data section" under screen definition. Uncheck both options and try publishing again.

Thanks, Sathees

 

Thanks, Sathees

2 replies

SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Jul 13, 2020 3:33 AM UTC

Hi @mtrapiello,

 

Yes, it's possible to use order id as primary key. Reason you're getting error, I believe when you select authorize creating/duplicating option on "Actions on data section" under screen definition. Uncheck both options and try publishing again.

Thanks, Sathees

 

Translate
Thanks, Sathees
Level 2
Jul 13, 2020 10:00 AM UTC

Hello @satheeskannak ,

 

This solved my problem!I have been able to publish my resource with any issue.

 

Thanks for your help !

 

Mario

Translate