PWA 2007 - WebPart

A

Andrzej Jaworek

Hello,
I try to write a simple WebPart in PWA that displays all unpublished
projects. I should display only that projects who logged user is owning.
I'm newbie in project & sharepoint programing so I have two questions:

1. I try to use ReadProjectList() method from Project WebService to get
all projects and then try to find out which project is unpublished. How
to check if specific project is unpublished? I coudn't find any property
that says that.
2. How to find owner of the specyfic project?

Thanks in advance.

andy
 
C

Christina Odom

Andy,
1) Projects that are not published are in the Drafts database. Here's
a link to the Datastore enum object you will need: (http://
msdn2.microsoft.com/en-us/library/websvcproject.datastoreenum.aspx)

2) ProjectOwnerID is the GUID of the project user who created the
project. (http://msdn2.microsoft.com/en-us/library/
websvcproject.projectdataset.projectrow_members.aspx)
 
A

Andrzej Jaworek

Christina Odom pisze:
Andy,
1) Projects that are not published are in the Drafts database. Here's
a link to the Datastore enum object you will need: (http://
msdn2.microsoft.com/en-us/library/websvcproject.datastoreenum.aspx)

No. There must be something the other method. For example: I have one
project (which is published) in Draft db and in Published db as well
(I've checked it double), so I can't recognise if project is published
or not using Your methods :(.

Andy
 

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