You need to sign in to do that
Don't have an account?
AnnieG
About deletion of objects
Hi,
Just wonder if a deletion of object, like leads and contacts, can be intecepted so that custom logics can be added to the deletion.
BTW, we can assign users to different profiles to limit their permissions, right?
Thanks for your input.
Just wonder if a deletion of object, like leads and contacts, can be intecepted so that custom logics can be added to the deletion.
BTW, we can assign users to different profiles to limit their permissions, right?
Thanks for your input.
you can create a new button called Delete , and remove the existing Delete button, now you can have code to capture the delete and perform your required actions.
with Apex Code (preview currently) you can also trigger and run code on delete actions from the browser AND the API .
I tried, but seems to me there is no go for the Save button. Am I right?
Seems that only applies to the standard buttons, which doesn't include "Save". So what can I do if
I want some extra logic embeded in the "Save" action? Like when the "Save" button on salesforce is pressed, I also want the record to be created or updated on our company's side.
Thanks for your input.
With our upcoming feature, Apex Code you will be able to build triggers that operate on data that is or has been saved, but this is not available yet.
The hard way, you can create an entire edit page in an scontrol using yards of javascript, then you can have your own save button and perform actions. This turns out to be lots of coding, so i can't recomend it.
better to build workflow notification if you are trying to catch bad data that has been entered, or outbound messaging if you are trying to send info to another system.
what extra logic are you planning?