You should fetch the value like Daniel is showing you above. Are there any specific reason why you're trying to use GetItem?
If I remember correctly GetItem is handy when you need to output content from a rich text editor where there have been placed a macro. In order to get the content from the macro rendered properly you need to use the "GetItem" extension. Not sure how it's supposed to work on other datatypes...
GetItem does not return anything?
Hi,
I am trying to use the umbraco GetItem function:
but it does not return anything although the useSimpleHeader property is on the page I am calling it from.
Does anyone have an idea where I am going wrong.
Thanks!
try this
Hi Milen
You should fetch the value like Daniel is showing you above. Are there any specific reason why you're trying to use GetItem?
If I remember correctly GetItem is handy when you need to output content from a rich text editor where there have been placed a macro. In order to get the content from the macro rendered properly you need to use the "GetItem" extension. Not sure how it's supposed to work on other datatypes...
/Jan
Yes GetItem is certainly not the one I need to use.
And
does the trick. If I looked at the raw xml in the database for the current node (page) I would have seen that.
Thanks for the replies!
is working on a reply...