Monthly archives: September, 2017

SharePoint access denied when opening Document Library as anonumous user

When I’m opening a document library on a SharePoint subsite, using anonymous user, it is showing 401 unauthorized error message. The permissions for the root web site and for web application are configured correctly, according to this article: www.topsharepoint.com/enable-anonymous-access-in-sharepoint-2010 Is there any other configuration or setting that has to be done for the ‘Pages’ Document …

Database Settings for Search Service Application

I want to avoid hiccups in my SharePoint setup, so I will like to ask what database should I specify for Search Service Application. Should I use the same database specified for my SharePoint Farm Configuration. I am running SharePoint 2013 Server on a single server on windows 2012 datacenter edition. ================= ================= 1 Answer …

ExcuteQueryAsync functions inconvenient

Can any body explain this ? clientContext.executeQueryAsync( Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed)); it always output an Error in on MSDN site sure i’ve something wrong it worked when i replaced with the functions like clientContext.executeQueryAsync(function(sender,args){…},function(sender,args){…}); can anybody tell why ? and whats “createDelegate” ? and whats “this” ? onedrive.live.com/redir?resid=EA9AE801B5328F18!1627&authkey=!APlXsyQQR9a-DJI&v=3&ithint=photo%2cPNG the error Copied code from PastBin getAllFilesInFolders(“galleroma”) …

OOTB edit webpart not working with IE11

The clicking on edit webpart OOTB arrow was working as expected . When i set the compatibility mode to IE 10,9,8 works as expected . But the arrow doesnt work in IE 11 . How do i fix it permanantely ? Can i set compatibility option in master page ? ================= ================= 1 Answer 1 …

Title field null after .Files.Add() with HashTable parameter

I have been developing a solution for a client that involves the following lines of code, to create a new file inside a document library: metadata[“SomeField”] = someFieldValue; metadata[“Title”] = documentTitleValue; var filePath= Guid.NewGuid().ToString(“N”) + “.docx”; var file = pastaEdicao.Files.Add(filePath, fileContent, metadata, false); var newItem= file.Item; The code works, or has worked for a few …

Deleting Search Nav node in powershell CSOM

I have created a script that adds my search nav to my search site but it is still left with what was already there as out of the box. I am having trouble with finding how I can delete the nodes I don’t want. Here is my code at the moment : $Navigation = $ctx.Web.Navigation …