Hi, I added custom properties on the articulate post document type from backoffice, but can't access the property from razor views because the property is not part of Articulate.Models.PostModel object returned,
How can I access the properties I added from the razor view pages
You could also create your own model which inherits from the PostModel and add the properties on there. There is an event in which it's possible to return a different model: http://issues.umbraco.org/issue/U4-5065#comment=67-16186
Extending Articulate Document Types properties
Hi, I added custom properties on the articulate post document type from backoffice, but can't access the property from razor views because the property is not part of Articulate.Models.PostModel object returned,
How can I access the properties I added from the razor view pages
Hello,
You could try to download the source code and update the PostModel there so it has all the properties: https://github.com/Shazwazza/Articulate
You could also create your own model which inherits from the PostModel and add the properties on there. There is an event in which it's possible to return a different model: http://issues.umbraco.org/issue/U4-5065#comment=67-16186
Jeroen
is working on a reply...