You need to sign in to do that
Don't have an account?

Trigger on Custom Setting
We're interested in updating records when the value of a Custom Setting changes. I was wondering if anyone knows if you can fire a trigger on update for a Custom Setting value? There does not seem to be anyway of programatically inserting or updating the information held, so, a trigger appears to be the only option of automating the updates.
Hi,
Its not possible to write a trigger on the Custom Settings.
Though you are able to write a trigger on Custom Settings..you will not be able to Update the Records as Custom Settings do not have the Lookup Fields to associate your Custom Setting with any of the Objects(be it Standard or Custom).
So if you are trying to write a trigger on the "Custom Setting" and update the object related with the custom settings then its not possible.
Thanks,
Mandar.
Hi,
Doesnt it seem weird? the user can update or delete custom settings without any trouble and program can crash. Is there another through apex code without triggers?
Thanks
Ceyhun Karimov