Getting "Microsoft.SharePoint.Client.FieldUserValue" with Get List Items Sharepoint activity

Hi, there!

The SharePoint CSOM is rather complicated. But here is how you can do it.

First, make sure you are using the latest version of the UiPathTeam.SharePoint.Activities package. Should be 1.5.2 or later.

Next, you won’t be able to get the value from the DataTable. You’ll have to get the list using the Dictionary option. So for the Get List Items activity, use the Items(Dictionary Array) option.

Then you can get the value by doing something like:

CType(OutputDict(0)("REQUESTER"), Microsoft.SharePoint.Client.FieldUserValue).LookupValue

This will give you the value of the FieldUserValue as a String.

Hope that helps!

3 Likes