Expand my Community achievements bar.

SOLVED

Confused between attributes dbenum, enum and userenum in Adobe campaign classic

Avatar

Level 5

@Parvesh_Parmar ,@AkshayAnand 

,@isahore ,@AndreaBriceno,@ParthaSarathy

,@ParthaS ,@Craig_Thonis ,@Manoj_Kumar_ ,@Amine_Abedour ,@Marcel_Szimonisz,@DavidKangni 

,@Amit_Kumar,@ShashankNigam02,@Ganesh5067, @Jonathon_wodnicki

@Denis_Bozonnet 

Hi All,

 

Confused between attributes dbenum, enum and userenum in Adobe campaign classic

I know we can create enumeration in ACC in 2 ways

one at schema level, another by navigating to admin folder in acc

but m confused between, when to use  attributes dbenum, enum and userenum in Adobe campaign classic while defining attribute in acc

have read the documentation and checked OOB receipient schema but no luck

please help to explain with example ...when to use these  attributes dbenum, enum and userenum in Adobe campaign classic while defining attribute in acc

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Shruti1 ,

When you decide to create an enumeration within the schema definition, use enum="abc" in attribute definition. OOTB Example, enum="gender" in nms:recipient schema.

 

When you decide to create an open or closed type enumeration in /Administration/Platform/Enumerations/ folder , use userEnum="abc" in attribute definition. OOTB Example, userEnum="city" in nms:recipient schema.

 

dbEnum are mostly used in OOTB schemas where those enumerations are 'System' type created under  /Administration/Platform/Enumerations/ folder. Example, dbEnum="operationNature" in nms:operation schema and dbEnum="eventType" in nms:delivery schema.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Shruti1 ,

When you decide to create an enumeration within the schema definition, use enum="abc" in attribute definition. OOTB Example, enum="gender" in nms:recipient schema.

 

When you decide to create an open or closed type enumeration in /Administration/Platform/Enumerations/ folder , use userEnum="abc" in attribute definition. OOTB Example, userEnum="city" in nms:recipient schema.

 

dbEnum are mostly used in OOTB schemas where those enumerations are 'System' type created under  /Administration/Platform/Enumerations/ folder. Example, dbEnum="operationNature" in nms:operation schema and dbEnum="eventType" in nms:delivery schema.