locked
After Save Event RRS feed

  • Question

  • Hi,

    Is there any way I can execute some JavaScript code after the form saved.

    What I want to do is: to get the newly created record's id and set it on the lookup field on the opener window. For this I have:

    • Created a button (web resource) on a custom form to open another CRM entity record in new mode
    • When user will save the new record, I want to get the record ID and set it over the lookup field on the opener window (window.opener).

    NOTE: I am not using the built-in lookup here because I have to pass some data from the opener window to over the new record.


    blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk




    • Edited by Khadim Ali Wednesday, July 8, 2015 12:56 PM
    Wednesday, July 8, 2015 12:45 PM