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 sObject represents an object, such as an Account or Campaign. An sObject is the base object for all objects in Apex.
4
votes
Required Field on VisualForce Triggers "SObject row does not allow errors" message?
As mentioned in my comment, it's a bug. I got a response from Salesforce today confirming it.
Here is the bug in the known issues tracker:
https://success.salesforce.com/issues_view?id=a1p30000000Sz5 …
8
votes
Accepted
Error when I populate lookup with external id using .put method
You are so close, this is not because you are using an External Id, it is because you are not using the right SObject method.
I have been caught out by this many times as well. …
7
votes
Get object sharing setting on Organization-Wide Defaults
) {
//Share object exists, therefore custom object is private or public read only
//Still need to use dynamic apex because this code won't compile if MyCustomObject__Share does not exist
SObject …
15
votes
Accepted
Find out the default record type of any Object in Apex
You can use apex describe to get the record type details of any object. This information will be correct for the running user.
Schema.DescribeSObjectResult dsr = Account.SObjectType.getDescribe();
Sc …