Blog, Development, Howto

JS: How to get the originating record reference in the form script of the Quick Create Form

Just imagine that you need to define the context in which “Quick Create Form” was opened and depending on the context – to do some additional operations. In this short post I provide supported code you can use to define it.

Create JavaScript webresource and add following code inside:

Add this webresource to the “Quick Create Form” and register quickCreateOnLoad to handle OnLoad event of the form.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.