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?
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
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!
is working on a reply...
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.