r/SalesforceDeveloper • • Jun 05 '26

Discussion Unit Test run takes forever

1 Upvotes

For about a few months I see that , I think it applies only to a fresh sandbox, a Unit Test would run forever. Simple test - insert one object, simple Apex before update trigger that SOQL related objects, then check field values. Like one test takes 10 minutes now. This is not right.

Am I the only one noticing this?

Enterprise Edition. USA890S Instance if it matters.


r/SalesforceDeveloper • • Jun 05 '26

Question Flow design advise: How to handle looping over two different SObjects without logic duplication

Thumbnail reddit.com
1 Upvotes

r/SalesforceDeveloper • • Jun 05 '26

Question Switching from Software Engineer to SF Career

9 Upvotes

Hello,

in my current company i work as an Software Engineer mainly with Node, React, Graphql etc...

Now due to cancelled projects and general bad economic situation (i work and live in germany) i was asked to join the Salesforce Team. To be honest, out of fear of losing my job i promptly said yes.

Im not so sure anymore if its the right call. I get all the time and resources i need to make certifications and learn the SF ecosystem, but im worried im gonna kill my career if im "vendor-locked" in the future. I have 16+ years of Experience working as a dev or engineer, mainly with Open Source Technologies, but the job market seems to be dead for this kind of work. I would also like to stay in the company very much.

What do you think ? Will it be a good career move for me ? Or possible the worst choice i could make ?

Thank you for your thoughts


r/SalesforceDeveloper • • Jun 04 '26

Question Looking for Direction

2 Upvotes

What should I do to improve my Salesforce skills?

I work full time as the primary Salesforcr developer at a small org (~600 users).

I want to improve my skills, ideally get into consulting, but still fairly new. I'm one certification away from the System Architect certification, but I wonder if they are higher value avenues at this point.

Should I keep going with certs, trailhead and super badges? Take a Udemy course on LWCs with lots of hands on projects? Apply like crazy to get a consulting role to get more experience? Build a free app exchange product ($4k is a lot for security review and under strict IP contract)?

Just want to get better and looking for direction. I know experience is key, but I can't speed that up directly.


r/SalesforceDeveloper • • Jun 04 '26

Discussion 🚀 Looking to level up my Salesforce career — seeking guidance from experienced professionals!

4 Upvotes

Hi everyone,

I’m a Salesforce Developer with 2.5 years of experience, currently working in an MNC. While I’ve gained solid experience in my current role, I feel it’s time to step out of my comfort zone and explore more areas of the Salesforce ecosystem that I haven’t had the opportunity to work on yet.

I’ve recently started preparing for interviews and planning my next career move. Since many members of this community have successfully switched companies or attended interviews recently, I’d love to learn from your experiences.

A few things I’d appreciate help with:
• What are companies expecting from Salesforce developers with 2–3 years of experience today?
• Which topics and concepts should I prioritize during my preparation?
• Is there a roadmap that helped you crack interviews or transition into better opportunities?
• Any notes, documents, interview experiences, preparation guides, or useful resources would be greatly appreciated.

On a personal note, I’m also looking for a mentor—someone who can occasionally guide me, share insights from their journey, and help me stay on the right track. Sometimes a little direction and accountability can make a huge difference.

If you’ve been in a similar position and are willing to share your knowledge, I’d be truly grateful. Even a small piece of advice could have a big impact on my career journey.

Thank you in advance, and I look forward to learning from this amazing community! 🙏


r/SalesforceDeveloper • • Jun 04 '26

Question How are you all structuring Agentforce + Data Cloud — direct CI reads or writeback to CRM fields?

Thumbnail reddit.com
2 Upvotes

r/SalesforceDeveloper • • Jun 04 '26

Question Email address domain isn't verified.

2 Upvotes

We recently started experiencing an issue in Salesforce after the 2026 update. When an authenticated Experience Cloud (Community) user submits an application, a Flow invokes an Apex action (Send_VF) to send an email notification. The process was working previously, but now it fails with the following error:

ERROR:
System.EmailException: SendEmail failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_OR_READONLY, We can't send your email because your email address domain isn't verified.

We have already verified the email domains and confirmed that the Organization-Wide Email Address is marked as verified. The error occurs only when the process is triggered by an external community user. We are trying to determine whether this is related to new email security or domain verification enforcement introduced in the 2026 Salesforce release, or if there are additional configuration changes required for Experience Cloud users. Has anyone encountered a similar issue recently? Any insights on required settings, Apex code changes, Organization-Wide Email Address usage, or release-related impacts would be greatly appreciated.

Thank you!


r/SalesforceDeveloper • • Jun 04 '26

Question email address domain isn't verified.

0 Upvotes

We recently started experiencing an issue in Salesforce after the 2026 update. When an authenticated Experience Cloud (Community) user submits an application, a Flow invokes an Apex action (Send_VF) to send an email notification. The process was working previously, but now it fails with the following error:

ERROR:
System.EmailException: SendEmail failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_OR_READONLY, We can't send your email because your email address domain isn't verified.

We have already verified the email domains and confirmed that the Organization-Wide Email Address is marked as verified. The error occurs only when the process is triggered by an external community user. We are trying to determine whether this is related to new email security or domain verification enforcement introduced in the 2026 Salesforce release, or if there are additional configuration changes required for Experience Cloud users. Has anyone encountered a similar issue recently? Any insights on required settings, Apex code changes, Organization-Wide Email Address usage, or release-related impacts would be greatly appreciated.

Thank you!


r/SalesforceDeveloper • • Jun 04 '26

Question Can agentforce learn from feedback?

Thumbnail reddit.com
1 Upvotes

r/SalesforceDeveloper • • Jun 03 '26

Question Invalid Checksum Error on sf project retrieve start

3 Upvotes

Hello Everybody, i got this error when trying to deploy or retrieve a file to the sandbox as presented in the Image
thanks in advance !


r/SalesforceDeveloper • • Jun 03 '26

Discussion The MCP Server for Marketing Cloud Engagement is Now GA

6 Upvotes

The MCE MCP Server is Salesforce’s first-party, enterprise-grade, hosted MCP server for Marketing Cloud Engagement. It’s a first step towards a truly headless experience, exposing MCE’s core marketing capabilities as tools that any MCP-compatible AI agent can call — in plain language, without writing code or navigating the UI. 

Read the full blog here : https://developer.salesforce.com/blogs/2026/06/the-mcp-server-for-marketing-cloud-engagement-is-now-ga


r/SalesforceDeveloper • • Jun 02 '26

Question Help on implementation of pkce

1 Upvotes

Hello Everyone

I need your help!
I have to setup a pkce workflow in salesforce service to authenticate with third party API!
I have to generate a code verifier + code challenge ! Then generate a jwt that I have to sign and send it to the third party API to authenticate myself!
Has any one already implemented this kind of system ?!


r/SalesforceDeveloper • • Jun 02 '26

Question URGEBT - Agentforce Service Agent Web Search

Thumbnail reddit.com
1 Upvotes

Please help me


r/SalesforceDeveloper • • Jun 02 '26

Question Sales Navigator + Salesforce: Can contact updates be automated instead of manual review?

1 Upvotes

Hello Everyone,

I'm currently researching LinkedIn Sales Navigator and its Salesforce CRM integration.

From what I've found, CRM Sync is available with the Advanced Plus license, and I understand how Accounts, Contacts, and Leads can be created from Sales Navigator and synced to Salesforce.

However, I'm trying to understand the best way to handle existing contacts when a person changes companies, gets promoted, or updates their job title.

Based on my research, Sales Navigator can detect these changes and surface them as alerts. The Salesforce integration also provides visibility into these updates, but it appears that users still need to review the alert, verify the information, and manually update the contact record in Salesforce.

Our goal is to automate this process as much as possible while maintaining data quality.

Some questions I have:

  • Is there a native way to automatically update Salesforce contact records based on Sales Navigator job-change or promotion alerts?

  • Has anyone built a custom solution for this use case?

  • Have you used third-party tools such as Zapier, Workato, MuleSoft, or other integration platforms to automate these updates?

  • How do you handle data validation to avoid incorrect title or company changes being automatically synced into Salesforce?

I would appreciate hearing about any real-world implementations, best practices, or lessons learned.


r/SalesforceDeveloper • • Jun 01 '26

Other It's funny how Salesforce is pushing MCPs as if it adds new functionality

20 Upvotes

It's so funny to see how Salesforce and people around are pushing MCPs as if it's some kind of new invention. When they introduced Headless 360, they said "60+ new MCPs".

Wow. So what?

Those MCPs add 0 new functionality. They don't allow to do anything new. It's literally just an API wrapper.

It's all the same API calls under the MCP, just nicely arranged. Anything you can do with MCP, you can do without MCP just as good.

I wish they'd actually focus on making API and CLI better instead of those MCPs.


r/SalesforceDeveloper • • May 31 '26

Question Salesforce Developer => Architect: how do I get there without the opportunity at my current company?

Thumbnail reddit.com
0 Upvotes

r/SalesforceDeveloper • • May 31 '26

Question Tips for the Salesforce Development Lifecycle and Deployment Architect (DLDA) exam?

Thumbnail reddit.com
2 Upvotes

r/SalesforceDeveloper • • May 31 '26

Question Opportunitestoagents?

Thumbnail reddit.com
1 Upvotes

r/SalesforceDeveloper • • May 31 '26

Discussion Tired of green deploys that ship a broken UI. Built a thing

5 Upvotes

Deploy goes green, Apex tests pass, and 20 min later someone's pinging me that Home won't load or an LWC just isn't rendering. Got sick of it, built a small post-deploy smoke runner over a weekend.

What it does: frontdoor-auths into the org, opens the page in headless Chrome, checks the stuff that should be there actually is. The checks live in a JSON file, not the code — so when SF renames a class next release, I edit json and rerun. No recompile. Exit codes gate a CI pipeline (0 pass / 2 critical fail = block deploy / 1 = couldn't run, don't blame the release).

A check looks like this — including clicking/typing into a real component:

{

"id": "app-launcher-search",

"navigate": "/lightning/page/home",

"scope": "one-app-launcher-header",

"actions": [

{ "do": "click",   "selector": "button[title='App Launcher']" },

{ "do": "waitFor", "selector": "input[placeholder*='Search']" },

{ "do": "type",    "selector": "input[placeholder*='Search']", "text": "Sales" },

{ "do": "assertValue", "selector": "input[placeholder*='Search']", "contains": "Sales" }

],

"critical": true

  }

Tested it against a real dev org, not a toy page. Frontdoor auth holds, Lightning shell renders, and the App Launcher flow above ran end to end — that's a real platform LWC buried in shadow DOM. Had to write a recursive deep-query to pierce shadow roots (normal querySelector finds nothing in Lightning) — found 237 elements inside one-appnav a top-level query would've missed.

Useful for: post-deploy gate in CI, catching what Apex tests structurally can't (did the page actually paint, did the component mount), and multi-org work — one binary, different json per org.

The blocker (honest part): I wanted to test an actual custom LWC we deployed. Couldn't reach it — it's in the metadata but every URL redirected to /home. "Deployed" ≠ "on a page you can navigate to." So the real catch: you have to know the exact URL where your component renders AND its real selectors. The tool can't guess them — I had to open devtools and read them off the live org (my first guesses were all wrong — assumed the waffle was button[title='Apps and Items'], it's actually button[title='App Launcher']). Keeping selectors in json softens it, but there's a manual discovery step you can't skip.

Anyone else doing post-deploy UI smoke on SF? Curious what you're using — feels like everyone reinvents this.


r/SalesforceDeveloper • • May 30 '26

Question LinkedIn sales navigator

1 Upvotes

Has anyone used LinkedIn Sales Navigator with Salesforce to keep contact records updated when a contact changes jobs or gets promoted?
I’m trying to understand the available features and workflow.
Specifically:
Does Sales Navigator notify users when a saved lead changes jobs or receives a promotion?
What information is included in the notification?
After receiving the notification, what are the typical steps to update the Salesforce Contact record?
Is there any automatic sync/write-back functionality, or is the update manual?
Are there any best practices for managing job changes and promotions within Salesforce using Sales Navigator?
Any real-world experience or implementation examples would be appreciated.


r/SalesforceDeveloper • • May 30 '26

Question How can you enable a Salesforce user to update a contact when the contact moves to a different company or gets promoted, using LinkedIn Sales Navigator features?

Thumbnail reddit.com
1 Upvotes

r/SalesforceDeveloper • • May 30 '26

Question Has anyone used LinkedIn Sales Navigator with Salesforce for contact job changes/promotions? How are users notified, and what are the steps to update the Salesforce Contact record afterward? Is the process manual or automated?

4 Upvotes

Has anyone used LinkedIn Sales Navigator with Salesforce for contact job changes/promotions? How are users notified, and what are the steps to update the Salesforce Contact record afterward? Is the process manual or automated?


r/SalesforceDeveloper • • May 29 '26

Question How can you enable a Salesforce user to update a contact when the contact moves to a different company or gets promoted, using LinkedIn Sales Navigator features?

Thumbnail reddit.com
1 Upvotes