Enumerate all properties in Display Templates – Search Results

proicon_listsearchWe use Display templates to customize search results. By default there will be many properties fetched for each search item & only a few will be displayed (rendered) like Title, Summary, Path…

For getting remaining properties, you can always do below:Read More »

Advertisements

SP Online: For security reasons DTD is prohibited in this XML document

You may be getting the above error when you try to execute a CSOM code on a SharePoint
Online Site like below:

var tenant = new Tenant(clientContext);
SPOSitePropertiesEnumerable spp = tenant.GetSiteProperties(0, true);
clientContext.Load(spp);
clientContext.ExecuteQuery();

Read More »