Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

when onSave() javascript event is triggered

(0) ShareShare
ReportReport
Posted on by 267

I know it is triigered on clicking save options but does it get triggered after data is saved in database or before going into database ?

function onChangeURL() {
alert('you have changed url of your site');
}

*This post is locked for comments

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: when onSave() javascript event is triggered

    Hi zaub,

    OnSave JavaScript is triggered before the database transaction takes place.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: when onSave() javascript event is triggered

    It should be before going into the database.

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.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans