Search code examples
sugarcrmsuitecrm

Get newly created id of a record before redirecting page


I would like to retrieve the id of a newly created record using javascript when I click on save button and just before redirecting page.

Do you have any idea please ?

Thank you !


Solution

  • I resolved this by using logic hook (after save), for your information, I am using Sugar 6.5 no matter the version of suitecrm.

    Thank you !