Skip to main content

MSProject Reporter Blog

Go Search
MSProject Reporter Blog Home
About Me
Contact Me
  

MSProject Reporter Blog > Posts > Hacking PWA with SimpleUI
Hacking PWA with SimpleUI

 

As with Project Web Access (PWA) 2003, PWA 2007 offers a little-known, yet surprisingly simple way to hack the interface through the web browser's address bar… using a parameter called SimpleUI.

Because the latest-and-greatest Project Web Access (PWA) interface included with Project Server 2007 is now built upon the new Windows SharePoint Services (WSS) 3.0 technology, we now have nearly limitless options for customizing the web interface… either through custom programming or configuration directly through the web browser. If you've been granted the appropriate level of permissions, then you can simply crack open PWA 2007 in your web browser, flip a page such as the PWA Home page into "edit mode", then add, remove, or rearrange page content through the use of SharePoint webparts.

However, if we want to modify the non-content parts of the page, such as the header or left-side (Quicklaunch) navigation, then our job can become a bit more difficult. Unless we're familiar with building & editing ASP.NET Master Pages with SharePoint Designer or Visual Studio, then we might think that we're basically stuck with the hand that we've been dealt. Enter SimpleUI.

 

Getting Started with SimpleUI

SimpleUI is a parameter which can be added to the address of any PWA page, and it's basically used for toggling the main non-content pieces of the page:

 

Following are the four sections of the PWA page layout which can be toggled on & off:

 

1. The Breadcrumb & Welcome bar:

 

2. The Title & Search bar:

 

3. The Top Link & Site Actions bar:

 

4. The Quicklaunch menu:

 

Let's now take a quick look at how to use the SimpleUI parameter to hack the PWA interface…

 

1. Add "?SimpleUI=1" to the PWA URL to turn off the Breadcrumb & Welcome bar.

For example, if we're at the PWA Home page, add "?SimpleUI=1" to the end of the URL, resulting in http://vpc01/PWA/default.aspx?SimpleUI=1:

 

Notice that the Breadcrumb & Welcome bar is now hidden. To un-hide the bar, replace "?SimpleUI=1" with "?SimpleUI=0":

 

2. Add "?SimpleUI=2" to the PWA URL to turn off the Title & Search bar.

For example, if we're at the PWA Home page, add "?SimpleUI=2" to the end of the URL, resulting in http://vpc01/PWA/default.aspx?SimpleUI=2:

 

Notice that the Title & Search bar is now hidden. To un-hide the bar, replace "?SimpleUI=2" with "?SimpleUI=0".

 

3. Add "?SimpleUI=4" to the PWA URL to turn off the Top Link & Site Actions bar.

For example, if we're at the PWA Home page, add "?SimpleUI=4" to the end of the URL, resulting in http://vpc01/PWA/default.aspx?SimpleUI=4:

 

Notice that the Top Link & Site Actions bar is now hidden. To un-hide the bar, replace "?SimpleUI=4" with "?SimpleUI=0".

 

4. Add "?SimpleUI=8" to the PWA URL to turn off the Quicklaunch menu.

For example, if we're at the PWA Home page, add "?SimpleUI=8" to the end of the URL, resulting in http://vpc01/PWA/default.aspx?SimpleUI=8:

 

Notice that the Quicklaunch menu is now hidden. To un-hide the menu, replace "?SimpleUI=8" with "?SimpleUI=0".

Notice that when we turn off one of these four areas of the page, the setting remains, even when we visit other pages within PWA:

 

Once again, to reverse the setting, simply add "?SimpleUI=0" to the end of the web address:

 

Getting Tricky: Combining SimpleUI Parameters

Want to toggle more than one of the four areas at the same time? No problem… simply add the desired parameters together. For example, if we'd like to turn off the Breadcrumb & Welcome bar (SimpleUI=1) as well as the Top Link & Site Actions bar (SimpleUI=4), we'll add the numbers together (1+4=5) to create the parameter to add to the address:

http://vpc01/PWA/default.aspx?SimpleUI=5

 

Wanna turn off all four? Use "?SimpleUI=15":

 

Why Use SimpleUI?

Anyone can do it!

Anyone can add the SimpleUI parameter to the PWA address bar, regardless of the permissions that they've been granted in Project Server (you don't need to be an Administrator).

 

No programming required!

Because the SimpleUI hack only requires a little bit of simple math and access to the web browser's address bar, no programming knowledge or fancy programming tools are required.

 

Reclaim some screen real estate!

For those of us who don't have 45" monitors with 16,000 x 12,000 pixel resolution, scrolling is an essential part of life. SimpleUI helps to reclaim some of that precious screen real estate to cut down the scrolling required when viewing large data views.

Get a bigger view of the Project Center. Nice!

 

Next time, we'll look at an easy way to add a "Show / Hide" function to nearly any PWA page for toggling the fluff and reclaiming some of that precious real estate.

In the meantime, play around with SimpleUI and have some fun!

Comments

Great Posting...

It would be nice if we could get our TRIANGLE back for the Quick Launch Bar....for easier deployment

Any thoughts abour rearranging the columns on the timesheets and or adding back Summary Bars
at 9/5/2007 4:29 PM

Great!

Can I translate to russian and post on MicrosoftProject.ru site?
at 9/12/2007 5:20 AM

Good Idea

I especially like the idea for the MY Task and My Timesheet.  I do not know why MS removed the (<) button for the left hand panel.  Where are you at with Show /Hide function
at 9/26/2007 8:53 AM

Adding custom breadcrumb to PWA

hi
i would like to add a custom navigation breadcrumb and replace the existing breadcrumb available on the PWA site.

anyone let me know how to go about it.

regards
ram
at 10/16/2007 11:41 AM

Great Trick.... BUT I HAVE A PROBLEM!

How can I do the "?SimpleUI=15 “, but in the “Project Detail”, the address is like this:

http://project_server:36758/GRMD/ProjectDrillDown.aspx?_projectUID=32ff4a6a-d287-4674-8f8d-6eee58fc87f3

I tried with:

http://project_server:36758/GRMD/ProjectDrillDown.aspx?_projectUID=32ff4a6a-d287-4674-8f8d-6eee58fc87f3?SimpleUI=15

And:

http://project_server:36758/GRMD/ProjectDrillDown.aspx?SimpleUI=15_projectUID=32ff4a6a-d287-4674-8f8d-6eee58fc87f3

The message is the same: “The indicated project is not available in Project Center.”

PLEASE CAN YOU HELP ME.
at 11/16/2007 11:15 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Attachments