Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 15023

An sObject represents an object, such as an Account or Campaign. An sObject is the base object for all objects in Apex.

1 vote

Is it possible to Upsert a List<SObject> with external ID specified

I wasn't able to find any way to use Upsert with an Ext ID and a generic List. As a workaround I split the source data into two lists by querying the target org for the Ext ID value and capturing all …
jangiz's user avatar
  • 133
9 votes
3 answers
5k views

Is it possible to Upsert a List<SObject> with external ID specified

assign it to a generic SObject which I later add to s_targetRecordList as seen below. … SObject s_targetSObject = createSObject(type); //... …
jangiz's user avatar
  • 133