none
Project server 2013 csom save and publish RRS feed

  • Question

  • Hi,

    In Project server 2013 PWA when you edit project custom fields and save the queue job execute the following jobs: 

    - "Project Update from PSI"

    - "Project Publish Summary"

    - "Reporting (Project Publish Summary)"

    In my code (CSOM)  i can only use : " QueueJob Job = projChechedOut.Publish(true);"

    which is creating all these jobs:

    Project Update from PSI
    Project Publish Notifications
    Project Publish
    Project Checkin
    Prepare Project Web App Permission Synchronization For Projects
    Reporting (Project Publish)
    Project Workflow Check-in
    Synchronize Project Web App Permissions to Project Web App
    Synchronize Project Web App Permissions to Project Site
    Reporting (Project Sync)

    Is there way to "simulate" the save from PWA instead of fully publishing the project using CSOM,  because it is a lighter solution since my code is supposed to only set custom field value (if i only update, not publish it is written to the Draft) and secondly performance (less jobs) is better ?

    Thx in advance !!

    Saturday, February 8, 2014 12:11 PM

All replies

  • Hi,

    as an update to my post:

    - In PSI the method is project.queuepublishsummary(guid jobid, guid projuid)

    http://msdn.microsoft.com/en-us/library/office/gg200290.aspx

    the description says: Publishes the stage summaries of the specified project, in a partial publish operation.

    I am wondering if the equivalent method exists in CSOM. There is this method: PublishedProject.UpdateVisibilityCustomFields() but it seems doing exactly the same thing as publishing a DraftProject.

    Any ideas ?

    Thx

    Monday, February 10, 2014 10:17 AM
  • I am facing the same issue with no clear answer yet

    Hammad Arif EPM Advice Blog

    Tuesday, November 17, 2015 4:39 AM
  • Unfortunately, PSI does not have save option for a project, it provides publish only when it comes to projects. 

    Link gives your details about what and what not can be done using a PSI https://msdn.microsoft.com/en-us/library/office/ee767706.aspx.


    Regards, Syed Faizan ur Rehman, CBPM®,PRINCE2®, MCTS

    Tuesday, November 17, 2015 7:01 AM
  • Hi,

    Did you ever find the solution to this problem?

    G.

    Friday, February 23, 2018 3:01 AM
  • CSOM does only provide a full publish - there is no summary publish that I am aware of in CSOM.

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads

    Friday, February 23, 2018 6:56 AM
    Moderator
  • Please vote the associated item on UserVoice

    https://microsoftproject.uservoice.com/forums/218133-microsoft-project/suggestions/15741337-allow-summary-publish-using-csom-just-like-psi


    Hammad Arif EPM Advice Blog

    Saturday, February 24, 2018 2:53 AM