With Nested Content and the (RJP) Multi Url Picker now both being in the core as of umb7.14/umb8, what would the template be for showing the name from a Url Picker property? (given that the editor is configured to author 1 item only)
maybe something like {{ pickerAlias | ncUrlName }} ?
Nested content template examples
With Nested Content and the (RJP) Multi Url Picker now both being in the core as of umb7.14/umb8, what would the template be for showing the name from a Url Picker property? (given that the editor is configured to author 1 item only)
maybe something like {{ pickerAlias | ncUrlName }} ?
Could an example please be added to https://our.umbraco.com/documentation/getting-started/backoffice/Property-Editors/Built-in-Property-Editors/Nested-Content/
Thanks,
Andrew
Hi Andrew,
Looking at the source I don't think it is supported out of the box : https://github.com/umbraco/Umbraco-CMS/blob/v8/dev/src/Umbraco.Web.UI.Client/src/common/filters/nestedcontent.filter.js
I would suggest you create a issue on the issue tracker for this : https://github.com/umbraco/Umbraco-CMS/issues
And if you feel up to it you can always create a PR for it. I feel pretty sure it will get accepted.
An other option would be to roll out your own filter. You can take the source code above as starting point.
Dave
Hi Andrew,
This should work: (only tested in 7.14)
Given that "link" is your id for the property containing the MultiUrl Picker.
You can do something like this to get the property values from the URL Picker, when in Single Mode (maximum one link allowed).
Because, the multiple url picker will return JSON like:
Nice tip John! I really needed that. Thanks :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.