3 votes
Accepted

How to insert predefined amount of blank spaces after a word

Fixed width text files are not CSV (CSV means "comma-separated values"). In Apex Code, you'd write: String row = firstName.rightPad(10).left(10) + lastName.rightPad(10).left(10) + // and ...
sfdcfox's user avatar
  • 491k
3 votes

LWC Export query results to Excel/csv where rows > 2000 prior to delete

The delete all mode can just use whatever query the LWC used originally to get all the data, up to 50,000,000 rows. public Iterable<sObject> start(Database.BatchableContext context) { return ...
sfdcfox's user avatar
  • 491k
1 vote
Accepted

Tracking Email and SMS metrics with a custom field

I would recommend using a Send Log solution for capturing few standard fields + any custom fields you choose to add. Here are description on how to configure sendlogs for SMS an Email.
Lukas Lunow's user avatar
  • 21.4k

Only top scored, non community-wiki answers of a minimum length are eligible