I'd like to look up a dictionary item from within a custom WebApi controller, however it seems that umbraco.library.GetDictionaryItem() is not using the current Culture setting. How do I get the method to use the current Culture setting?
Umbraco 7 / dictionary functions throughout the rest of the project fuction properly.
GetDictionaryItem in custom controller
Hi,
I'd like to look up a dictionary item from within a custom WebApi controller, however it seems that umbraco.library.GetDictionaryItem() is not using the current Culture setting. How do I get the method to use the current Culture setting?
Umbraco 7 / dictionary functions throughout the rest of the project fuction properly.
Thanks, Steve
Hi Steve,
Try to use
Umbraco.GetDictionaryValue()
I think umbraco.library.GetDictionaryItem() isn't modern way to get dictionary.
Thanks
is working on a reply...