How to create List of items property in Episerver 7.19.

Vote:
 

Hi Team,

We have a business requirement ,where we need to allow the content editors to add multiple values(List<T>) for a property, similar to Linkitemcollection. We cannot use Linkitemcollection as it is having additonal mandatory fields.  Thanks in advance.

#206513
Aug 22, 2019 16:07
Vote:
 

In Episerver 7 you are a bit limited. If you upgrade to Episerver 9 you get the new propertylist option to solve this in the best way

https://world.episerver.com/documentation/developer-guides/CMS/Content/Properties/generic-propertylist/

If that is not possible you can add a content area and create blocks with the required properties you need and use that. 

Or you could use the old way from Episerver 6 days and create a page container in page tree and create a new page type and store it as pages in the tree. I still use this one from time to time. 

#206530
Aug 23, 2019 10:46