Questions tagged [salesforce]
A Platform-as-a-Service development environment delivered on Salesforce.com - the platform is more correctly referred to as Force.com. A dedicated Salesforce Stack Exchange is available for all your Salesforce questions at https://salesforce.stackexchange.com/
9,576
questions
0
votes
0
answers
6
views
Warning Message on record creation in salesforce
I want to show a warning message or popup if certain conditions are met while creating a record in salesforce classic for a custom object. Users will have two options on the popup- save and cancel. ...
0
votes
0
answers
5
views
Retaining selected list item value when editing visualforce page
Hoping someone can help with this, I have apex code which generates a select list on a Visualforce page, this works fine and the value is saved, the issue I have is that when going back to edit the ...
0
votes
0
answers
10
views
button inside custom element not queryable using `querySelector()`
I would like to click a button inside a custom element from the web-console. But if i open the page in firefox or edge an try to query the element i receive no result.
The html markup in the browser ...
0
votes
0
answers
9
views
Restoring Salesforce data from Azure data factory
I have taken Salesforce data backup as CSV file in Azure data lake. But really not understand how to restore those data back to Salesforce with the help of Azure services. If someone can help on this ...
0
votes
0
answers
7
views
How to get/use Salesforce location in amazon connect?
I am trying to get the location from salesforce in my contact attributes so that i can use this location to know the exact location of customer through his/her phone number and use this information to ...
0
votes
0
answers
24
views
sync salesforce events (Custom object) to google calendar
The client has 1000 + Franchises, and on client corporate gmail account 1000 + Franchise calendars were created and each franchise calendar was shared (read only) to respective Franchise gmail account....
1
vote
1
answer
13
views
Can I replace the functionality of Platform Event in LWC?
I have a lwc that works with Event Platforms, but event limits are exceeded and I can't reduce them. Is there any functionality or method that can refresh my component in real time without platform ...
0
votes
1
answer
11
views
Get ID of custom field [Salesforce]
When using Salesforce's SObject Describe endpoint, I see a ton of metadata about an object's fields. But the property that is missing for every field is its ID.
I want to be able to track when a ...
0
votes
0
answers
7
views
Salesforce - Using a List as input variable for Screenflow in Visualforce Page
I am trying to render a Screenflow on a visualforce page (using a lookup field in the screenflow forces me to do so). The extention is an Apex Class that returns a List of Leads from a certain List ...
-1
votes
0
answers
6
views
Getting error on deleting manged package custom setting record while uninstalling it
Getting this error while deleting managed package records
enter image description here
0
votes
0
answers
16
views
Auto Login options from Salesforce to Salesforce org without sso
I have a requirement to login to multiple Salesforce orgs from the master org. One way is to use the SSO, are there any other ways to do it without SSO?
0
votes
0
answers
12
views
Prompt user to save their changes made in salesforce before leaving that screen
if in salesforce we make changes in one screen and without saving them moves to another screen, a popup message is shown.
how to implement that in another screens.About this Popup
2
votes
0
answers
18
views
How to implement Tomcat Web Application as Identity Provider and Salesforce as Service Provider using SAML
I am in need to implement Tomcat Web Application as Identity Provider and Salesforce as Service Provider using SAML. I have configured single sign on setting in Salesforce and trying to implement it ...
0
votes
1
answer
9
views
Logging in to Salesforce with JSForce
I am using the JSForce docs in order to create a Javascript app to connect to my Salesforce org. My code is as follows:
var jsforce = require('jsforce');
var conn = new jsforce.Connection({
...
0
votes
1
answer
25
views
How to validate access token in salesforce apex rest API?
Hi everyone,
basically, I'm new to salesforce, I'm making the rest API using Apex.
is there any way to validate the access token,
I know we can set up the limit for the token expiration in the org, ...
0
votes
0
answers
10
views
Callout failed for invocable action in flow
I am trying to send an API request to the external service using flow in salesforce but when I debug my flow it returns the below error
Error Occurred: Callout failed for invocable action testing3....
-1
votes
0
answers
8
views
Write a batch apex for the accout hierachy in salesforce
I have an Account A which has a child called b,c,d,e each has a quantity and I need to aggregate the total in one field called total sum in the account object using a batch job
0
votes
0
answers
6
views
Salesforce Einstein ChatBot
can anyone help how we can integrate a chatbot in a collaborative way?
Ex- we need to create an einstein chatbot in salesforce, we are two developers one developer working on another chatbot change ...
0
votes
1
answer
17
views
I am facing an error "This command is required to run from within an SFDX project" while using "sfdx force:source:push" command
This code i need to deploy in org
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<...
0
votes
0
answers
7
views
I'm facing alignment issues with search icon and error message in salesforce LWC
I want the search icon to stay in place when getting the error message. However, I get an alignment issue and it moves down with the error message.
<lightning-layout-item padding="vertical-...
0
votes
0
answers
13
views
start_time__c field of custom object is not working in trigger i don't no what to do?
I have to do this:-
If an attendee has registered to parallel sessions (Sessions happening at the same time/overlapping sessions), then a checkbox (Registered_To_Parallel_Sessions__c) on the Attendee(...
0
votes
0
answers
18
views
VS Code - Output Window - Log Option
Is there anyway to log the lines sent to the Output tab?
I am having a problem with VS Code developing Salesforce
When I right click on the package.xml file in the manifest folder and request to ...
0
votes
0
answers
11
views
Salesforce OAuth 2.0 implementation CRA
I am attempting to grab the authorization code appended to the redirect uri using the OAuth2.0 Web Server Flow for Web App Integration seen here: https://help.salesforce.com/s/articleView?id=sf....
0
votes
0
answers
13
views
Custom File Upload on Aura Component - Upload Delay
I created a custom upload button for an Aura Component following the instructions in this post: Custom File Upload for Aura Component
I made an adjustment to upload to Content Version instead of ...
0
votes
0
answers
19
views
LWC Pagination with page number
I'm a junior developer, I need some help to implement an lwc component which display records in experience site so I need to implement pagination since we have a large number to record.
I implement ...
0
votes
0
answers
16
views
How to remove unwanted String from Iframe(Span tag) it only show's in Chrome browser?
enter image description here
As i have marked in red this unwanted string show's up in the iframe in my chrome browser only
'''
$('iframe').load(function () {
var $newText = $('iframe').contents()....
1
vote
0
answers
10
views
How to send a zipped file to S3 bucket from Apex?
Folks,
I am trying to move data to s3 from Salesforce using apex class. I have been told by the data manager to send the data in zip/gzip format to the S3 bucket for storage cost savings.
I have ...
-1
votes
0
answers
8
views
Not able to create task in Asana through salesforce Flow
I created a flow in salesforce to create a task in Asana, but when I modified previous version to new version, my flow stopped creating tasks.
Am I missing anything apart from regular "create ...
-1
votes
1
answer
10
views
execute logic beforedelete event trigger
Before deleting the record (Ex: Account obj record), I want to update the field on the account record and send it to content management, hold it for a few seconds, and then delete it.
For this ...
0
votes
0
answers
9
views
Salesforce Flow - Roll-Up Summary Nested Loop Automation?
I am trying to roll-up different fiscal year's projection sums to three different fields in Opportunities. Is there a way to do it within the same flow automation?
There is a master-detailed ...
0
votes
0
answers
17
views
How do you fix the limitation of a contenttype in VF?
I have this VF Page with a contenttype that's supposed to shift dynamically. However I just found out in Salesforce's document that this is not supported in contenttype. Is there a way to fix this? or ...
-1
votes
0
answers
14
views
case is set status as ‘New’ and Priority as ‘High’ and assign it to the user ‘X'. Retrieve the details of user using the user name ‘X’
Trigger CaseTriggerDemo on Case (before insert) {
for(Case c:trigger.new){
if(c.Origin=='Phone'){
c.Status='New';
c.Priority='High';
system.debug('userdetails ' + ...
1
vote
1
answer
13
views
visualforce emailtemplate issue referencing a list in an Apex class
I suffer an error trying to implement a visualforce emailtemplate. The dev console gives me the following problem on the VF component: Unknown property 'String.Name' (line 0). I can't figure out how ...
0
votes
1
answer
23
views
Retrieve Metadata connector resulting in error - Unable to parse the unpackaged stream
Based on the comment here I am trying to use retrieve metadata connector in Mulesoft to achieve the description of an Object.
Created a package.xml
<?xml version="1.0" encoding="...
0
votes
0
answers
13
views
Salesforce Flow Get Record by Date Off by One
I'm working with the following very simple flow:
When I debug it the Get Stale Cases 'Get Records' element evaluates to the following:
This is the behavior that I would expect, however I just got a ...
0
votes
1
answer
27
views
Generate an image from a chart visualforce page renderedAs pdf
Hello I have a problem with a visualforce page renderedAs pdf, I need to display chart with apexchart but it's impossible to run javascript in a visualforce renderedAs pdf. My question is, is there ...
0
votes
1
answer
5
views
Getting 'Missing argument' error when calling Quip API - add members method
I'm trying to use the Quip admin and automation APIs to add members to a document from a Salesforce trigger.
I've successfully used the GET methods for verify token and get user from the automation ...
0
votes
0
answers
10
views
Unable to set data conditionally in datatable lightning component
I tried following the steps here but I'm not sure if its something about my syntax or if it just doesnt work this way.
<aura:component controller="SomeController" implements="...
0
votes
0
answers
7
views
I am using salesforce sdk, after installing apk in mobile device login worked but getting error [closed]
Hi, I am using salesforce sdk with react,I created apk and installed in mobile device, Login is working fine, after login app gets stopped and getting this error "file is not a database"
-2
votes
0
answers
12
views
How to display all values from the List without using any Loops in LWC APEX Salesforce?
I am storing the query result in the OBJECT1 list. And, I am trying to display all the values of a particular field from the List without Loops. But, this gives me an error -
This is my code -
List<...
0
votes
0
answers
7
views
Check if Existing Process Builder Reminder Record Exists
I have created a process in which entry criteria is that if case is in 'required Information' state it enters in the process and schedule a reminder for 30 days after. Now I am updating this process ...
-1
votes
0
answers
12
views
vsCode can't retrieve/deploy anything
Working with Salesforce, org is authorised, everything works fine until it doesn't and there's no error code or anything.
In the morning I retrieved a few files I had to change, 10 minutes later when ...
0
votes
0
answers
14
views
SF OCAPI pagination loop
I am trying to get a pagination loop inside of another loop where I query multiple environments in salesforce OCAPI. My code goes like this. I first declare some variables to use in the loop:
URLs=[&...
0
votes
1
answer
32
views
How to get description of a Salesforce Object using api or query in Mulesoft?
I have requirement where I need to retrieve description of a Salesforce Object (Standard or Custom) in Mulesoft. eg In the below image the description is "This is the TEST Object".
I have ...
0
votes
1
answer
17
views
Authorization Required You must first log in or register before accessing this page. If you have forgotten your password salesforce
I have setup a site but when i am opening this site i am getting this
type error, Authorization Required
You must first log in or register before accessing this page. If you
have forgotten your ...
0
votes
0
answers
3
views
Why I am getting "Too many DML Statements" error when performing Update operation in LWC salesforce?
Why I am getting 'TOO MANY DML STATEMENTS ERROR IN THIS LINE?'
Note: Class is auraenabled(cacheable =true)
List<ABC> obj1 = new List<ABC>();
for (ABC A1 : [SELECT ID,...
0
votes
0
answers
20
views
Can Power Automate successfully work with Salesforce multi-picklist odata filters?
I have a Power Automate flow that I want to use an odata filter for. The flow queries Salesforce, in which there is a multi-picklist field called Foo__c. The values of Foo_c look like Alpha (A1), ...
-2
votes
0
answers
18
views
ModuleNotFoundError: No module named 'simple_salesforce' python app
my python app is throwing the error line
ModuleNotFoundError: No module named 'simple_salesforce'
But I have already installed the module with "pip3 install simple-salesforce" and "pip ...
1
vote
1
answer
33
views
How can I display JSON data in a Salesforce Visualforce Page?
EDIT :
Here's what I was thinking for the callout :
public class APISocieteCallout {
String searchContent= //Content of the search
String apiKey= 'XXXXXXXXXXXXXXXXXXXXXX';
String requestEndpoint += '...
0
votes
1
answer
13
views
Logging issue - Sales force C#
Here is the code snippet
Error: {"error":"invalid_client_id","error_description":"client identifier invalid"}
connecting passing correct clientid, clientsecret, ...