I'm having problems in NWC with the SharePoint online - create an item action when I try to set a value for a person column.
I've created a NWC form with anonymous access. The scenario is an org with lots of casual and contract staff who do not have corporate user accounts, they will select a managers email from a data lookup control.
I have a data connection to Azure Active Directory as the source for a 'Manager' data lookup control on the form.
This return the email address for the user from Azure AD.
Â
I added a SharePoint Online create an item action.
This is configured against a list in a SharePoint online site.
This list has a person type column called manager.
Â
When I try to insert a value against the person field all the start event options are greyed out.
Â
Next step I thought was to add an action 'SharePoint Online - Query User Profile'. This takes the email from the form and will put the user details into an object variable.
Â
However when I go back to the create an item and select the new 'ManagerObject' there are no fields that are suitable to insert.
Â
https://help.nintex.com/en-US/nwc/Content/Designer/Actions/SharePointOnline-CreateanItem.htm
Looking at the help file it shows integer type for person field.
So I'm guessing that is the ID of the person from the hidden user list in SharePoint site collection root. I cant find anyway to get to that integer though.
Â
Any thoughts on how to take a validated user email/UPN from a Azure AD data source and put it into a SharePoint list person field?
Â
Thanks
Gavin
Â