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'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
I've tried
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
Thanks
Hi,
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:
Upload image
Image will be uploaded when post is submitted
Get name of node from multi tree node picker in umbraco 8
Hi all
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
I've tried
but its not working. I've value in the property but not able to get the node details
Thanks
Hi,
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...