Search code examples
sharepoint-onlinenintex-workflow

SharePoint Online Nintex form SPGetCurrentUser()


I have migrated one SharePoint list from 2019 to 365. This list has Nintex Form and that Nintex form has few JavaScript files. In SP Online NWF$().SPServices.SPGetCurrentUser() is returning blank. Any idea how to fix it? Please keep in mind that this is for Nintex Forms (Not Nintex Workflow)


Solution

  • I used this workaround to solve this issue. I added some controls in the form. Now we have new runtime function called userProfileLookup. I used it to populate those controls (e.g user phone, department etc). I accessed value of those controls in JS.