Category Archives for "SharePoint Server Object Model"

Retrieve large number of items from SharePoint List

Retrieve large number of items from SharePoint List

This SharePoint tutorial explains, how to retrieve a large number of items from the SharePoint 2013/2016 list. For better performance, we can either user SPQuery or PortalSiteMapProvider Class in SharePoint. If you have to retrieve a large number of items and also need a better performance then you should use one of the methods below: […]

Hide fields or Columns in NewForm, EditForm and DispForm in SharePoint 2010 using SharePoint Server Object Model

This SharePoint 2010 tutorial explains, how we can hide fields or columns in SharePoint list forms such a NewForm, EditForm or DispForm using SharePoint 2010 server object model code. Suppose you have a SharePoint 2010 list that contains some fields and you want some fields should not appear in some forms. This you can achieve […]

Retrieve Selected Fields using getitembyidselectedfields in SharePoint 2016/2013/2010

getitembyidselectedfields sharepoint

This SharePoint tutorial will discuss, how to get the value of selected fields from SharePoint list using the SharePoint server object model. Here we will use the getitembyidselectedfields method of SPList in SharePoint. getitembyidselectedfields SharePoint getitembyidselectedfields method presented in SPList class which is presented in Microsoft.SharePoint.dll. This method gets the list item with the specified […]