Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Trusha Savsani 15 posts 94 karma points
    Aug 16, 2017 @ 14:28
    Trusha Savsani
    0

    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.

  • Luke Geddes 5 posts 106 karma points
    Oct 16, 2017 @ 15:40
    Luke Geddes
    1

    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

Please Sign in or register to post replies

Write your reply to:

Draft