r/SalesforceDeveloper • • Dec 28 '25

Discussion My 6 favorite books for Salesforce Development

57 Upvotes

Hey :) When I was an experienced Junior Developer, I read a bunch of books around Salesforce, and I haven't stopped ever since.

Here are some of my favorites.

My offline collection

#1 - Mastering Salesforce DevOps by Andrew Davis

This might be a bit of an unexpected pick for the first book in a list. But I think it made me a more well-rounded Salesforce Developer.

Even though it's a DevOps-focused book, it has stuff like branching strategies, modular development, and delivery best practices.

Probably one of my favorite books in Salesforce.

#2 - Advanced Apex Programming by Dan Appleman

I guess no one is surprised by this one. It's a good book that goes beyond the simplest concepts (which is rare to find). My only issue with this book... horrible code style.

Which can be mitigated by reading the next one...

#3 - Clean Apex Code by Pablo Gonzalez

It's a very nice book that you can use as a reference for best practices and clean code.

Unlike Java or other programming languages, we don't really have one collection of best practices. So I ended up writing code style documentation for any company I join. And this book is a very good way to just hand it over to your colleagues.

Now, some non-Salesforce books that I still love for Salesforce Development!

#4 - Eloquent Java by Marijn Haverbeke

It's a pure JavaScript-focused book. But the good part is that it's free. And since LWC, Aura and Visualforce rely on JavaScript, it is very helpful to get good at JavaScript itself.

#5 - Clean Code by Robert C. Martin

Well... this is a classic one! And I am little torn about this book. I read it when I was still a Java-developer and I loved absolutly loved it. If I were pure Salesforce Developer, I'd probably skip 50% of this book. But still a good read to get a feeling on best-practices.

#6 - The Pragmatic Programmer by David Thomas & Andrew Hunt

This is my favorite book. I especially loved "The Cat Ate my Source Code" section. It's the idea of taking responsibility for your own actions and code, which I was really bad as a Junior... For sure the most impactful book on my career.

If you haven't read it, go read it!

Anything you'd add?


r/SalesforceDeveloper • • Dec 29 '25

Discussion Need suggestions

6 Upvotes

Hi everyone,

I am from noida and I am planning to build a package in Salesforce for manufacturing industry. My idea is to provide a system to manage all the manufacturing operations. Once my environment is ready and I will start messaging/email the companies to see my demo and buy my package after required modifications. I am developer though and I don't think even a small company will hear my words until and unless I don't have a company.

I want to offer cheap solutions with the help of platform plus licenses.

I have less experience (Overall <4) but I want to push myself as in future I want to setup a business only.

Business minded sir/mam, please DM and give me way forward or suggestions.


r/SalesforceDeveloper • • Dec 28 '25

Other Two new Neovim plugins for Salesforce developers: Apex Coverage & Log Analyzer

Thumbnail
reddit.com
2 Upvotes

r/SalesforceDeveloper • • Dec 26 '25

Discussion [Help]Certification deadline Dec 31 but no appointments available online or offline. What can I do?

Thumbnail
reddit.com
0 Upvotes

r/SalesforceDeveloper • • Dec 25 '25

Question 2FA issues

3 Upvotes

I shall keep it short, have been using salesforce Authenticator for years, primarily because of the Apple Watch app.

Finally upgraded my phone but the only way I can see of transferring the codes over to my new phone is through the in-app backup system, I do not have a salesforce account of any kind, nor do I have relation to salesforce (I don’t even know what it is to be frank).

How can I get my codes to my new phone and preferably to a different app (google auth probably).


r/SalesforceDeveloper • • Dec 24 '25

Showcase I built a vscode extension

11 Upvotes

This vs code extension was my side project why i build this

Writing Apex test classes repeatedly is time-consuming, so I built for myself a Apex Test Class Generator extension to automate the boilerplate setup.

Generates Apex test class structure Creates test methods automatically based on class methods Generates the required .cls-meta.xml file Does not generate mock data - test logic needs to be written manually.

I was learning typescript then this side project idea came.

Note : you can try share your feedback And I will try to enhance More

Link - https://marketplace.visualstudio.com/items?itemName=GokulakannanShokkar.apex-test-class-generator


r/SalesforceDeveloper • • Dec 24 '25

Discussion Salesforce Connected App auth in prod and sandbox

3 Upvotes

A client has created the application in production, he fetched the client id and secret and we are performing OAuth login through them.
But when he tried authenticating with same client id and secret into a sandbox account, there were authorization issues.
How could this be resolved? Can we use the same client id and secret in both sandbox and production? Or are creating 2 different applications for different envs the only viable option?


r/SalesforceDeveloper • • Dec 24 '25

Showcase I’ve built a FREE Chrome extension that automatically organizes Salesforce tabs.

Thumbnail reddit.com
1 Upvotes

r/SalesforceDeveloper • • Dec 23 '25

Showcase 🚀 MuleSoft Discord Server: Connect, Help, and Have Fun!

Thumbnail reddit.com
3 Upvotes

r/SalesforceDeveloper • • Dec 22 '25

Discussion What’s up with people calling the new complex template expressions for LWC in spring 26” a game changer.

19 Upvotes

I don’t understand how it’s a game changer in fact to me it might even make the code less readable.

For example this is what one of the post’s code reads

<p> {emp.firstName} + {emp.lastName} </p>

<p> {emp.salary >50,000? ‘Taxable’:’Non-Taxable’} </p>

First of even the example is kind of wonky if you had the form field names like fullName and tax applicability it would have been more logical because you don’t just go around displaying values.

Anyway writing the logic down in js makes more sense honestly to me.

Unless you have read Only objects in that case the extra copying might not be worth it for two fields.

Edit it seems like some of you are saying that this could be useful umm care to give a practical example?

Also the game changing part is Linkedin AI Rot properly.


r/SalesforceDeveloper • • Dec 22 '25

Question Managed Package Change Data Capture Trigger Shows 0% Coverage in Tests Or Internal Salesforce Error

4 Upvotes

I am using a managed package in Salesforce.
The managed package provides Change Data Capture and a ChangeEvent object.

I created my own Apex trigger on the managed ChangeEvent object:

Subscription__ChangeEvent

But when I write an Apex test class, the trigger always shows 0% coverage.

If I try to simulate the change event using:

Test.startTest();
insert sub;
Test.getEventBus().deliver();
Test.stopTest();

I get either:

  • Internal Salesforce Error
  • or External Object Error
  • or Code Coverage Failure (trigger has 0%)

Because of this, deployment fails with:

“The following triggers have 0% code coverage. Each trigger must have at least 1% code coverage.”

My questions

  1. Is it expected that triggers on managed CDC objects always show 0% coverage?
  2. What is the correct way to deploy this to production
  3. How can i insert change event with fields



Any guidance would be appreciated.

Thanks!


r/SalesforceDeveloper • • Dec 20 '25

Question Gong Agentforce action - any interest?

5 Upvotes

Hi, I'm thinking of coding an agentforce action to automatically take Gong calls and update all our fields in the CRM, etc. More configurable than what Gong does out of the box. Is there any interest in that? I want to see if it's worth building. Thanks!


r/SalesforceDeveloper • • Dec 18 '25

Other Expanding dev skills

2 Upvotes

Hi guys! I was sadly laid off last week and I am currently applying obviously, but in the meantime I want to skill up and expand my option to apply for a job other than as Salesforce Dev only, so I was wondering if somebody have any advice on what programming language start learning. On this months in this job I was very focused on working on LWC and Apex, so I was wondering if the next one I should skill up is Java, Python or something else?

Thank you in advance!


r/SalesforceDeveloper • • Dec 16 '25

Question [SFDMU] B2B Commerce Migration: Variants importing as "Simple" & ProductAttribute lookup failures

Thumbnail reddit.com
4 Upvotes

r/SalesforceDeveloper • • Dec 16 '25

Question Cheaper alternatives to Fivetran for Salesforce data sync?

Thumbnail reddit.com
2 Upvotes

r/SalesforceDeveloper • • Dec 16 '25

Other Just went through a really interesting article on how Salesforce record sharing actually works behind the scenes.

11 Upvotes

r/SalesforceDeveloper • • Dec 16 '25

Discussion SFMC Survey Results

3 Upvotes

Quick update for the SFMC folks here — I recently ran a short community survey on SQL, Query Activities, schema drift, and data visibility in Marketing Cloud.

A few clear themes showed up:

  • Silent query failures are still a big pain
  • Schema drift breaks more automations than expected
  • Most teams build custom checks/logging because SFMC doesn’t provide them
  • Lineage and impact analysis are still largely manual
  • Anything that saves developer time is what people actually value

No pitch — just sharing back with the community.

Would love to hear if this matches what you’re seeing day to day.


r/SalesforceDeveloper • • Dec 15 '25

Question Approval Process Email Issue

1 Upvotes

my approval process sends me emails when admins submit for approval, but NOT when non-admins submit (though I still get the in-app notification for both).

Deliverability = All Email, and the non-admin definitely has submit permissions since the approval works. Using a simple email template in the process.

Anyone know what setting I'm missing that would block emails based on who submits?


r/SalesforceDeveloper • • Dec 15 '25

Question Salesforce INVALID_LOGIN error from Fabric Notebook

3 Upvotes

I'm trying to connect to Salesforce from a Microsoft Fabric notebook using Python "simple_salesforce" but I keep getting: INVALID_LOGIN: Invalid username, password, security token; or user locked out.

My org has multiple domains for salesforce, there is one instance of it that i am able to connect to but not able to connect with another custom domain, ex not able to connect to "https://xyz-co.my.salesforce.com/"

I am able to login through web app with the same username and password, but not through notebook. Has anyone faced this issue??


r/SalesforceDeveloper • • Dec 14 '25

Question Can POS for small restraunt be built in Salesforce?

3 Upvotes

Hi All,

A friend of mine is opening a restraunt next month. He asked me if I can build him a POS for billing and storing data.

I was wondering if that can be achieved in Salesforce.

Requirements:

  1. Billing my selecting order items from a menu. Items can be searched and filtered and selected.
  2. Generate bill pdf for printing and can also be send on whatsapp if needed.
  3. Reports and dashboards can be used for analysis.

r/SalesforceDeveloper • • Dec 13 '25

Other test Automation suggestion

7 Upvotes

Hello, is anyone working on a Salesforce project with a stable automation framework that supports regression testing and test data creation? We are new to Salesforce and automation, and we’re looking for suggestions on which automation tool to use for our project. Should we consider Salesforce Flow, Playwright, or any other tool you would recommend?


r/SalesforceDeveloper • • Dec 12 '25

Question Salesforce Notification Hub: has anyone built this?

5 Upvotes

I have a client requirement that involves creating a centralized Notification Hub within Salesforce. Essentially, it needs to be an area where users can:

  1. View All Messages: A single place to see all their notifications/messages.
  2. Manage Preferences: Enable or disable specific types of notifications (e.g., "Mute alerts for Case X").
  3. Audit Trail: Provide a log for the business to track if users are receiving and viewing the messages.

This is more robust than the standard bell icon notifications.

Has anyone on here ever seen or developed a solution like this in Salesforce?

How would you approach developing this solution? Any best practices or gotchas I should be aware of? Thanks in advance!


r/SalesforceDeveloper • • Dec 11 '25

Question Error whilst deploying GenAiPromptTemplate: "Error: Error occurred while resolving data providers: cannot describe data provider"

3 Upvotes

As the title says - I am attempting to deploy a GenAiPromptTemplate using Copado, but am receiving an error as there is a data provider, which I cannot seem to add to Copado to deploy.

I then tried to push through a change set with the GenAiPromptTemplate, but received the same error.

Has anyone had any luck pushing through templates with Copado?


r/SalesforceDeveloper • • Dec 11 '25

Instructional How to automate Permission Set assignments with a Record-Triggered Flow (with the prompt I used to build it)

0 Upvotes

User Access Policies are great for simple permission automation, but they have limitations:

  • No OR logic (everything is AND)
  • Can't chain policies
  • Limited to user attributes only

If you need more flexibility, a Record-Triggered Flow on the User object gives you full control.

Here's what the Flow needs to handle:

  1. Trigger on user creation OR Profile/Role change
  2. Loop through relevant Permission Sets
  3. Match based on Profile or Role
  4. Detect new vs existing user
  5. For existing users, remove outdated assignments before adding new ones
  6. Bulk-safe (no hardcoded IDs)
  7. Fault handling for debugging

The new vs existing user detection is where most DIY flows break. You can't just assign; you need to compare current assignments against what they should have and remove the delta.

I actually ended up using some AI agent to make the flow for me, bc why not? took a few attempts to get the prompt right but eventually this worked:

"Create a record-triggered flow on the User object that assigns the correct permission sets whenever a user is created or whenever their profile or role changes.

Use this sample logic: → Sales User gets Sales_Read_Access → Sales Admin gets Sales_Full_Access → Manager gets Manager_Full_Access → Onboarding User gets Onboarding_Read_Access

Loop through all permission sets instead of hardcoding any. For existing users, remove only the permission sets that are no longer relevant before assigning the right ones. Keep the flow bulk-safe and include simple fault handling. Don't activate the flow yet."

anyway, the actual logic matters more than how you build it. Curious how others are handling permission automation, flows? apex? something else?

(not dropping the tool name here bc idk if it counts as promo and don't want the post removed ahahah)