social networking - Sitecore return field "Fields" with zero count in SocialProfiles -
sitecore return field "fields" 0 count in socialprofiles, fields in social network exist. how can need fields?
var socialprofilemanager = new socialprofilemanager(); var twitternetwork = allprofiles.firstordefault(x => x.networkname == "twitter"); if (twitternetwork.fields.count != 0) //dicitionary "fields" empty here { ... }
i had similar situation trying retrieve fields , dealing 0 field count. take @ post: https://stackoverflow.com/a/30519345/4897782
specifically, issue resolved when passed false second parameter in base login method. default true parameter attempts update profile asynchronously, making unavailable during attempts doing.
to able override parameter though, had deviate standard out of box login controls , implement own version of happens when click login. it's pretty simple though. take @ post , resolves issue.
Comments
Post a Comment