AnsweredAssumed Answered

Access User Profile via JavaScript from Nintex for Office 365 Forms

Question asked by cclements on Oct 21, 2016
Latest reply on Nov 2, 2016 by cclements

Community,

 

Have any of you had any luck accessing the SharePoint User Profile services from JavaScript (JSOM) from a Nintex for Office 365 form?

 

Some of the problems I run into is a "operation not supported" error when calling the SP.PeopleManager "get_context".

 

I did manage to dig up a method in the Nintex runtime functions with an interesting comment:

 

Old client side implementation of user profile lookup.
// This function is preserved to be used later for O365
// May need to create a new lookup object type
NWF.RuntimeFunctions.SPUserProfileLookupClientCall = function (targetUser, profilePropertyNames) {...

 

Is this for workflow?  Can it be leveraged from a form?

 

Chris

Outcomes