The userProfileLookup runtime function for Nintex Forms for Office 365 does not return any value

  • 26 March 2021
  • 1 reply
  • 254 views

Userlevel 5
Badge +19
ISSUE
The userProfileLookup runtime function for Nintex Forms for Office 365 does not return any value
ERROR CODE
RESOLUTION
SOLUTION 1:
The User Profile Service may be using a different property name from the user property name being queried. Check the User Profile Service user property name by navigating to the SharePoint Admin center within Office 365 and click on User Profiles from the left menu, then click on Manage User Properties. Edit the property name and you will see under property settings a "Name" and "Display Name" field, make sure to use the "Name" field when performing the query. To get the "Name" of a user for example, use the syntax as shown below.

 

userProfileLookup(Current User,"PreferredName")

 

The below syntax will not return any result.

 

userProfileLookup(Current User,"Name")

 

SOLUTION 2:
If the Current User is hard-coded with a value, make sure it has double quotes.
For example:
userProfileLookup("support@nintex.com","PreferredName")

 

SOLUTION 3:
Make sure that there is no other rules that corrupted or has invalid formula.
ADDITIONAL INFORMATION
RELATED LINKS

1 reply

Badge

It may be that the App needs to be given the right permissions - see this document for additional information:
Manage forms (nintex.com)

Reply