none
How to cancel save event RRS feed

  • Question

  • I have PDP and on it few Custom Fields that need to validated before project is saved. Users clicks Save button, I validate fields, if values aren't ok, Save must be rejected.

    Now, I am using this solution:

    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx

    The problem is, I don't know how can I reject save in this solution?? Please help.

    Tuesday, July 30, 2013 2:28 PM

All replies

  • Hi,

    The before_save event in the VBA application events for Professional has this option.

    See Rod Gill's VBA for Project book for how to do it

    Greetings,

    Tuesday, July 30, 2013 6:41 PM
    Moderator
  • Thanks for the answer.

    But I need that in c# project I mentioned, not in MS Project VBA. Can it be done in that project?

    Tuesday, July 30, 2013 9:00 PM
  • Can I use PreSaveAction function in this project somehow? Or it is only for SharePoint?

    • Edited by SPManiac Tuesday, July 30, 2013 10:38 PM
    Tuesday, July 30, 2013 10:38 PM
  • Hi,

    I have the same problem. Did you find any solution to cancel save event in PDP Project server 2013?

    Monday, October 24, 2016 5:31 AM