Copied to clipboard

Flag this post as spam?

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


  • Kim Andersen 1447 posts 2196 karma points MVP
    Nov 27, 2014 @ 11:40
    Kim Andersen
    0

    XFS Term Selector not working in Umbraco v6

    Hi there

    We've been using this package on Umbraco 4.11.10 to make it possible for users to pick categories from a local database, and giving them the weight-option on each category.

    Now we want to upgrade to Umbraco 6.2.4, but we can't get this package to work anymore after upgrading.

    When we start typing in the textbox, the spinner on the right starts rotating like it's loading, but there's no words shown in the dropdown.

    We can see in the console that a service is called with this URL:

    /umbraco/webservices/ThesaurusCompleteHandler.ashx?q=family&limit=100×tamp=1417084449752&thesaurus=1292&id=7840&rnd=635526848152961512&_=1417084449752
    

    If we're browsing directly to this URL in the browser, the categories are shown correctly, so I guess it's just a small thing to get the words to show in the dropdown as well.

    One thing that we noticed, is that the aliases of the document types can't containt any hyphens (-), but the document types used by this packe does that. So maybe the aliases from the document types are somehow hardcoded in the C# or something like that.

    I hope that someone can help out.

    Thanks in advance.

    /Kim A

  • Xuntos 3 posts 51 karma points
    Nov 27, 2014 @ 12:32
    Xuntos
    0

    Hi Kim,

    We haven't touched this code in a while and we weren't planning on it either, so we've decided to provide you with the code that is used in the datatype so you can debug it yourself. The download should be enough to fix the issue. As far as I've seen there are some hard coded values, like you suggested, which may cause the problem.

    The download is available on http://www.xuntos.nl/media/6959/tags.zip.

    Regards,

    Michiel

  • Kim Andersen 1447 posts 2196 karma points MVP
    Nov 27, 2014 @ 12:46
    Kim Andersen
    0

    Hi there Michiel

    Thank you very much for your answer :)

    Can I just take the files and import them into my own Visual Studio project? Or do you have a VS solution/project that I can use to open up the files correctly?

    /Kim A

  • Xuntos 3 posts 51 karma points
    Nov 27, 2014 @ 13:11
    Xuntos
    0

    Hi Kim,

    You can just copy the files in your own solution. You might have to change some namespaces and the GUID that is used by the datatype to avoid conflicts.

    Michiel

  • Kim Andersen 1447 posts 2196 karma points MVP
    Nov 27, 2014 @ 13:38
    Kim Andersen
    0

    Okay, thanks Michiel.

    We'll have a look at it.

    Thanks for your help so far :)

    /Kim A

Please Sign in or register to post replies

Write your reply to:

Draft