AnsweredAssumed Answered

Get document NodeRef in field template

Question asked by dreambitc on Nov 10, 2014
Latest reply on Nov 11, 2014 by dreambitc
Hi all!

I have a custom type and a custom form to display nodes of this type on document-details page. I've written custom field template to display the property
and my question is how can i get NodeRef of the current node in a field template?

The first thing that comes to mind is parse url.args and get itemId(nodeRef), but i think there is a better way.

Have any ideas?