Copied to clipboard

Flag this post as spam?

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

  • Michiel 30 posts 61 karma points
    Feb 04, 2014 @ 15:21

    Umbraco 7.0.3 no more @CurrentPage.documentTypeAlias

    Just update my site to 7.0.3 via nugget. Connection string to the db was gone first of all. After I recoverd it I'm having trouble finding the documentTypeAlias of a page by using @CurrentPage.documentTypeAlias.

    Is this depricated or am I holding it wrong?

  • Dennis Aaen 4437 posts 17900 karma points admin hq c-trib
    Feb 04, 2014 @ 20:09
    Dennis Aaen

    Hi Michiel,

    I have just tried setup an Umbraco 7.0.3 to see if I could reproduce your problems with using the @CurrentPage.DocumentTypeAlias, and I found out by testing that  the @CurrentPage.DocumentTypeAlias is case sensitive.

    So you have to write it like this:



  • Michiel 30 posts 61 karma points
    Feb 05, 2014 @ 09:51

    Thx, strange tho that in 7.0.1 it works both ways.

    This can be closed.

Please Sign in or register to post replies

Write your reply to: