volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Adding dynamically values to PropertyLinkCollection

Hi,

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

Thanks in advance.

 

Regards,
Sharath

#36634
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.

#38681
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.