In my name template field i have {{linkNode}}, which is the property name of a content picker in that Nested Content. What i get as a result is an Umbraco UID. What i actually want is the value of a property of linkNode (respectively "Name") so the name of the Node is displayed instead.
Thanks for any help in advance and have a nice day
Nested Content Template Field
Good day!
In my name template field i have {{linkNode}}, which is the property name of a content picker in that Nested Content. What i get as a result is an Umbraco UID. What i actually want is the value of a property of linkNode (respectively "Name") so the name of the Node is displayed instead.
Thanks for any help in advance and have a nice day
John
Hi Peter,
Are you using Nested Content that comes with core or the standalone package version?
With the core version and package greater than version 0.4 you can do this as name template
This will get the name of your linked node and shows it item name.
I just added this to the docs this week : https://our.umbraco.org/documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Nested-Content#configuring-nested-content
See the doctypes property
Dave
Is the ncNodeName pipe still valid in Umbraco 8? I tried that and I still get "Item 1", "Item 2", etc.
If I remove the pipe, I get a JSON representation of the linked node.
Just tested in 8 and it seems that "{{linkNode | ncNodeName}}" does still work :)
That works like a charm, thank you.
Have a nice day! Peter
is working on a reply...