Dominik Juszczyk Technical blog

14Dec/081

LinkItemCollection property in EPiServer

I was really happy reading on EPiServer Labs blog post by Ted Nyberg that in EPiServer CMS 5 R2 there is a new property type introduced - LinkItemCollection. You can read more on Ted's blog - but in short, it is a native property that does what old good Multi-page property has done so far (and some others implementation of multi link property).

I was using multi-page property in many projects and still I will be using it on all EPiServer 4.6x projects, but for sure, in all new CMS 5 I will go with LinkItemCollection. Especially that what I have just checked it is "smarter" then Multi-page property. "Smarter" because it knows what links it stores - and for example, while moving document (or deleting) that is referred by LinkItemCollection now we will get a warning. This was  not possible with Multi-page property.

Still there are some areas where probably I will stick to Multi-page property. It is great base for creating new specialized properties for different purposes.  We have created few new properties for which Multi-page property source code was a base like for example property called multi-image list - which allows for adding images with caption, alt text, link URL and so on. I'm not sure for now if it is possible with the new property - if not multi-page property isn't dead for us (at least for the time being :) )