Can't use dictionary items with <umbraco:item... (4.0.3 / IIS 7.5)
When I'm trying to insert a dictionary item into a template using <umbraco:Item field="[#Print]" runat="server"></umbraco:Item> i get an "Object reference not set to an instance of an object."
Does anyone know why? I have set the node domain/language and created the dictionary item named "Print"...
Also, when trying to insert the item using the "Insert umbraco dictionary item" using tinymce i only get a list of '0's in the drop down list. (The amount does correspond to the amount of configured dictionary items..)
This is the stack trace, should it be of any help:
Can't use dictionary items with <umbraco:item... (4.0.3 / IIS 7.5)
When I'm trying to insert a dictionary item into a template using <umbraco:Item field="[#Print]" runat="server"></umbraco:Item> i get an "Object reference not set to an instance of an object."
Does anyone know why? I have set the node domain/language and created the dictionary item named "Print"...
Also, when trying to insert the item using the "Insert umbraco dictionary item" using tinymce i only get a list of '0's in the drop down list. (The amount does correspond to the amount of configured dictionary items..)
This is the stack trace, should it be of any help:
Please help :)
Matti
Your dictionary list is dispalying correctly? Try to restart the website. I think the cache is corrupted.
cheers,
Richard
I've just stumbled across the same issue. Remove the square brackets and it should work, like this:
Cheers,
David
is working on a reply...