Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Problems linking to catalog items



When linking to ie. a product the link is always empty (resulting in a Name tag), no matter which method I use; Html.ContentLink, Url.ContentUrl or UrlResolver.GetUrl

I've checked the usual suspects such as access/publish filters and HasTemplate()

The product has a controller and view and can be preview fine in edit-mode.

Using CMS 7.5 and Commerce 8.0 with latest the patches.

Could it be some provider-config thats missing?

Any suggestion on how to proceed troubleshooting is greatly appreciated.

Oct 08, 2014 12:37

Can you navigate to the product you are trying to link to, does it have a working URL? Do you set up the routes for catalog content (calling CatalogRouteHelper.MapDefaultHierarchialRouter) in initialization?

Oct 08, 2014 14:24

CatalogRouteHelper.MapDefaultHierarchialRouter was indeed missing. Everything works nice now, thanks Magnus.

Oct 09, 2014 22:43
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.