Create an index in a list using CSOM

I have been asked about how to create an list index programmatically in SharePoint 2010\2013\2016. You can do that using server object model as follows: using (SPSite site = new SPSite(“http://SHAREPOINT_SITE_URL”)) using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists[“LIST_TITLE”]; SPField field = list.Fields[“FIELD_NAME”]; field.Indexed = true; field.Update(); } For Office 365 or for SharePoint…

0

Cross-Site Scripting, SharePoint Apps, App Parts and Office 365

Almost all modern browsers have implemented techniques to detect and prevent cross site scripting attacks (XSS filtering). You will notice in IE 8 and above this XSS filtering is enabled by default for the internet zone. Since the release of SharePoint 2013 adding OData support, expanding the RESTful services and empowering the CSOM (Client side…

2