Hi,

If you are experiencing “DataTokens must contain an ‘umbraco-doc-request’ key with a PublishedContentRequest object”, you might have configured static routes with RouteTable.Routes.MapRoute(…).

Using the default UmbracoHelper Umbraco from Umbraco.Web.Mvc on these static routes might cause this error.

The solution is using new UmbracoHelper(UmbracoContext.Current) instead.

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here