How to create a class variable

Hi Folks,

I have created Custom activity to do CRUD operation to a SharePoint List using CSOM. While using Get List Item i could print all other values in the list except user pickers values like Created by.

I did a workaround of fetching user picker in .net by creating class variable Microsoft.SharePoint.Client.FieldUserValue and got lookup values from the object. Syntax goes like this string authorEmail = ((Microsoft.SharePoint.Client.FieldUserValue)Item[“Author”])?.Email;

But could not replicate same class variable (Microsoft.SharePoint.Client.FieldUserValue)Item[“Author”]) in UiPath and facing an error FIeldUserValue is ambigious in the namespace.

Can we create a custom class variable in UiPath.

Hi @Rajasegar94,
Did you received any update to retreive the Author value instead of Microsoft.SharePoint.Client.FieldUserValue.


I created activity separately to get people picker from Listitem.