D
dcasp3r
I'm not having much luck getting the PDS ProjectAssignmentsCreate method to
create assignments.
Here is my usage: (Note that I've been trying both ResourceUID and
ResourceID, one complains about not finding the resource while the other
happily finds the *wrong* resource!)
<Request><ProjectAssignmentsCreate><AutoPublish>1</AutoPublish><ProjectID>4</ProjectID><Assignments><Assignment><TaskID>79</TaskID><ResourceID>1</ResourceID></Assignment></Assignments></ProjectAssignmentsCreate></Request>
Note: I've tried getting my resource ID from both from calling
<ResourceStatus> and also I've tried via GetAllUserCollectionFromWeb (I've
even tried manually setting the ResourceID to that which I can clearly see
fromthe Resources page on Project Server Web Access)
Nothing seems to work.
What "resource ID" should I use when calling ProjectAssignmentsCreate and
where can I get this ID from?
Thanks,
David
Ps My wishlist would include there being some ID consistency (resource,
object, etc.) across the entire EPM solution!
create assignments.
Here is my usage: (Note that I've been trying both ResourceUID and
ResourceID, one complains about not finding the resource while the other
happily finds the *wrong* resource!)
<Request><ProjectAssignmentsCreate><AutoPublish>1</AutoPublish><ProjectID>4</ProjectID><Assignments><Assignment><TaskID>79</TaskID><ResourceID>1</ResourceID></Assignment></Assignments></ProjectAssignmentsCreate></Request>
Note: I've tried getting my resource ID from both from calling
<ResourceStatus> and also I've tried via GetAllUserCollectionFromWeb (I've
even tried manually setting the ResourceID to that which I can clearly see
fromthe Resources page on Project Server Web Access)
Nothing seems to work.
What "resource ID" should I use when calling ProjectAssignmentsCreate and
where can I get this ID from?
Thanks,
David
Ps My wishlist would include there being some ID consistency (resource,
object, etc.) across the entire EPM solution!