Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Kleber Hucalo 26 posts 165 karma points
    Jul 29, 2014 @ 01:34
    Kleber Hucalo

    Vorto with Multinode picker

    Hi there

    I have the following code to display the content from a umbraco multinode content tree picker:

    var prod = Model.Content.GetPropertyValue("productPicker").ToString().Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).Take(8);

    @foreach (var productsid in prod) {

    var items = new DynamicNode(productsid);






    But this show the vorto code instead the title.

    If I use @productid.GetVortoValue("title") it does not work (does not exist).

    @items.GetVortoValue("title") does not work either.

    Any suggestion? thanks

  • Matt Brailsford 2368 posts 11485 karma points MVP 6x c-trib
    Jul 29, 2014 @ 09:32
    Matt Brailsford

    Hi Kleber,

    Vorto doesn't work with DynamicNode so you might want to change that line to var items = Umbraco.TypedContent(productsid) and see if that helps.

    Many thanks


  • Kleber Hucalo 26 posts 165 karma points
    Jul 29, 2014 @ 22:40
    Kleber Hucalo


    Works like a charm.


Please Sign in or register to post replies

Write your reply to: