Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Is there a "List" property I can use in a Custom New Promotion?



I'm setting up a custom promotion in the new Promotions system. 

I'd like to have a property (or Content Block?) that can be used like a .Net Dictionary, or a List>.

My users will need to add / delete rows.

Something like this:



"red", "125"

"blue", "999"

"green", "xxxxx"

"black", "7654321"


Is something like that possible?

Thanks so much,

 - Ken

Jan 25, 2017 23:13

A promotion type is just another CMS content type, so there is no builtin support for dictionary type. However I guess you can try this:

There is no guarantee it'll work, though. 

Jan 25, 2017 23:45

Thank you Quan,

Is there built-in support for a List type?  Like a List<string> ?

 - Ken

Jan 25, 2017 23:49

It's supported: 

Jan 26, 2017 8:56

Nice.. thanks as always!

Jan 26, 2017 20:10
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.