Using Integer as Identification Key

Avatar

Avatar
Validate 1
Level 1
mtrapiello
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
mtrapiello
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
mtrapiello
Level 1

12-07-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

149 posts

Correct reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

149 posts

Correct reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile
SatheeskannaK
MVP

12-07-2020

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.

SatheeskannaK_0-1594611073930.png

Thanks, Sathees

 

Answers (0)