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.
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.
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?
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:
/Dennis
Thx, strange tho that in 7.0.1 it works both ways.
This can be closed.
is working on a reply...