When I call the code below:
var clientContext = new SP.ClientContext.get_current();
var peopleManager = new SP.UserProfiles.PeopleManager(clientContext);
personProperties = peopleManager.getMyProperties(); ...
the getMyProperties()
rise an error like: this.get_context is not a function; can someone help me?
0 commentaires:
Enregistrer un commentaire