Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using Vorto in combination with the ModelsBuilder and have a property wich is a multi url picker, but it won't return a list of UrlPickers.
I've another property for Vorto that uses a single URL Picker and it returns a UrlPicker Model correctly.
Both items are filled in Umbraco.
What's the difference between these and how can I fix it?
Single URL picker code in Partial Class (the override of the default class):
///<summary> ///Category column 3 ///</summary> [ImplementPropertyType("footerColumn3Category")] public UrlPicker.Umbraco.Models.UrlPicker FooterColumn3Category { get { return this.GetVortoValue<UrlPicker.Umbraco.Models.UrlPicker>("footerColumn3Category", fallbackCultureName: "en-US"); } }
Multi URL picker code in Partial Class (the override of the default class):
///<summary> ///Items column 3 ///</summary> [ImplementPropertyType("footerColumn3Items")] public IEnumerable<UrlPicker.Umbraco.Models.UrlPicker> FooterColumn3Items { get { return this.GetVortoValue<IEnumerable<UrlPicker.Umbraco.Models.UrlPicker>>("footerColumn3Items", fallbackCultureName: "en-US"); } }
Hello,
Have a look at this issue: https://github.com/mattbrailsford/umbraco-vorto/issues/19
Properties with Vorto sometimes aren't converted how they should. The latest version on Github should fix this, but it's not released yet: https://github.com/mattbrailsford/umbraco-vorto/commit/64093925b70b2bcc2a03965a1a7cf3984aefff76
You could also try this workaround: https://our.umbraco.org/projects/developer-tools/umbraco-core-property-value-converters/feedback/69249-problem-with-multiple-media-picker-inside-vorto-and-value-converter#comment-227879
Jeroen
I've written a blog where I explain how you can solve this problem: http://24days.in/umbraco/2015/multilingual-vorto-nested-content/
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Vorto - Modelsbuilder - Multi Url picker
I'm using Vorto in combination with the ModelsBuilder and have a property wich is a multi url picker, but it won't return a list of UrlPickers.
I've another property for Vorto that uses a single URL Picker and it returns a UrlPicker Model correctly.
Both items are filled in Umbraco.
What's the difference between these and how can I fix it?
Single URL picker code in Partial Class (the override of the default class):
Multi URL picker code in Partial Class (the override of the default class):
Hello,
Have a look at this issue: https://github.com/mattbrailsford/umbraco-vorto/issues/19
Properties with Vorto sometimes aren't converted how they should. The latest version on Github should fix this, but it's not released yet: https://github.com/mattbrailsford/umbraco-vorto/commit/64093925b70b2bcc2a03965a1a7cf3984aefff76
You could also try this workaround: https://our.umbraco.org/projects/developer-tools/umbraco-core-property-value-converters/feedback/69249-problem-with-multiple-media-picker-inside-vorto-and-value-converter#comment-227879
Jeroen
Hello,
I've written a blog where I explain how you can solve this problem: http://24days.in/umbraco/2015/multilingual-vorto-nested-content/
Jeroen
is working on a reply...