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 1258 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 6163 posts 24143 karma points MVP 8x 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 1258 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 1258 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.

Please Sign in or register to post replies

Write your reply to:

Draft