I have a plugin registered on the Update of account fields. Whenever the user updates the parent account record,this Plugin updates all child contacts. The user would like to see a pop up (Confirmation) message stating "All child Contacts are about to be updated". When the user clicks Cancel, no update should happen.
The following are my questions reg the same:
- What would be the best way of doing it?
- Is it possible to show an alert message from a plugin in the first place?
- Knowing JavaScript's onsave is one of the options, can it prevent the registered plugin from firing?
Note. Whenever a Contact record is created with the parent customer field in place, I have a workflow which updates the fields of the contact with the parent account fields. Also a JavaScript to populate the fields automatically on contact form when a parent customer (Account) is chosen is in place.
Also is there a way of obtaining the field values before and after update of address fields on "On Save" of the form? Am asking this cos I would have to display the pop up if and only if there is an update of Address fields on the Account record?