Search Results
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 |
An external ID is a custom field that has the “External ID” attribute, meaning that it contains unique record identifiers from a system outside of Salesforce.
4
votes
Accepted
Can we use AccountNumber field in Account object as an External ID?
Just tried THIS: in the dev console
Account a = New Account(Name='test', AccountNumber='1234');
upsert a accountNumber;
and got this message:
Invalid field for upsert, must be an External Id cu …
1
vote
Accepted
Issue with External Id while upserting from external system using Salesforce SOAP API
See my comment
You can add a field to tank concatenating the number and site and set that to external id. Then populate with a WFR.
Use that in the upsert
2
votes
How to insert (upsert) an object that has no external id?
You do not need any ID at all to insert a record. Simply use the REST api and end the endpoint at
instance_url/services/data/v30.0/sobjects/{CustomObject__c}
2
votes
Accepted
updating the child record and linking it to parent
The External Id needs to be on the record in Salesforce.
Say you have:
Account -> (Name = 'Example Account', External_Id__c = 'ABCD');
To link the Child Lookup using the External Id you would do:
…