Access IPublishedContent properties of current node
Hi,
whats the best way to access properties of the current node where i render the doctype grid editors.
i have to read certain values of the umbraco document and render them in the partial views for the doctype grid. i do need this for the preview mode in the backend.
in the frontend i have a workaround using a session variable where i store the actual page id in the masterview.
Access IPublishedContent properties of current node
Hi,
whats the best way to access properties of the current node where i render the doctype grid editors.
i have to read certain values of the umbraco document and render them in the partial views for the doctype grid. i do need this for the preview mode in the backend.
in the frontend i have a workaround using a session variable where i store the actual page id in the masterview.
thx in advance, andreas
Hello,
You can get the current Umbraco node like this:
Jeroen
Thx, works perfect!
Andreas
is working on a reply...