none
Regarding Presave action in Project Online RRS feed

  • Question

  • HI Team,

    In our project we are working in project online which is integrated with Sharepoint Online.

    We need to check a field is empty or not before Saving the new Project . Usually we will use "PreSave" javascript to do the same in Sharepoint . But Presave action is not working whenever I Click on Finish button in Project pages. Do we have any other default function or any other method in javascript to handle this situation


    • Edited by Paappu Saturday, October 28, 2017 4:16 AM
    Saturday, October 28, 2017 4:14 AM

All replies

  • Hi Paappu, you can make the field mandatory or check with a calculated field, if it is empty or not (isnull[fieldname]).


    Best regards,

    Julian, PMP, MCP, MCSA, MCSE

    Blog: https://project-brain.com

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


    Saturday, October 28, 2017 3:49 PM
  • Hi Julian,

    For your information field is from Project online not from SharePoint . So we are creating Enterprise Custom field from PWA Settings  . There is no option to create calculated field in Project Online. We have two EPTs having different custom mandatory fields. So if we create a project with one EPT it is throwing error in workflow that mandatory fields in other EPT also should be filled. So we cannot go for mandatory option also.

    Thursday, November 2, 2017 9:15 AM
  • Hi Paappu, go to PWA settings -> Enterprise Custom Fields -> New Field. Within the section custom attributes, there‘s the choice formula where you can add a calculation (like in my example above). If you use the department field option you can also create mandatory fields which differ from EPT to EPT. You can check out the details about this second option in this blog post: https://project-brain.com/2017/02/03/how-to-use-project-and-resource-departments/


    Best regards,

    Julian, PMP, MCP, MCSA, MCSE

    Blog: https://project-brain.com

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


    • Proposed as answer by Julian Bönigk Monday, November 13, 2017 6:58 AM
    Friday, November 3, 2017 6:57 AM