user1672517
user1672517

Reputation:

How to alter the behavior when clicking a button on the ribbon?

When a user replies to an email, I'd like to keep the action that is being performed but also perform an additional task (sending a call to a web service, which I've got working already separately). My problem consist of the following two item.

Upvotes: 0

Views: 243

Answers (1)

J. Ed
J. Ed

Reputation: 6742

you can change the ribbon properties (such as adding / removing buttons, changing behavior) using the ribbon XML customization file (ms article here).

Fortunately, someone has done microsoft's work for them, and came up with a visual editing tool that saves you the hassle of manually changing xml files.
I like visual ribbon editor, but there are several others (the msdn article contains links to them).

What you would probably want is to add an action to the reply button, which would trigger a javascript function in your code

Upvotes: 1

Related Questions