Manage Webparts on WSS & MOSS … the easy way

December 4, 2009

Suppose you’ve run into a situation with a hidden “site actions” menu for some reason, and you want to modify the webparts on a webpart page… what would you do?

In this short & quick article i’ll show you a shortcut way to manage webparts in your MOSS site, with the use of URL query strings and parameters.

To open the Design Bar – Useful for pages in the Pages Library

To turn on Web Part Zone Editing

To Correct or Remove Misbehaving Web Parts

To Open the Page in Web Part Design Mode, or to add/browse webparts

To Open the Search Web Part Zone, or to add/search webparts

in addition, you could pass a second parameter to specify the pageview mode

Example(1) – if you wanted to edit the Shared view of the default page:

Example(2) – if you wanted to Browse web parts and add them to your Personal view:

Save site as template

December 1, 2009

Hi folks;

Long time i know, but really its a busy life.

What i want to present today is a little trick about saving your SharePoint site as a template, using the magic “/_Layouts/”. specially when you want to save a sub site as a site template, so when you navigate to the site settings of this sub site, the option to save site as template does not appear.

So the tricky way to do this is by editing the URL of your SharePoint site by entering “/_layouts/savetmpl.aspx” at the end of it, like

After that, a webpage will appear asking you to enter TemplateName (will be saved as .stp file), and the name of the template to appear when you create a new website from that template.

And by doing this action, the template will be saved as a .stp file in the Site Templates Gallery in the parent website, found under Site Settings >> Galleries >> Site Templates.

How to Get XML Data From a SharePoint List – The Easy Way

September 29, 2009

Ever wanted to view your Sharepoint list as an XML data like me?

I think that you will run into a situation where you want to pull data as an XML format out of your SharePoint list some day, and to be honest i’ve found alot of ways pulling out the data to be viewed as XML.

Here i want to share this simple way to do this using  the great functionality of a file called owssvr.dll. and as a brief on this dll, i can say that the owssvr.dll file serves as the backbone of the SharePoint function. This is because the owssvr.dll file is the module that runs the mechanism for ‘export to spreadsheet and open with access’ options on the list Actions menu of SharePoint

So to get started, Simply format the following string to form the request URL:

http://{yoursite}/_vti_bin/owssvr.dll?Cmd=Display&List={list GUID}&XMLDATA=TRUE


  1. {yoursite} : is the url of your site, which could be the root site of any child site.
  2. {list GUID} : is the GUID of your list.

So as an example of this request URL would be 


And you will get the XML view something like this:


In addition to viewing a list using the Cmd=Display command in the URL request, you can also return all data for a SharePoint list, but based on a specific view from that list, by adding the &View={ViewGuid} to the URL request, like the following:

http://{yoursite}/_vti_bin/owssvr.dll?Cmd=Display&List={list GUID}&View={ViewGuid}&XMLDATA=TRUE

where: {ViewGuid} : is the GUID of the list view.

The response for a simple view looks like this:



– To find the GUID for a list, just go to the Settings page for the list and copy it from the URL. (see below)


What every SharePoint and EPM administrator needs to know about Alternate Access Mappings

September 17, 2009

Here is an amazing  3-Parts-series of mastering Alternate Access Mappings(AAM), which will clarify your vision managing Web application paths, ip addresses & DNS records, specially when dealing with SharePoint:

SharePoint 2010 … Get a Sneak Peek now!

August 8, 2009


On their home page, Microsoft SharePoint Server 2007 is to announce the release of their new SharePoint 2010 Server.

Keep your eye on it, Microsoft SharePoint Server 2007 Website, and here you can take the sneak peek (Click Here)

SharePoint Server 2007 SP2 … Slipstream!

August 7, 2009

In the scenario of installing a fresh new SharePoint2007, its a good idea to install it once with all the updates & service packs available.

Here i will go through bundle every thing in one MOSS2007 installation folder, including MOSS2007 Setup, WSS v3 SP2, microsoft office sharepoint server2007 SP2 and the cumulative update (15 july 2009) for both WSS v3 and MOSS2007.

To get started, we will need the SharePoint 2007 installation media, the SP2 for both WSS and MOSS, and the latest Cumulative Updates for both WSS and MOSS. so here are the links for downloading SP2 & the latest CUs:

To begin make a folder named c:\MOSS2007, and copy the MOSS2007 installation files and folders into it. (the folder will look similar to the following pic)


Notice that theres a folder called Updates , here we will extract the SP2s and CUs files. as follows:

  1. open up command propmt . start > run > cmd.
  2. extract the four files (SPs & UCs) by writing EXTRACT command as follows depending on the path of each one (i prefer to put them all in one folder in the C:\ root to narrow the extraction command statement):

– c:\wssv3sp2-kb953338-x64-fullfile-en-us.exe /extract:c:\MOSS2007\updates

c:\officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:c:\MOSS2007\updates

 – c:\wss-kb968850-fullfile-x64-glb.exe /extract:c:\MOSS2007\updates

c:\office-kb968851-fullfile-x64-glb.exe /extract:c:\MOSS2007\updates

And after completing the extraction proccess for all files, you shall notice that the Updates folder will be filled with many msp files, also you will notice that there are two DLL files named svrsetup.dll and wsssetup.dll, you must delete the file wsssetup.dll because its causing a Setup Error (Language not supported by your system), and conflecting with the other file svrsetup.dll.

Now you are ready to install a complete fully updated MOSS2007.

Recommended installation sequence for updates

Also if you are making a separate Updates installation, like say you have MOSS already installed, and want to update to Service Packs 2 and cumulative updates, then Microsoft enforces the installation order of service packs, but does not enforce the installation order of packages or patches. You can install packages or patches in any order you want, so long as every server in your farm is updated to the same level when you are done. In addition, there is no requirement to install an update unless your servers are affected by the problem described in the KB article for the update.

Although Microsoft does not enforce the update installation sequence, we recommend that you install the post-RTM updates for Office SharePoint Server that you require in the following sequence:

  1. Service Pack 2 for Windows SharePoint Services 3.0 (KB 953338)
  2. Service Pack 2 for Office SharePoint Server 2007 (KB 953334)
  3. The June CU for Windows SharePoint Services 3.0 (KB 971538)
  4. The June CU for Office SharePoint Server 2007 (KB 971537)
Important Important:
Remember to run either the SharePoint Configuration Wizard or Psconfig.exe at the command prompt on every server in your farm to complete the update. You are not required to run the SharePoint Configuration Wizard or Psconfig between each step in the sequence. You can to wait until all updates are installed on a given server before you run the SharePoint Configuration Wizard or PSconfig.

10 new SharePoint Themes!

August 7, 2009

Microsoft has released 10 new themes for Sharepoint to make Sharepoint not look like Sharepoint!

You can download the package from here :


And the good thing here is that they are packaged as a solution.

And here are the instructions

Download the installer Run the installer and accept the End User License Agreement Once installed locate the Ten Themes for SharePoint in the start menu You can view all the themes at once by choosing the AllThemesPreview.jpg Locate in the start menu Uncompress the ZIP file to obtain the ten theme projects Load one a selected project in Visual Studio 2008 Use VSeWSS to deploy the project to view the final theme

For those who need to download the new sharepoint themes as a single WSP visit this link:

10 SharePoint Theme WSP