Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Umbraco_Fan 7 posts 27 karma points
    Jun 22, 2010 @ 18:00
    Umbraco_Fan
    0

    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)

  • Tom Fulton 2030 posts 4996 karma points c-trib
    Jun 22, 2010 @ 18:18
    Tom Fulton
    0

    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

  • Umbraco_Fan 7 posts 27 karma points
    Jun 22, 2010 @ 19:51
    Umbraco_Fan
    0

    Thanks. Makes it clear.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies