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 all,
I have related links property with links added (both internal and external).
Trying to get the value by node.GetProperty("Related Links Field Name").Value results to null.
The node is definitely published and republished.
What can be the problem?
umbraco v 4.0.4.1 (Assembly version: 1.0.3793.17632)
I think it happens because the Related Links data is stored as XML rather than a string.
Here's a couple threads that should point you in the right direction:
http://forum.umbraco.org/yaf_postst9151_Getting-at-RelatedLinks-data-from-C.aspx
http://forum.umbraco.org/yaf_postst8120_nodegetPropertyRelatedLinks-returns-null.aspx
Thanks. Makes it clear.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Problems getting related links property value
Hi all,
I have related links property with links added (both internal and external).
Trying to get the value by node.GetProperty("Related Links Field Name").Value results to null.
The node is definitely published and republished.
What can be the problem?
umbraco v 4.0.4.1 (Assembly version: 1.0.3793.17632)
I think it happens because the Related Links data is stored as XML rather than a string.
Here's a couple threads that should point you in the right direction:
http://forum.umbraco.org/yaf_postst9151_Getting-at-RelatedLinks-data-from-C.aspx
http://forum.umbraco.org/yaf_postst8120_nodegetPropertyRelatedLinks-returns-null.aspx
Thanks. Makes it clear.
is working on a reply...