Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Nov 23, 2012 @ 11:12
    Ismail Mayat
    0

    GetDictionaryItem not working in webapi

    Guys,

    I have umbraco 4.7.0 site and in the same iis site I have webapi the method returns back a string. The string is constructed from a template that is pulled from lucene index via examine.  In the template there are some markers these are going to be replaced with dictionary items.  The issue i am having is that when in webapi i do GetDictionaryItem I get nothing back.

    The key and value definately exist becuase if I do GetDictionaryItem in template it works.  Any ideas?

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Nov 23, 2012 @ 12:52
    Ismail Mayat
    0

    In answer to my own question i added the following to the web.config

    <globalization  culture="en-GB" uiCulture="en-GB" />

    and now it works!!!!

    weird!

  • 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.

Please Sign in or register to post replies