1. Edit a page 2. Add a Content Editor Web Part on the page 3. Edit the CEWP 4. Export…
Category Archives: SharePoint Server
How to: allow .pdf files in SharePoint 2010 to open in the browser window
SharePoint will by default request that the user saves a .pdf file and open it locally inside the client application…
How to: add properties to custom web parts
You can easily add custom properties to your custom web parts so that you can pass in values to them…
How to: troubleshoot an empty SPListItemCollection (CAML Query)
In a previous post, I talked about the SPQuery and the CAML query builder. One common problem that you may…
How to: Make a custom web part appear in the web part gallery (SP2007)
If you have a custom web part that does not appear in your web part gallery, the most probable cause…
How to: Create a link to the edit form of a SharePoint 2010 List item (works with InfoPath forms).
SharePoint has a very specific URL format that it uses in order to display the EditForm.aspx page. This page is…
How to: Define which fields to appear in a SharePoint RSS Feed
In SharePoint 2007: 1. Navigate to the list/library that you want to get an RSS feed for 2. Navigate to…
How to troubleshoot: “a web part or web form control on this page cannot be displayed or imported. the type could not be found or it is not registered as safe”
In case you renamed a custom web part, make sure you have renamed all the references to the web part:…
How to: Work with the SPQuery
The SPQuery will be in Caml format. You can use one to get a collection of items from a list…
How to: Troubleshoot “The event handler ‘OnClick’ is not allowed in this page”
While working with an asp.net page in SharePoint 2007 (or, in any other situation where you get this error), when…