GetListItems Method

GetListItems Method

This method retrieves data from a given list.

This method returns data to the provided context store. Unlike the data service, which is able to fill all the entities in the context store in one step, this method fills data to a single entity, which name is the same as the name of the SharePoint’s list.

Parameters

Parameter Type Description
ListName String (Context Store Reference, Data Constant Reference) Name of the SharePoint list.
ViewName String (Context Store Reference , Data Constant Reference) Name of the view. If omitted, default view is taken.