Copied to clipboard

Flag this post as spam?

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


  • John Churchley 272 posts 1257 karma points c-trib
    Aug 03, 2015 @ 14:11
    John Churchley
    0

    Getting umbraco.library.GetDictionaryItem

    Hi,

    I have a separate project within my solution which is reference in my Umbraco site project. I'm calling a method which uses the umbraco.library.GetDictionaryItem however it comes back null. How do I get the context to be right?

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 03, 2015 @ 14:19
    Alex Skrypnyk
    0

    Hi John,

    Do you have dictionary item what you want to get ?

  • John Churchley 272 posts 1257 karma points c-trib
    Aug 03, 2015 @ 14:29
    John Churchley
    0

    I have a directory item called 'glossary'

    the error when I debug is The name 'glossary' does not exist in the current context

  • John Churchley 272 posts 1257 karma points c-trib
    Aug 03, 2015 @ 15:23
    John Churchley
    100

    I ended up passing the dictionary key by adding an overload to the method.

  • 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