Copied to clipboard

Flag this post as spam?

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


  • Jorge 37 posts 119 karma points
    Jan 13, 2017 @ 08:37
    Jorge
    1

    How Umbraco GetDictionaryItem works

    I am using Visual Studio 2015 in debug mode, and running Diagnostic tool. The Umbraco version is 7.5.3

    My question is:

    Do umbraco always travel back to database everytime it use GetDictionaryItem?

    As you can see in my screenshot, everytime I debug, an event was showing it was querying at database, please somebody enlighten me. Thanks

    enter image description here

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Jan 14, 2017 @ 10:38
    Alex Skrypnyk
    0

    Hi Jorge

    Try to use Umbraco helper instead of library:

    Umbraco.GetDictionaryValue("createdOn")
    

    Maybe it will help.

    Thanks,

    Alex

  • 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