Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Primary Key defined in Schema's using autopk and key field attribute

Avatar

Avatar
Validate 1
Employee
nidhiv80682024
Employee

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Employee
nidhiv80682024
Employee

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nidhiv80682024
Employee

09-10-2018

Hello Team,

Difference between autopk="true" defined for primary and primary key defined via <key><keyfield> attribute. Please let me know the difference between the two?

Best Regards,

Nidhi

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
dskhurana
Employee

Likes

7 likes

Total Posts

9 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
dskhurana
Employee

Likes

7 likes

Total Posts

9 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
dskhurana
Employee

09-10-2018

Hi Nidhi,

Autopk="true" is used to declare a unique key.  Read below -

  • autopk (boolean): if this option is activated (autopk="true"), a unique key will be automatically defined. This option may only be used on the main element of the schema. Warning, Adobe Campaign only guarantees that the key generated is unique. It is not guaranteed that the key values are consecutive and incremental.

Thanks

Deepak

Answers (0)