Remove Side Bar Link/Item from Project Center's 'View a Project' page

P

pauline.tran

The very first link on the Side pane is:
Go to selected project workspace

This is only seen when I am on 'View a Project' page (on Project Center
page, click on a specific project)

Currently, my Server Configuration settings have all Collaboration
features (Documents, Risks, Issues) set to Deny and do not show on the
navigation menu.

I am not using WSS and receive the error:
VBScript: Microsoft Office Project Web Access 2003
"The SharePoint site for this project has not been created. Publish a
project to Project Server or contact your server administrator."

Is there a way to disable the "Go to project workspace" link?
 
K

Kevin W Flanagan

Pauline-

1. On your server find the file portfolioview.asp (...Program
Files\Microsoft Office Project Server 2003\IIS Virtual Root\VIEWS)
2. Search for phrase "workspace"
3. The line will start with oShell.AddNewsStandaloneMenu.....
4. First save the file as portfolioview.original in case you need that
functionality down the road
5. Type a double forward slash in front of all four lines. This comments
out that menu itme.
6. Refresh your screen and you will see that link no longer on your page.

Hope this helps.

Kevin
 
P

pauline.tran

Kevin,

I tried and it worked, but there are other functions/code that is
dependent on that code, so I receive an error on the page.

Although, through much trial and error, I found a solution, may not be
pretty, but it works well... here it is:

You will notice that the function (below) you wanted me to comment out
is used throughout many of the .asp pages in the Views folder.

An example of the AddNewStandaloneMenu funtion:
oShell.AddNewStandaloneMenu("idTrackProjectRisks",

oStrings.GetString(IDS_VIEWS_PORTFOLIO_TRACK_PROJECT_RISKS_LBL),

oStrings.GetString(IDS_VIEWS_PORTFOLIO_TRACK_PROJECT_RISKS_ALT),
"TrackProjectRisks_OnClick();");

if you notice the "_lbl" id, it basically gives the string value for
what will be displayed on the webpage, so if you comment/delete that
portion out, and put "" (null string) nothing will show up on the
screen.

On another note, you can set the bWriteStandaloneDivider boolean value
to false, and the section divider will not appear.

Hope this helps you all!!! :-D
 
K

Kevin W Flanagan

Thanks Pauline. I actually did not receive any errors on the page when I
tried it. Could be a difference in IE settings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top