Dynamics 365: Prevent execution of "Save & close" on Phonecall entity (in Javascript)? RRS feed

  • Question

  • Hi,

    I want to be able to stop the form from closing when the user clicks "Save & Close" in the PhoneCall-entity.
    I have tried this code, but this only prevent saving (the form still closes):


    return false;

    Anyone have an idea?


    Marius H. Enerud

    Thursday, March 9, 2017 11:54 AM

All replies

  • It is better to use ribbon customization to hide "save and close" button. User will only use save button.

    Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Friday, March 10, 2017 5:40 AM
  • Refer this:


    Regards, Saad

    Friday, March 10, 2017 8:05 AM