Get FormDigest from C# using REST in SharePoint 2013

If you want to communicate with SharePoint 2013 through REST, you need to send FormDigest value with every request. In JavaScript, it is very easy as it will always be available on SharePoint Page where your JavaScript code is executing. It is quite tricky when you need to submit REST requests from C# code as … Read more

Share

Custom Timer Jobs versus PowerShell and Task Scheduler for Scheduled Tasks

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 … Read more

Share

SharePoint 2013 beta announced

Microsoft has announced the new version of SharePoint  i.e. SharePoint 2013. It is in beta version right now and can be downloaded from SharePoint site http://sharepoint.microsoft.com/en-us/preview/sharepoint.aspx To get the better idea of what is coming in next version of SharePoint, please check the Microsoft presentations at http://www.microsoft.com/en-us/download/details.aspx?id=30361 For developers, there are training videos available at http://msdn.microsoft.com/en-US/office/apps/fp123626 One of … Read more

Share

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

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 … Read more

Share

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

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 … Read more

Share

Ideal list of tools you need for SharePoint Development

After working with several clients, I have compiled a list of tools, addons, plugins and technologies which are needed for development, customization or administration at any point in the journey to learn to use Sharepoint. This list is not a “Mandatory Tools List” but in fact, it is a compilation of tools and technologies which … Read more

Share

Solution for viewing HTML files in browser from SharePoint Document Library

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, … Read more

Share

Correct way of generating Source parameter value in your SharePoint Link

As you may already know that SharePoint uses Source parameter in query string to take you back to the page from where you came. The value of the Source paramter must be properly encoded. Don’t worry, you do not need to write your own Javascript function to do this. Just use already provided function called … Read more

Share

Useful Javascript Functions and objects in SharePoint – Part 2

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() = … Read more

Share

Useful Javascript Functions and objects in SharePoint – Part 1

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 … Read more

Share
Share via
Copy link
Powered by Social Snap