Copied to clipboard

Flag this post as spam?

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


  • Rune Grønkjær 1371 posts 3102 karma points
    Jan 19, 2016 @ 10:44
    Rune Grønkjær
    0

    Vorto not working with DTGE

    It looks like that Vorto properties is not working in some cases in DTGE.

    Looks like it fails when I have doc type with more than one property. I have it working on a single doc type with a vorto textbox and a simple drop down. On others it's not working. E.g. a doc type with a content picker and a vorto RTE.

    Looks like the problem is when it calls "/umbraco/backoffice/VortoApi/VortoApi/GetLanguages?..." where the dtdguid is undefined.

    The return data from the server looks like this: {"Message":"The request is invalid.","MessageDetail":"The parameters dictionary contains a null entry for parameter 'dtdguid' of non-nullable type 'System.Guid' for method 'System.Collections.Generic.IEnumerable`1[System.Object] GetLanguages(System.String, Int32, Int32, System.Guid)' in 'Our.Umbraco.Vorto.Web.Controllers.VortoApiController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter."}

    Cheers Rune

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Jan 19, 2016 @ 11:46
    Dave Woestenborghs
    0

    Hi Rune,

    We have seen similar problems with nested content.

    It's better to wrap your whole grid in a vorto property. Have a Jeroen's article on how we did it with Nested Content : http://24days.in/umbraco/2015/multilingual-vorto-nested-content/

    Dave

  • Rune Grønkjær 1371 posts 3102 karma points
    Jan 19, 2016 @ 12:02
    Rune Grønkjær
    0

    Hi Dave

    Depends on the case I guess. It might end up being like that, but in a true 1-1 grid the webmaster wouldn't have to set up all the grid items again. Just translate the ones already there.

    I did test the nested content/Vorto solution but it will be an enormous amount of work that is needed if I have a lot of doc types with different property sets and maybe more than one tab with multilingual content. Vorto works great without nested content as well because of the "sync" feature.

    So all in all I would love for Vorto to work properly with DTGE.

    /Rune

  • kows 81 posts 151 karma points c-trib
    Nov 24, 2017 @ 10:47
    kows
    0

    I have a similar issue when combining with LeBlender. With 2 small edits in the javascript file of Vorto I was able to overcome the "null dtdguid" & get the flow working. Though I'm not sure if all the logic remains valid. Perhaps one of the authors could explain the need for GetByAlias after GetById. In my understanding, GetByAlias fails because it searches for a property on the current content item instead of my LeBlender editor.

    JS changes

  • Asembli 80 posts 253 karma points
    Oct 30, 2018 @ 06:25
    Asembli
    0

    Hi,

    I also have issues with this - vorto inside nested contents. My solution without changing the js code (#kows) is to first save inserted datatype as eg. label -> Save (now property got id). Then change label to vorto datatype -> Save.

    /Asembli

Please Sign in or register to post replies

Write your reply to:

Draft