You need to sign in to do that
Don't have an account?
When i tried to instal LWC local development server in my Mac system i am getting below error. could please guide me to fix this issue
Polling for new version(s) to become available on npm... done
HTTPError: Response code 403 (Forbidden)
Code: ERR_NON_2XX_3XX_RESPONSE

Using Data Loader to load records into object with master details relationship
Hi,
I need to load data into two objects. I am able to load data into one object using the data loader. The second object has a master-details relationship with the first object so I need to have the unique record id of the records of first object in the CSV file. How can I add those record id's to my CSV file?



If in a Master-detail relationship, you first need to insert all master records.
Then run a report to get all the Inserted Master record Id's and export them your machine.
Now to insert detail object records, you need to associate them with Master Record ID.
A possible approcah would be use VLOOkUP function in Excel to populate the Id's.
Once you have the ID's populated then you can insert Detail records using data loader.
Hope it helps.
Sales4ce

why my setup menus do not have Deploy or Outbound Change Sets ?


Sorry you can't learn this in free dev edition. The Developer Edition doesn't have the concept of Sandboxes so there is no "Changesets" too
You'll have to practice that one your Sandboxes associated with the Production instance(or the Paid SF Instance that your Company is using).
Please mark it as best answer if it helps.
Thanks,
Saravana
sfdx.cmd is not recognized as an internal or external command
'"C:\Users\Desja\AppData\Local\sfdx\client\bin\..\7.209.6-8ba3197\bin\sfdx.cmd"' is not recognized as an internal or external command, operable program or batch file.
>>> Why is it trying to run sfdx from that folder? It's not in that folder!
In this folder: C:\Users\Desja\AppData\Local\sfdx\client I have two sub-folders, "bin" and "7.209.6-8ba3197", the 2nd of which appears to have been created on 9/5/23 (just 2 days ago). The "bin" folder contains 2 files: sf.cmd and sfdx.cmd, while the "7.209.6-8ba3197" folder contains a "bin" folder, which contains a single file named "node.exe"
CLI has become a very valuable tool for me as I support 19 nearly identical orgs for the chapters of a national non-profit that works for the homeless. I have no idea why it has stopped working so mysteriously.
I have been through several existing messages on here that all seem to point to the PATH environment variable. The correct folder is present in my path, but the error message indicates it's trying to run sfdx from that other folder named 7.209.6-8ba3197\bin -- why?
Thank you for any clues to help resolve this.


https://github.com/forcedotcom/cli/issues/2447

Flow query fails to find records - ErrorId: 1328908832-31586 (-548403183)
This is more informative than a question - incase anyone else comes looking for this answer as this is a Premium Support only request.
If you are running a GET RECORDS in a flow and it is failing to find records - you may find that your Object has too many records and you are using a non-selective (fields are not indexed) query.
Please see articles and error I received in debug below:
https://help.salesforce.com/articleView?id=000325257&language=en_US&type=1&mode=1
https://help.salesforce.com/articleView?id=000323572&type=1&mode=1
Please include this ErrorId if you contact support: 1328908832-31586 (-548403183)




You are right.
But I would like to add one more point if you are seeing this "System.QueryException: Non-selective query against large object type (more than 200000 rows)" In debug logs.
You have to make your query more selective or Reach salesforce to perform Indexing.
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.

Getting error while deploying Duplicate role to Production
| ERROR | [DuplicateRule PersonAccount.TRS_Person_Account_Duplicate_Rule] SortOrder must be in sequential order from 1.
We are trying to deploy Duplicate rules from one org to Production but getting error
Deployment tool - Copado




You can use the Reorder link to set the order in which the specified, Duplicate Rule is processed and by default any newly created Duplicate Rule is always ordered last and hence processed last.
Please mark as Best Answer if above information was helpful.
Thanks,
Trigger or Flow? Need to automate creation of one junction record from another.
I have a doozy of a user story, and I'm stuck. I will try to explain as best as I can.
Objects in Question:
Account (Standard)
Project (Custom) - Master Detail relation to Account.
Project Services (Custom) - Junction object between Service & Project.
Service (Custom) - Just a list of services we offer that need to be linked to multiple other records.
Current Services (Custom) - Junction object between service & account.
Each 'Account' can have multiple 'Projects' (Master Detail). Each 'Project' can have multiple 'Services' (Junction Object). Therefore each 'Account' can have multiple 'Services' (Junction Object).
What I desperately need: When I relate a 'Service' record to a 'Project', through junction object 'Project Services', I need an identical relation to be created between 'Account' and 'Service', on junction object 'Current Services'. Is this doable though a Flow or a Trigger?
EX: 'Account A' has just become an active client. User goes to create the new record 'Project 1' associated with 'Account A' on the custom 'Project' object. While creating 'Project 1', user relates 'Service 1' & 'Service 2' to that project through junction object 'Project Services'. At the same time a new record needs to be created on the junction object 'Current Services' relating that service to 'Account A'. Each 'Service' only need be added to 'Account A' once.
Think of this as a rollup of related 'Services' to the related 'Account' listed on a 'Project' record. End result being 'Account A' will always have a list of current services in a related list.
Help please? I've been thinking about this for 3 straight days, and my brain hurts. Feel free to ask clarifying questions if I make absolutely zero sense.
I've never written a trigger, so if that's my path, any advice or help would be much appreciated.


To automatically connect an 'Account' and a 'Service' through the 'Current Services' junction object when a 'Service' is linked to a 'Project' via the 'Project Services' junction object, you can use an Apex trigger. This trigger activates when a new record is added to the 'Project Services' junction object and handles the creation of records in the 'Current Services' junction object.
Within this trigger, you'll need to go through the newly added 'Project Services' records and make corresponding entries in the 'Current Services' junction object. This trigger should be built to handle bulk operations, ensuring it functions correctly even when multiple 'Project Services' records are added simultaneously. The trigger may have the following body:
trigger ProjectServicesTrigger on Project_Services__c (after insert) {
List<Current_Services__c> currentServicesToInsert = new List<Current_Services__c>();
for (Project_Services__c ps : Trigger.new) {
// Query for the associated Service record
Service__c service = [SELECT Id FROM Service__c WHERE Id = :ps.Service__c LIMIT 1];
// Create a Current Services record linking the Account and Service
Current_Services__c currentService = new Current_Services__c(
Account__c = ps.Project__r.Account__c,
Service__c = service.Id
);
currentServicesToInsert.add(currentService);
}
// Insert the new Current Services records
if (!currentServicesToInsert.isEmpty()) {
insert currentServicesToInsert;
}
}
Be sure to thoroughly test the trigger to confirm it correctly creates and connects the 'Current Services' records to the 'Account' and 'Service' as intended
Let me know if this works for you!

Email Limits through Flow
I know that email limits for trigger, apex class or API is set for 5000 per day. What is the Email limits for Flows per day.Can anyone help me this.



Per https://help.salesforce.com/s/articleView?id=sf.allocations_email_general.htm&type=5,
"Each licensed organization can send a single email to up to 5,000 external email addresses per day. For orgs created before Spring '19, this daily limit applies only to emails sent via Apex and Salesforce APIs (excluding REST APIs). In orgs created after Spring '19, this daily limit also applies to email alerts, simple email actions, Send Email actions in flows, and REST APIs."
Reference: https://salesforce.stackexchange.com/questions/389404/salesforce-emails-limits
Related: https://help.salesforce.com/s/articleView?id=sf.workflow_limits_email.htm&type=5
If this information helps, please mark the answer as best. Thank you

survey Submission to custom object
I am new to Salesforce. I created my org not to long ago. I'm looking for guidence and Advice on a project I'm working on. I've created a survey with a bunch of questions, and I've also created a custom object with fields related to those questions. I want to create a flow that will trigger as soon as a new survey response is created. The flow will then create a new record in my custom object based on the survey responses. One record type will be selected based on a response.
I'm not sure how to tackle this in the flow canvas. Even though I started the org not to long ago, I've been learning Salesforce for a few weeks. I'm still a beginner :). I'm hoping someone can provide me with some guidance on how to complete this flow. Which Elements should go first, etc.
Thanks, Everyone!
- Jaden M


Hi Jaden,
Here's a step-by-step guide to achieve this:
Step 1: Create a Flow
Log in to your Salesforce account.
Go to Setup by clicking on the gear icon in the top-right corner.
In the Quick Find box, type "Flow" and select "Flows."
Click the "New Flow" button to create a new flow.
Step 2: Set Flow Trigger
Drag and drop the "Record-Triggered Flow" element onto the canvas.
Select the object where you're capturing survey responses (e.g., "Survey Response" object) as the object for the trigger.
Define the criteria for when the flow should be triggered. This could be when a new record is created.
Step 3: Decision Element for Record Type
Add a "Decision" element to the flow.
Set up the decision criteria based on the survey response data. For example, you can check a specific survey response field to determine the appropriate record type.
Step 4: Get Record Type Id
Use "Get Records" Element to get the Id of appropriate record type for your custom object.
Step 5: Create New Record
Drag and drop a "Create Records" element into the flow.
Set the object to your custom object (where you want to create the new record).
Configure the field values based on the survey response data and use the Id of Record Type from Step 4 for the RecordTypeId field.
Step 6: Save and Activate Flow
After configuring the flow, save it with an appropriate name and description.
Activate the flow to make it ready for execution.
If this solution helps, please mark the answer as best.
Thank you

Date to Text (want full date as in January 1, 2023)

You can extract day, month and year from the date and use CASE function to determine the month.
You can try formula below:
CASE( TEXT( MONTH(dateFieldAPI) ), '1','January', '2','February', '3','March', '4','April', '5','May', '6','June', '7','July', '8','August', '9','September', '10','October', '11','November', '12','December','') & " " & TEXT( DAY(dateFieldAPI) ) & " " & TEXT( YEAR(dateFieldAPI) )
Let me know if this works.
Thanks,
Sukanya Banekar
Now i have installed LWC local development server in my mac system. I feel issue with salesforce server.
HI Vikalp Nagar, Can you please try now.