SharePoint 2013 Hosting News – How to Stop Following a Document Using REST in SharePoint 2013 ?

This article shows a way to stop following a document (using REST) that’s already followed by the user in SharePoint 2013.
SharePoint-2013-Hosting
On your Developer web site, open the “Napa” office 365 Development Tools and so choose Add New Project.

  • Select the App for SharePoint template, name the project and so click the create button
  • Replace Default.aspx with the following code
  • Replace APP.js with the following source code
  • Now Publish Your App

1
Next step, change the Permission: Tenant = Write, User Profiles = Read, as you can see on the below picture.

2
Then, write the following code in Default.aspx and App.js file.

3

App.js

Now, click the Trust It button to publish the solution.

4

Fill the Document URL & select on the Stop Follow button.

5
And here is the ouput. Hope it works for you!

SharePoint 2013 Hosting Recommendation
HostForLIFE.eu’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options.

recommended windows hosting