Sunday, November 15, 2009
In web.config change the following:
2. <customErrors mode="On" />
Now refresh the page to see the actual ASP.NET error message.
Monday, November 9, 2009
I came across a requirement while building a site in SharePoint 2007 where I have to display the left menu only to administrator and Thanks to Mark Wagner for his quick and to the point post on SPSecurityTrimmedControl.
What exactly I did was:
1. Open the Default.aspx in SharePoint Designer.
2. Select the left menu and then select Create Custom Content.
3. Arranged the tags as follow:
<asp:content contentplaceholderid="PlaceHolderLeftNavBar" id="Content2" runat="server"> <sharepoint:spsecuritytrimmedcontrol permissionsstring="ManageWeb" runat="server"> All the divs and HTML for the menu goes here. </sharepoint:spsecuritytrimmedcontrol> </asp:content>
Now the menu will only appear for users having administrator rights.
Note: Also, you can directly implement this in Master Page for hiding View All Site Content.
Following is an example of using Charts.js library to display nice graphs & charts after providing the data via C#/ASP.NET: Download ...
In this blog post, I will cover what is a workflow and how we can create a workflow using Microsoft Flow that can make HTTP REST calls to br...
You can find the whole API reference for Search REST API here . But when you have to do People Search then you need to put the context aroun...
Recently my customers was looking for a solution where on-field guys can search for answers related to their tasks and it was a perfect scen...