Upload a file in SharePoint using REST and c# console application


Hi, In my last post, I have explained how to create a sub site using REST from and Console application. In this blog  will explain how we can upload a file, which is located in file system, will be uploaded to sharepoint Document library. So if I brief about requirement here: Need to upload aContinue reading “Upload a file in SharePoint using REST and c# console application”

Get SharePoint search results using REST ajax call from Html


Hi, We all aware the SharePoint exposed REST Api in order to perform various action at client side. There are some other ways also which a developer can adopt instead of REST(like CSOM) but that requires again client context. So it is recommenced that if we are using SharePoint Apps then use CSOM to get and updateContinue reading “Get SharePoint search results using REST ajax call from Html”

Create Sub Site in SharePoint using REST and c# console application


Hi, Recently, I got an requirement to create a SharePoint sub site from the some .Net application which is hosted somewhere hosted outside the SharePoint environment. It is provided that the .Net application can be added in same domain. So if I brief about requirement here: Need to create a sub site in SharePoint site collectionContinue reading “Create Sub Site in SharePoint using REST and c# console application”

Enable SP.JS in publishing sites for SP 2013


Hi, In my previous post, I have explained the way to add CSOM on master page of any kind of site. But later on when testing same code with publishing site, I realized that sp.js is not loaded on publishing site by default. So in this post I will discuss how to enable sp.js inContinue reading “Enable SP.JS in publishing sites for SP 2013”

SharePoint CSOM for beginners: Get Current User details


Hi Guys, This blog is targeted to developers who are novice to the client side object model in SharePoint. SharePoint apps by default provides a basic stub for getting user details inside app. But sometimes it is required to add client side code in simple script file to get user information. I hope this information willContinue reading “SharePoint CSOM for beginners: Get Current User details”

SharePoint get followed sites using REST Api


Recently I was tasked with a project requirement that the user should be able to see list of content he/she followed. To me this sounds much like using the following feature of SharePoint 2013 which allows you to follow documents, sites, people and tags. Also, we don’t want the user to navigate to his/her mySiteContinue reading “SharePoint get followed sites using REST Api”

Send message to client app part using a “PostMessage Shim”


In this post, I’ll walk through how to use the postMessage api to enable cross-frame communication between your Client App Parts and the hosting SharePoint page, to make your SharePoint App Parts more dynamic and responsive to changes in the parent page. Overview In the SharePoint 2013 App Model, Client App Parts are implemented asContinue reading “Send message to client app part using a “PostMessage Shim””

SharePoint 2013: The search service is not able to connect to the machine that hosts the administration component.Verify that the administration component.


Hi, Issue: The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component ‘GUID’ in search application ‘Search Service Application’ is in a good state and try again. In Farm Search Administration page when click on “Modify Topology” get error “An unhandled exception occurred in theContinue reading “SharePoint 2013: The search service is not able to connect to the machine that hosts the administration component.Verify that the administration component.”

Fix for Memory leak by Noderunner.exe


Hi, Issue: My virtual development machine is allocated 8 GB RAM out of 16 GB of Host. Still it runs very slow. In order to develop things I have to stop the Search service and memory consumption reduced to ~5GB from 6-7GB. But this is just a work around what if I need to build some moduleContinue reading “Fix for Memory leak by Noderunner.exe”

Allow anonymous access


Hi all, As per one of my project requirement, I need to configure SharePoint 2013 sites to be accessed by anonymous users. So I had configured the anonymous access on SP 2013 web application and documenting steps below which are required to configure anonymous access to an existing SharePoint 2013 site. 1. Please navigate to the SharePoint 2013 Central AdministrationContinue reading “Allow anonymous access”