Articulate : Cannot find the Umbraco route definition in the route values.
Hi,
I am using Articulate plugin to add blog in my Umbraco application.
I have created my custom theme same as 'Shazwazza'. When I add my site's Header into Mater.cshtml, It shows all posts properly.
But when I click 'Archive' to list categories, it throws error like 'Cannot find the Umbraco route definition in the route values, the request must be made in the context of an Umbraco request'
on the line 'IPublishedContent currentPage = Umbraco.TypedContent(CurrentPage);' in my controller (used to get values in my header).
I am new to Articulate, please guide me to solve this problem.
I had a similar issue which I resolved using the Umbraco.AssignedContentItem. Try using Umbraco.AssignedContentItem instead of the line that is causing the error.
Articulate : Cannot find the Umbraco route definition in the route values.
Hi,
I am using Articulate plugin to add blog in my Umbraco application.
I have created my custom theme same as 'Shazwazza'. When I add my site's Header into Mater.cshtml, It shows all posts properly.
But when I click 'Archive' to list categories, it throws error like 'Cannot find the Umbraco route definition in the route values, the request must be made in the context of an Umbraco request'
on the line 'IPublishedContent currentPage = Umbraco.TypedContent(CurrentPage);' in my controller (used to get values in my header).
I am new to Articulate, please guide me to solve this problem.
Thanks in Advance.
Hi Trusha,
I had a similar issue which I resolved using the Umbraco.AssignedContentItem. Try using Umbraco.AssignedContentItem instead of the line that is causing the error.
Luke
is working on a reply...