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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.