You may be trying to access this site from a secured browser on the server. Please enable scripts and reload this page.

December 26, 2010    , ,
Internet explorer displays the message at top "You may be trying to access this site from a secured browser on the server. Please enable scripts and reload this page."? Fix is: This is because Internet Explorer Enhanced Security Configuration. So simply disable IE ESC to fix this i…

Log Errors to Windows Event Log or SharePoint Log Programmatically

December 22, 2010    , , , , ,
Using Windows Event - Logs During development its worth to log errors either in Windows Event log or in SharePoint log files for further troubleshooting. try { //Do something } catch (Exception ex) { SPSecurity.RunWithElevatedPrivileges(delegate { System.Diagnostics.EventLog.WriteEntry("M…

Extract line by Line in Nintex workflow

December 18, 2010    ,
Through lazy approval in Nintex workflow, I had to extract the approver's comment line by line. Using Regular expressions in Nintex workflow we can accomplish that. Regular expressions:  Here the "ApproverComments" is a collection variable. You can extract from the collecti…

Fix for SharePoint Datasheet Error: The list cannot be displayed in Datasheet view for one ore more of the following reasons

December 16, 2010    , , , ,
When I try to open a SharePoint 2010 list in Datasheet View, It scolded me by throwing below error: The list cannot be displayed in Datasheet view for one ore more of the following reasons:    - A datasheet component compatible with Microsoft SharePoint Foundation is not installed.    - Your …

Page Redirect using CEWP JavaScript in SharePoint

November 05, 2010    , , , , , ,
There are some situations, where we need to place re-directs in SharePoint pages. OK.. How to do that? Simple! We can redirect using content editor web part in SharePoint. Just add a content editor web part, and place the below JavaScript code: <script type="text/javascript"> …

Trick to Edit SharePoint List Forms to Add webpart (NewForm.Aspx, EditForm.aspx, AllItems.aspx, etc) in browser

November 01, 2010    , , , , ,
By default, SharePoint doesn't allow us to edit the List forms in browser. See the Edit Page from Site action is greyed out! However, Its possible to edit SharePoint list form pages! Here is the trick to edit SharePoint List Forms (like DispForm.aspx, NewForm.aspx, EditForm.aspx) in brow…

Extract Assembly DLLs from GAC

October 23, 2010    ,
Want to access GAC assembly folder's file system (say for Copying a DLL). Here is the shortcut to copy/extract GAC assemblies: Go to Start >> Run >> type "c:\windows\assembly\gac_msil" Now, You can get the GAC Files in File system. You can Extract the DLLs from here…

List Aggregation-Rollup across site collections (Even across Farms) using Dataview, Web Services in SharePoint

October 05, 2010    , , ,
With SharePoint web services and dataview web part, You can aggregate the lists/document libraries/etc between sub-sites/site collections/web applications/even across forms. So, Here I'm going to walk through how to achieve this using a simple example. Lets say I've two sites namely:  S…

How to find the SharePoint Site Template being Used

September 25, 2010    , , , , ,
How to find the site template of an existing SharePoint site? There are many ways to find the site definition being used for a site, Here are some: 1. Use SharePoint Manager to find the SharePoint site template. Navigate thru the site, and look for "Web Template" as in the below pic…

Powered by Blogger.