Notifications
Announcements
No record found.
Hello - How can i force a "save and close" with JavaScript if somebody clicks "Save" on a new/create entity form? Thanks in advance.
*This post is locked for comments
Hi,
You would need to create an onsave handler that cancels the save event and then manually calls formContext.data.entity.save('saveandclose')
OnSave Event handers - docs.microsoft.com/.../addonsave
Save Function docs.microsoft.com/.../save
Hope this helps
Thanks Scott!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2