Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use internal links with wildcard items in Sitecore?

I have a multiple site Sitecore solution. All the sites share a product range which is stored inside a 'Shared data' node that sits at the same level as the root nodes of the sites. The individual product pages on a site use a wildcard item to lookup the product based on the last part of the URL.

This means that we can't use internal links in the rich text editor to point to the product page on any of the sites because the product item does not have a specific site URL.

Does anyone know of a way to overcome this, or perhaps know of a way to augment the default behavior of interal links?

like image 878
Martin Davies Avatar asked Mar 11 '13 14:03

Martin Davies


1 Answers

Have you considered using cloned items, see here for details.

This would allow you to share the content whilst having the appearance to the end user of the Products being inside the content tree allowing you to use the RTE and internal link look ups?

For extra information about clones, see here and here

You'd also need to do some work in the link provider to link to the cloned version of a product if you wanted. See this question.

like image 72
Wesley Lomax Avatar answered Sep 29 '22 02:09

Wesley Lomax