Copied to clipboard

Flag this post as spam?

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


  • Dominic 2 posts 72 karma points
    Oct 17, 2018 @ 09:29
    Dominic
    0

    I am trying to get a members id from a node that was selected within a member picker.

     var linkedContent = new Node(Int32.Parse("512198"));
     var linkBrand = linkedContent.GetAncestorNodes().FirstOrDefault(x => x.NodeTypeAlias == "Brand");
     var check = linkBrand.HasProperty("brandContacts");
     var currentContacts = linkBrand.GetProperty("brandContacts") ;
    

    currentContacts only returns a Null and check returns false

    Any help will be much appreciated

Please Sign in or register to post replies

Write your reply to:

Draft