I am trying to create and update records in Custom Settings object. I am able to use insert but did not find an option to upsert. Does upsert work with custom settings? Please suggest.

1 Answer 1


According to the documentation here http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_custom_settings.htm, you can upsert custom settings.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.