Try our conversational search powered by Generative AI!

Adding dynamically values to PropertyLinkCollection



How can i change the values or add values dynamically/programatically for a PropertyLinkCollection property.

Thanks in advance.



Feb 04, 2010 16:14

Do you mean when the link is saved, or when it is rendered?

If you want to add things to the LinkCollection when it's rendered, the property is just a collection of LinkItem objects.  The collection has methods for Add, Remove, etc.  You sbould be able to create a new LinkItem object and insert it at runtime, if you like.

Apr 17, 2010 16:55
* 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.