user avatar
user avatar
user avatar
Derek F
  • Member for 6 years, 10 months
  • Last seen this week
163 votes
4 answers
53k views

What are Salesforce ID's composed of?

  • 7,537
43 votes
16 answers
81k views

How to debug the mysterious "duplicate value found: <unknown> duplicates value on record with id: <unknown>" error

40 votes
1 answer
10k views

How many SOQL queries are spent for subqueries?

  • 3,615
35 votes
1 answer
975 views

What are the compiled costs of each Formula function

30 votes
1 answer
24k views

How do I increase my code coverage, or why can't I cover these lines?

  • 87.3k
22 votes
1 answer
3k views

why is the value in [] for insufficient access rights on cross-reference id: [] always/usually empty?

  • 63k
21 votes
1 answer
4k views

How do I write an Apex unit test?

  • 87.3k
20 votes
4 answers
2k views

Estimate effort of a Salesforce-to-Salesforce project

18 votes
4 answers
12k views

How to avoid instantiating object inside a loop?

  • 2,062
16 votes
2 answers
16k views

APEX: Use a dynamic string to create an instance of a class

  • 4,388
15 votes
3 answers
10k views

When is it appropriate to use (SeeAllData=true)

  • 7,047
15 votes
1 answer
2k views

Set Relationship Via Name Pointing Field?

  • 143k
14 votes
1 answer
2k views

How do I unit test code that includes a callout?

  • 87.3k
14 votes
1 answer
6k views

How do I test asynchronous Apex?

  • 87.3k
14 votes
1 answer
658 views

Can someone confirm if I've identified a bug in Salesforce regarding formula fields?

  • 445
13 votes
4 answers
13k views

Downgrading sfdx-cli

  • 1,979
12 votes
2 answers
2k views

Confirmation that (inner) classes are still not fully supported in @AuraEnabled methods?

  • 130k
12 votes
1 answer
2k views

Most efficient way to switch on SObjectType?

  • 143k
11 votes
1 answer
704 views

What Type of Joins are Supported in SOQL?

  • 143k
10 votes
1 answer
4k views

What can cause "System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out"?

9 votes
4 answers
29k views

Map of get vs containskey efficient check?

  • 1,654
9 votes
2 answers
3k views

Documentation for hidden SOQL date literals (e.g. N_DAYS_AGO)

  • 3,796
9 votes
4 answers
11k views

Boolean Evaluation in Apex?

8 votes
3 answers
11k views

What's the difference between these authentication endpoints?

  • 1,039
7 votes
2 answers
477 views

Branching Strategy and Pushing Tickets with Different Testing Timelines through to Production

  • 132
7 votes
2 answers
632 views

FFLib Selectors with SOQL For Loops

7 votes
1 answer
4k views

Named Credentials - What is the difference between JWT & JWT Token Exchange

  • 1,295
7 votes
1 answer
1k views

How to fix two categories of UNABLE_TO_LOCK_ROW errors in Apex tests running in parallel?

  • 130k
7 votes
4 answers
1k views

Prevent duplicates: Trigger - Workflow Field Update- Trigger w/ Callout - AllOrNone = false

  • 63k
6 votes
2 answers
2k views

Custom Auth Provider usage for unattended OAuth flow

  • 121