Project Report Web part

  • Thread starter Michael Elongong
  • Start date
M

Michael Elongong

Is there a default view setting on the Project Report webpart? I want to add
the webpart to the project homepage in WSS with a default view. Currently
getting a view I do not want.
 
E

Ed Morrison

By default, the Project Report webpart uses the last view that you used. If
you would like to force a particular view, first open the project's PWA
detail page. Change the screen to a view you don't want and then select the
view you do want. This will create the full URL. Record the _viewID value.

Now in WSS, add a Project Report to the project's SharePoint homepage.
Click on the webpart's down arrow in the top right hand corner and select
Modify Shared Webpart. Click on the Source Editor button. At the end of
the source, you will see:

document.write("<iframe src=\"" + sMSPWAURL +
"Views/ProjectReport.asp?_projectID=" + sMSPROJID + "&SimpleUI=125\"
width=100% height=100%></iframe>");
}
</script>

Change the second line to read (if your view id is 13):
+ "&_viewID=13&SimpleUI=125\" width=100% height=100%></iframe>");

Click save and OK.

If you want a Sharepoint site to show project views from other projects, you
can hardcode the project id by replacing the sMSPROJID variable.

Hope this helps.
 

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