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
i've added a multitree node picker in a member type node. now in c#, i need to get the node name of selected node.
Can anyone help me to how to get node data from multinode tree picker from a Member Type node
IMemberService memberService = Services.MemberService;
var logedInUser = Membership.GetUser();
var memberData = memberService.GetAllMembers().FirstOrDefault(x => x.ContentType.Alias == "Member" && x.Username == logedInUser.UserName);
var stores = memberData.GetValue<IEnumerable<IPublishedContent>>("storeId");
but its not working. I've value in the property but not able to get the node details
Are you getting any errors?
What is the value of stores?
(don't forget it is a collection so you will need to iterate over the results to get the node)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted