Copied to clipboard

Flag this post as spam?

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


  • Sam 23 posts 115 karma points
    Oct 10, 2018 @ 13:13
    Sam
    0

    Member Service and Adding member

    Hi All,

    I am adding members through the Member Service.

    Currently I am streaming a CSV with values and splitting them on ' , '.

    My issue is below, where i am setting the member value to "business".

    if (member.HasProperty("business"))
           member.SetValue("business", _splits[3]);
    

    Because the 'business' value in umbraco members is a Member picker, it cant set the value of the business supplied in the csv.

    enter image description here

    How do i go about getting these values in the member service?

    Many thanks, Sam

Please Sign in or register to post replies

Write your reply to:

Draft