I'm using a linkItemCollection to enable the admin to select a number of pages on the site. I then converts this to a pageDataCollection to get at the data for further use. So far so good.
The problem is when the admin selects a page that has a shortcut enabled to a external site, shortcut to external site but points it to a internal document or selects a document . Then the convertion to pageData naturally fails.
Any Ideas how I can get the links to external site/internal document in a pageDataCollection from a linkItemCollection?
The method I previously used on the LinkItemCollection was .ToPageDataCollection().
This is not possible. I would consider this as a bug in the edit control for linkitemcollection.
One solution is to store the external link in a seperate property.
You got same problem if you create a link to another page in EPi too, not just external links.