Questions tagged [salesforce-developer]

36 questions
4
votes
6 answers

Getting an "Only absolute URLs" error while trying to open Salesforce org with sfdx:open in VS Code

Warning: Deprecated environment variable: SFDX_JSON_TO_STDOUT. Please use SF_JSON_TO_STDOUT instead. (Use node --trace-warnings ... to show where the warning was created) Warning: The "force org open" command has been deprecated. Use "org open"…
3
votes
0 answers

Possible values in Salesforce Setup Audit Trail action column

Can anyone help us to figure out to identify the possible values of action column of SetupAuditTrail table in salesforce. Do we have any table which stores all action? ex: "changedManager", "changedApexPage", "campaignlayout" etc. It will be great…
2
votes
1 answer

Does not accept a WITH clause - Salesforce

When using below SOQL query in Salesforce for working with "WITH filteringExpression" referred from https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_with.htm SELECT Id FROM Lead WITH…
Clinton Prakash
  • 967
  • 9
  • 20
1
vote
1 answer

Using the Salesforce REST API, is there a way to create a user and also send out the activation email?

In Salesforce, when I create a user via their REST API, no activation email is sent. There's also no ability to specify a password when the new user is created, which means the user cannot login. This also means the user can't verify their email at…
Jesse
  • 27
  • 5
1
vote
2 answers

Custom field is not found

I'm attempting to self learn Salesforce and want to add a custom field to an Account. To achieve this I've done the following: I've added the Total custom field to Account: Here is the trigger: trigger AccountTotalTrigger on Account (before insert)…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
0 answers

How to find, Is custom Pick list values are bind with Global value set or not using Schema.DescribeField?

In Case object i created 2 custom picklist fields. first picklist value is binded with global picklist value set & second picklist value is given manually (eg., Enter values, with each value separated by a new line). While running that picklist…
0
votes
0 answers

Email alert are not sending email to client in salesforce

We had an email alert that was executed if criteria meet when a specific record was created it was working well and suddenly now it not working I have downloaded the email log file and I don't see any records which are sent by the salesforce. what…
0
votes
0 answers

Failed to create certificate java.security.cert.CertificateException: Could not decode the client certificate

I have this error: System.CalloutException: Failed to create certificate java.security.cert.CertificateException: Could not decode the client certificate. Please ensure that it is a base64 representation of a PKCS12 file: toDerInputStream rejects…
0
votes
0 answers

To get data from other system, if data exist call get api else cretae new

Favorite #Salesforce Developer Help regarding api call I have integration, while this, I need to create customer in another system. Customer name is Account's Name. Now Customer is created successfully, i want to preform that if customer already…
0
votes
0 answers

Salesforce report summary formula is not visible as a column when added on dashboard

I have created a report with a summary formula which looks like this Opportunity.Demo_Completed__c:SUM/Opportunity.Demo_Scheduled__c:SUM This formula is displaying as "Grand Total Only". But I can only see this formula in my report when it is…
0
votes
0 answers

Upload data in omnichannel inventory by using headless commerce Upload API

I am trying to upload data into omnichannel inventory in OMS and configured with SFCC as well. Using headless commerce 'Upload API (/commerce/oci/availability-records/uploads)' sometime data uploaded into inventory successfully. But sometime file…
0
votes
0 answers

How to pass each call agent's extension code (who access SF via SSO under One Username) through to our Visualforce & Controller CallOut?

How to pass each call agent's extension code (who access SF via SSO under One Username) through to our Visualforce Page and Apex Controller Call Out? We already have the Visualforce Page and Call Out all set up but we need to know how to pass the…
0
votes
1 answer

Trigger Handler not throwing errors or reading SOQL query correctly

When the trigger is called, I'm looking to pass the Trigger.new list into the ContactTriggerHandler class, and then filter on that list to be a certain record type and associated with an Account Contact Relationship (AccountContactRelation object)…
0
votes
1 answer

Receiving sObject error: Error message does not fire and receiving a System error instead

Created a Contact Trigger and a ContactTriggerHandler class to produce an error if the Contact is related to a relationship that contains 'Pricing Letters' and any item in the Address or Email Address is blank. Code compiles but receiving the error…
0
votes
1 answer

Calculate case age in salesforce org

How to calculate case age? Excluding weekends and Holidays? if case is close calculate till close date or if case is open calculate till today. it would be great if anyone will help me with step by step like i am new to this tech. thanks in…
1
2 3