Skip to main content

#VSCODE0 discussing

Hi everyone,

If you are testing your agents locally using Agentforce DX / Vibes and hitting a generic "Something went wrong" error pointing to missing permission sets (like AgentforceServiceAgentBase or EinsteinGPTPromptTemplateUser) during live test execution, check your sub-agents.

The Issue: This often happens due to an unpopulated reference in the agent script under Local Events. The Fix: Look at your Check Events action under your local sub-agent. If the Reference action type is blank, manually select or set it as a Prompt Template. You can right-click the script and run AFDX: Validate This Agent to verify your structure before starting the simulation server again.

Hope this saves some troubleshooting time! 

 

 

#Agentforce #VSCODE #Apex

1 comment
  1. May 31, 8:08 PM

    If you’re testing locally with Agentforce DX / Vibes and get a generic “Something went wrong”

    error mentioning missing permission sets like AgentforceServiceAgentBase or EinsteinGPTPromptTemplateUser, don’t only check permissions. 

     

    In some cases, the real issue is an unpopulated reference in the agent script.

    Go to your Local Events sub-agent and check the Check Events action. If the Reference action type is blank, set it to Prompt Template.

     

    Then right-click the agent script and run

    AFDX: Validate This Agent before restarting the simulation server.

0/9000

Agentforce Vibes Configuration + VS Code Setup (Step-by-Step Guide)

If you're getting started with Agentforce Vibes and want a smooth setup experience, I put together a couple of practical resources to help you move faster:

🔹 Agentforce Vibes Configuration Guide - Click here for the step by step walk through!

 

A step-by-step walkthrough for configuring Agentforce Vibes directly in your org—focused on clarity and real-world setup.

🔹 VS Code Setup for Salesforce Development - See the attached word doc.

 

A companion guide that walks through installing and configuring VS Code for Salesforce development, so you're ready to build right away. 

 

#Agentforce  #VSCODE  #VibeCoding

0/9000

Did any one facing this Error "Command 'SFDX: Create Project' resulted

in an error"

I am already installed CLI new Version and VS code twice but still facing this Problem. 

Please help me to resolve itDid any one facing this Error

 

#Trailhead Challenges  #SFDX CLI  #VSCODE  #LWC

2 comments
0/9000

Hey Community! I have an issue in Vs code Every time it's get popped up.

whenever I try to deploy component or Apex class in to my salesforce org, I encounter the error (Lighthning bundle not found / Project path error) Can you help in fixing this!!

Hey Community! I have an issue in Vs code Every time it's get popped up.

 

 

#Trailhead  #VSCODE  #LWC

0/9000

I have installed VS Code and all of the needed SF components - cli and extensions. I am able to connect to an org by running the following in a command line:

sfdx force:auth:web:login -d --setalias ORG --instanceurl INSTANCE_URL

 

Having done all of that the name of the org that I am connected to does not display in the lower left hand corner of VS Code as it should.

 

Any tips?

 

I have installed VS Code and all of the needed SF components - cli and extensions.

 

#VSCODE

0/9000

I've done this many times in the past but recently when setting up a new project in VS Code, I'm unable to right click on a package.xml and select "SFDX: Retrieve Source in Manifest From Org". The option doesn't appear. The option is also not available in the command palette in VS code.

 

I have created a project, authorized an org, and set a default org in VS Code. There is an sfdx-project.json file in the root directory and there is a package.xml file in a manifest directory with a standard sf package that was generated when the project was created.

 

I am able to retrieve using the command line directly, but would love it if I could figure out what is going on with my VS Code setup. Any ideas?

 

#Salesforce Developer  #VSCODE

2 answers
  1. Oct 23, 2024, 7:35 PM

    I'm just connecting to a sandbox, not to a production org. Does a prod org need to have source tracking enabled to retrieve metadata via a manifest?

0/9000

I have some problems with Deploy a Message Channel, When I using the command in Vscode, it show me a meesage like this:

 

I have some problems with Deploy a Message Channel, When I using the command in Vscode, it show me a meesage like this:

 

#Trailhead Challenges  #Lightning Message Service  #Salesforce Developer  #VSCODE

2 comments
  1. Mar 4, 2024, 9:25 PM

    Hi @Renzo Gómez Césare Can you please confirm if you're still seeing an issue? If yes, can you please mention the Module and Unit name or URL so that we can look into it and can help you further?

     

    If your issue is resolved, can you please mark the appropriate response as "Best Answer” or post the resolution that helped you in resolving this issue? So that it can help the other Trailblazers. 

     

    Thanks!

    ++TrailheadHelpFollowUp

0/9000

Announcing: New Video on Einstein for Developers

 

The fabulous @Alba Rivas, Principal Developer Advocate at Salesforce, has just released a new video which walks you through Einstein for Developers, our VS Code extension that helps you with Apex code generation and.... with much more on the roadmap coming soon!

 

Einstein for Developers in currently in beta, you can use it for free, and it also works in Code Builder.

 

Watch it here.

Announcing: New Video on Einstein for Developers The fabulous , Principal Developer Advocate at Salesforce, has just released a new video which walks you through Einstein for Developers, our VS Code e #Generative AI #Apex #VSCODE #Code Builder #Einstein

0/9000

Needed to run a script for a client today to identify records that were in an error state and needed to be corrected. Before applying the fix, i wanted them to review the records and confirm that we could move forward.

I ended up exporting the raw log into #VSCode and using Find/Replace with a regular expression. Finding the regex below and replacing with nothing.

^(?!.*USER_DEBUG).*\n

So the question is, how would YOU export and clean up a raw debug log so that the client could easily review?  Any other processes, particular tools, VSCode extensions, etc. that i should take a look at?

0/9000

Of course you did... and now you can.

Now you can with the Salesforce Flow Visualiser.

https://marketplace.visualstudio.com/i

tems?itemName=ToddHalfpenny.sfflowvisualiser

 

Please share,  try it out, and let me have feedback.Ever wanted to see a visual representation of a flow in VS Code?

It’s open source, and I’ll be publishing the lib that powers it too. The underlying lib should also be able to be used from the CLI (to come), along with features like rendering to files etc.

 

#Flow #VSCODE

7 answers
0/9000