locked
CRM2013: How to stop auto save/create note records? RRS feed

  • Question

  • Hello,

    Is it possible to stop the Notes control to auto save/create note records? When adding/editing note and clicking some where outside the note textbox, the note is saved/created even without clicking on the Done button.

    Thanks.

    Monday, December 1, 2014 3:31 PM

All replies

  • as far as I know it's not possible (at least with supported customizations)

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Monday, December 1, 2014 4:19 PM
  • Hello,

    You can stop it by writing some js code on save event of the Note.

    // JavaScript source code
    function preventAutoSave(context) {
        var eventArgs = context.getEventArgs();
        if (eventArgs.getSaveMode() == 70) {
            eventArgs.preventDefault();
        }
    }
    --

    Regards,

    Gopinath

    • Proposed as answer by Gopinath Reddy Monday, December 1, 2014 5:21 PM
    Monday, December 1, 2014 5:21 PM
  • Like Guido mentioned, I think it's not possible with supported customization. I don't think using the preventDefault would work as I can't customize the Note entity.

    I wonder if there is any unsupported solution out there.

    Tuesday, December 2, 2014 5:14 PM