Archive for 'Architecture' Category

Step-by-Step SharePoint Online Authentiaction Process via HTTP Protocol

By Namwar Rizvi - Last updated: Monday, March 21, 2016

Here is the step-by-step, behind the scene, authentication process of SharePoint Online. You can use it to connect to SharePoint Online from any Microsoft or Non-Microsoft technology.  It gives you an idea of how things work at the very basic level of HTTP protocol, while authenticating a user in SharePoint Online. Assumption: User is trying […]

Share

Quickly find the current used storage of your site collection by using REST

By Namwar Rizvi - Last updated: Wednesday, November 19, 2014

If you want to find out how much storage your SharePoint site collection is currently using then you can use the following REST url in your browser ://<Replace your Site Collection Url>/_api/site/Usage/Storage For example: http://sp/_api/site/Usage/Storage You will get response similar to following. Please note SharePoint report storage in bytes so to get the size in […]

Share

Custom Timer Jobs versus PowerShell and Task Scheduler for Scheduled Tasks

By Namwar Rizvi - Last updated: Friday, December 7, 2012

Although I am a great fan of using PowerShell for performing lots of tasks in SharePoint quickly, but there are certain areas where PowerShell may not be the optimum solution. One of which is Custom Timer Jobs in SharePoint. Although you can schedule a PowerShell script by a task scheduler in windows to run some […]

Share

How to detect if the given webpage is generated by SharePoint?

By Namwar Rizvi - Last updated: Tuesday, June 5, 2012

If you want to find out whether the given web page is generated by SharePoint or not then the most authentic way of verification is to check Response Headers. SharePoint adds an specific response header (along with others) called MicrosoftSharePointTeamServices The presence of this header is a proof that the given web page is served […]

Share

Difference between Security Context of Workflow Code in SharePoint 2007 and 2010

By Namwar Rizvi - Last updated: Wednesday, May 16, 2012

In SharePoint 2010, any code which executes because of the changes made by the workflow process will run in context of the user who either started the workflow or responsible for changes which caused the code to be executed. But … In SharePoint 2007,  any code which executes because of the changes made by the workflow process […]

Share

Solution for viewing HTML files in browser from SharePoint Document Library

By Namwar Rizvi - Last updated: Sunday, March 25, 2012

In SharePoint 2010 document library, if you click on a file with .html extension, you will notice that browser will open Save File dialogue box. This behaviour stops you to view HTML files directly in browser from document library and some times it is very annoying. To resolve it and view HTML files in browser, […]

Share

Useful Javascript Functions and objects in SharePoint – Part 2

By Namwar Rizvi - Last updated: Monday, February 20, 2012

In my last article “Useful Javascript Functions and objects in SharePoint – Part 1”  I listed some useful javascript objects in SharePoint. Today I will continue exploring useful functions. DOM Management byid(id) = Return element for the given id newE(tag) = Create a new dom element of the given tag e.g. div etc. wpf() = […]

Share

Useful Javascript Functions and objects in SharePoint – Part 1

By Namwar Rizvi - Last updated: Sunday, February 19, 2012

SharePoint has a huge set of javascript functions and objects which are defined in essential SharePoint javascript files like init.js, core.js, forms.js etc. These files are necessary for SharePoint to function properly. There is no reason to reinvent the wheel by writing your own javascript function for something which is already provided by these core […]

Share

What is the meaning of “Limited Access” in SharePoint?

By Namwar Rizvi - Last updated: Saturday, October 22, 2011

If you are wondering what is “Limited Access” in SharePoint and how does it affect you then here is the simple explanation: “Limited Access” in SharePoint means a user has an access to an item of the page specifically but not the whole SharePoint list. Normally, we don’t manage individual item permissions and list items normally inherit […]

Share

SharePoint 2010 Service Pack 1 is out!

By Namwar Rizvi - Last updated: Wednesday, June 29, 2011

Today Microsoft has released the much awaited Service Pack 1 for SharePoint 2010 along with Office 2010.  Along with many bug fixes and minor updates, here is a quick list of new functionality which SP1 will add in your SharePoint environment:   For video display, you will now be able to select a frame as […]

Share