Get Block list item label from multinode picker field value
I have a block list component 'Quotes' which has a block list field containing a collection of 'Quote' items.
Each quote item has a field 'Author' which is using an Umbraco Multinode picker (limited to a single node) which allows the editor to pick a page in the tree as the author content.
I'm wondering if it's possible to reference a field from the 'Author' page in the nested block items label?
E.g:
Quote - {{ author.firstName }}
Would would give an output like:
Quote - John Smith
I don't see anything in the documentation around this though you can do stuff like reading from the settings model.
I've done some digging to try to figure out what's actually stored when you use a Multinode picker set to a single item and it seems to store a ref to the page via string - see 'author' property:
So I guess {{author.firstName}} would never work as you need the actual author instance/object.
Is there some kind transformation or helper method that we can use to get at the pages data via this field, or some other way of achieving the same effect?
Get Block list item label from multinode picker field value
I have a block list component 'Quotes' which has a block list field containing a collection of 'Quote' items.
Each quote item has a field 'Author' which is using an Umbraco Multinode picker (limited to a single node) which allows the editor to pick a page in the tree as the author content.
I'm wondering if it's possible to reference a field from the 'Author' page in the nested block items label?
E.g:
Would would give an output like:
I don't see anything in the documentation around this though you can do stuff like reading from the settings model.
https://our.umbraco.com/Documentation/Fundamentals/Backoffice/property-editors/built-in-property-editors/Block-List-Editor/#editor-appearance
I've done some digging to try to figure out what's actually stored when you use a Multinode picker set to a single item and it seems to store a ref to the page via string - see 'author' property:
So I guess
{{author.firstName}}
would never work as you need the actual author instance/object.Is there some kind transformation or helper method that we can use to get at the pages data via this field, or some other way of achieving the same effect?
Thanks
is working on a reply...