Hello.
I'm trying to get a property from a page, that we're using to determine if one should show a button (for every page).
However i'm unable to get the value in the razor file.
The item has systemname: PageProperties, with the checkbox (bool) having systemname NewsletterButton.
I think the logical thing to do was something like:
var newsletterButton = Model.Item.GetItem("PageProperties");
var newslet = newsletterButton.GetValue("NewsletterButton");
but that does not work, is there a special way to get item page properties in DW?
Thomas