Building batch approval ribbon in SharePoint 2010

In SharePoint 2010, We can delete multiple items but cannot with approve/reject items. So, how can user approve/reject multiple items in one time? For example TimeSheet application in SharePoint. We can create custom Ribbon then using Application page as dialog and SharePoint Server-Side object model to solve that problem. To…

Continue Reading Building batch approval ribbon in SharePoint 2010

ECMAScript: SP.ClientContext is undefined or null

Sometime We cannot use SP.ClientContext in Site pages, Web part pages or Application pages. Although We was following this guide from msdn Setting Up an Application Page for ECMAScript If so, please replace the below lines <script type="text/ecmascript" src="/_layouts/SP.Core.js" /><script type="text/ecmascript" src="/_layouts/SP.Debug.js" /><script type="text/ecmascript" src="/_layouts/SP.Runtime.Debug.js" /> With <SharePoint:ScriptLink ID="ScriptLink1" Name="sp.debug.js"…

Continue Reading ECMAScript: SP.ClientContext is undefined or null