Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
Hi John,
Do you have dictionary item what you want to get ?
I have a directory item called 'glossary'
the error when I debug is The name 'glossary' does not exist in the current context
I ended up passing the dictionary key by adding an overload to the method.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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?
Hi John,
Do you have dictionary item what you want to get ?
I have a directory item called 'glossary'
the error when I debug is The name 'glossary' does not exist in the current context
I ended up passing the dictionary key by adding an overload to the method.
is working on a reply...