Get SharePoint List Data

Hi All

Need your help to solve an issue.

I need to get the data from SharePoint List view. That list has 4 views. Tried to get the data using Get List items but it’s not providing that particular view data.

Also, not getting Column type Person or group data, just getting System.Object in that column.

Assigned to column looks as following in SharePoint List

Can someone please help me to get this resolve?

Thanks
Naresh

@Naresh_Upadhyay

Get List Info returns you SharepointList type of result. From this result you can get the Columns like this.

getliostinfoOutputvariable.Columns(0) - This should give you fist column. Change the column index to the desired one to get the column.

@Naresh_Upadhyay

each view will have different id…try to use id instead of name

coming to values…check how to get each column value…instead of update can be used to get as well in below link

ListItem.Fields.Where(function(x) x.DisplayName.Equals(“Display Name of Field”))(0).Value

also as per screenshot we can see that you might have used somethign like variable.ToString…instead try String.Join(",",varaible) this would show data

cheers