Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

How to check if the document already exists in a Link Item Collection

Vote:
 

I'm using EPiServer CMS 7.5. I have a block that has a LinkItemCollection property.

public virtual LinkItemCollection LinkList { get; set; }

The user can drag-and-drop any document from the Assets pane into the Link Item Collection. How do I prevent the user from adding a document that already exists in the Link Item Collection while in forms edit mode?

#88933
Aug 04, 2014 15:29
Vote:
 

Ok I answered my own question in StackOverflow:

http://stackoverflow.com/questions/25117391/how-to-check-if-the-file-already-exists-in-the-linkitemcollection

#88970
Aug 05, 2014 10:01
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.