Add ContentReferences to LinkItemCollection

Vote:
 

Hi! 

How do you programatically add a ContentReference to a LinkItem (which is then added to a LinkItemCollection)?


It should be easy enough but hey It's my first day after vacation. ;)

Thanks!

#131491
Jul 28, 2015 16:37
Vote:
 

 Hi Jonas,

Use the UrlResolver to get the URL of the content reference and use that to create a new link item.

Regards,

Toni

#131494
Jul 28, 2015 17:32
Vote:
 

Of course! Thanks Toni.

#131519
Jul 29, 2015 11:04
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.