user avatar
user avatar
user avatar
David Reed
Moderator
  • Member for 5 years, 2 months
  • Last seen this week
30 votes
1 answer
25k views

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

21 votes
2 answers
15k views

How do I get started working with JSON in Apex?

21 votes
1 answer
4k views

How do I write an Apex unit test?

14 votes
1 answer
6k views

How do I test asynchronous Apex?

14 votes
1 answer
2k views

How do I unit test code that includes a callout?

10 votes
1 answer
596 views

Using the Describe API, how can I tell whether a given Custom Setting is of list or hierarchy type?

9 votes
2 answers
5k views

Programmatically generate Quote PDF in Lightning Component Apex controller

7 votes
1 answer
580 views

Is there a way to detect, via SOQL query or describe, whether Email-to-Case is turned on in an org?

6 votes
0 answers
689 views

System.UnexpectedException after catching an exception in unit test

5 votes
3 answers
4k views

What types of fields are groupable in a SOQL `GROUP BY` clause?

5 votes
3 answers
1k views

What's the behavior/use case of "Apply to child territories" in Enterprise Territory Management?

5 votes
3 answers
2k views

Enabling Enhanced Notes in scratch org

5 votes
1 answer
881 views

Subscribe users to reports run as themselves using API or Apex

5 votes
1 answer
886 views

SFDX + CI: Scratch org user only sometimes has Marketing User permission

4 votes
1 answer
1k views

Why can't I see related data in my Apex, or why are related records showing up as `null`?

4 votes
2 answers
552 views

Bulk deletion of Case Team Member records, data skew, and performance issues

3 votes
1 answer
831 views

Testing Lightning component that fires event based upon a child component's `onchange` action

3 votes
1 answer
2k views

Does <lightning:navigation> support targeting Visualforce pages with URL parameters?

3 votes
1 answer
64 views

Why does my scratch org creation hang forever with a ScratchOrgInfo in New status, when using the Limited Access License?

2 votes
1 answer
44 views

Can the new Chatter API Communities resource create a Visualforce Tabs community?

2 votes
0 answers
194 views

How do I detect the scratch org "DomainNotPropagated" error from outside the org?

2 votes
1 answer
89 views

Why can't I package a FlexiPage that contains a Quip Document component?

2 votes
1 answer
175 views

Silent failure of DML-equivalent operations in Visualforce controller's constructor

2 votes
1 answer
1k views

Scheduled Data Export: how to obtain ContentVersion linking data

2 votes
0 answers
392 views

Embed Lightning component in Leaflet map popup?

2 votes
1 answer
2k views

Knowledge Article Suggestions: behavior differs between Classic and Lightning

1 vote
1 answer
874 views

Named Credential - determining if Named Principal is authenticated?

1 vote
1 answer
359 views

Prepopulating Time field in Lightning Quick Action: user time zone not respected

1 vote
1 answer
1k views

DateTime values in Bulk Query results - difference between CSV and JSON formats

0 votes
1 answer
199 views

Sharing static data between JavaScript and Apex controllers in Lightning Components