Using PSI to publish projects doen't work properly
-
2012年4月4日 19:42
Hi,
Sharepoint 2010, I'm using the project web service to publish projects (the QueuePublish method). On one of the installations, projects aren't published properly. Managers approve users time reports and the code is running but these reports aren't published. The data is published only when the projects' owners manually publish the projects. The server holds projects upgraded from 2003 version.
The method call is under try-catch but there are not exceptions.
This is how I call the method:
proj.QueuePublish(jobId, projUID, true,wssURL);
Any idea why I get this behavior?
thanks
Id
すべての返信
-
2012年4月5日 0:19所有者It should work, have you debugged your code in a live environment? Not sure how your custom code runs but please note since SP1 you can create auto-publish rules and hence your customer code might not be needed.
Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page -
2012年4月5日 20:00
Hi,
I didn't debug the code as Its on customer site which I don't have access to yet. Regarding the auto-publish of SP1, I have additional rules to apply before the publish so I do need my code.
Id
-
2012年4月13日 12:46モデレータAre the projects checked in prior to your publish method coming through?
Alex Burton
www.epmsource.com | Twitter
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page -
2012年4月14日 14:13
Alex,
Yes I'm checking and running this method on checked in projects.
Thanks
Id