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/

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Can't log in Heroku

When i am trying to log in Heroku, after entering email and password, heroku asks me to verify my identity : "To keep your account secure, we verify your identity. Enter the code generated by ...
Ruslan Lortkipanidze's user avatar
0 votes
0 answers
20 views

Can OKTA be used as IDP for Salesforce API access (machine to machine)

Full disclosure, I'm not an expert in OKTA, IDP technologies, or Salesforce API security configuration. I'm working with a client that wants to secure Salesforce APIs via OKTA. They are currently ...
geoffDu's user avatar
0 votes
0 answers
12 views

Why City values are not showing in DropDown?

VF page <apex:page controller="EmployeeRegistrationController" showHeader="false" sidebar="false" standardStylesheets="false"> Employee Registration <...
Harshit Chaturvedi's user avatar
-1 votes
1 answer
9 views

invoice is not showing in salesforce mobile app [closed]

This is my org Here, i can see the invoice and Packing Slip PDF buttons enter image description here that invoice and packing slip PDF buttons is not visible enter image description here i want to ...
Tarak Ram's user avatar
0 votes
0 answers
16 views

SFCC OCAPI ProductSearch API - Returning ALL Products

I am attempting to retrieve products from SFCC, using the following API: https://developer.salesforce.com/docs/commerce/b2c-commerce/references/ocapi-data-api?meta=Search%2BProducts However, this API ...
callum202's user avatar
0 votes
0 answers
22 views

Unable to download .zip file from content version

One of my colleague uploaded .zip files as content version in his org, and he shared me the file via public link. But, when I try to download the file, it's just navigating me to an empty tab in ...
Mangoski's user avatar
  • 2,058
0 votes
0 answers
9 views

Apex | How i can create EmailMessage register in Chatter component of a custom object?

At de moment we are implement a Email Service in a custom object where we want to received and reply emails but, when we create a EmailMessage register in the Apex class, the register in the chatter ...
Michelle Soto's user avatar
0 votes
0 answers
7 views

Automate Follow-Up Email Tasks in Salesforce with Toggle Button

I'm working on a Salesforce project where I've set up follow-up email templates for customer communication. Initially, I was manually creating tasks in Salesforce for follow-up emails. However, I now ...
Harsh Baraiya's user avatar
0 votes
0 answers
17 views

Not sure how to connect an AJAX call to a controller and make it update a object

I am very new to ajax calls and controllers, please be patient with me. I have some client side JS that I need to add an ajax call to update a boolean to true once a button is clicked Client Side JS: $...
Eliot's user avatar
  • 13
0 votes
0 answers
26 views

Need help creating a POST method in salesforce to consume an API

I need to integrate Salesforce with Mulesoft consuming an API. when an Account is created, I need to consume an API using a POST method where I should send the next request in JSON using apex classes: ...
Tomas Gauchat's user avatar
0 votes
1 answer
19 views

how to write an ajax call to a controller

I have an ajax call on some client side java script and I want it too call to a controller too set a value too true on button click, I am very new to how ajax works. In my controller, I have a server....
Eliot's user avatar
  • 13
0 votes
2 answers
17 views

How can you get Typeform file attachment submissions into Salesforce?

We have a Typeform that records entries for our job board, including a resume file attachment. We connected this to Salesforce natively and the entries are being recorded properly, except the file ...
robert chen's user avatar
1 vote
1 answer
24 views

Salesforce Rest API/SOQL can't get picklist values from a custom object

I'm able to get the picklist values from the standard object (e.g: Contact, Account), but when I use the same way to a custom object (Event), it always return 0 result. Need the help to get the some ...
jumpingbunny's user avatar
0 votes
0 answers
17 views

How to track button click in salesforce using javascript

I am new to salesforce and javascript. I have a button on a page and want to record the button if it gets clicked on the page to the customer profile as a boolean. I have a button with an id="...
Eliot's user avatar
  • 13
0 votes
0 answers
16 views

Avoid repetitive calls in Salesforce Community page

On my community page, I placed 8 different components and each component makes a SOQL call to retrieve account details. How can I avoid repetitive SOQL calls and store the results of 1st call so that ...
Google User's user avatar
0 votes
1 answer
9 views

I am unable to push my source code to Salesforce org after connecting it. It's showing component failures and errors in the package.xml

(https://i.stack.imgur.com/xEn77.png) i am facing push code to salesforce org(lwc session push or deploy code command does not fire) error show me component failure invalid version to package.xml ...
Nik Rao's user avatar
0 votes
0 answers
13 views

Prevent Duplicate Trigger

while creating account , check if there is an account available with the same name and phone number. if there is duplicates throw error while listing the id : sample error message : “duplicate found ...
Kavita's user avatar
  • 1
0 votes
1 answer
28 views

SLA expiration date calculation in Salesforce

How can I create Apex code that calculates an exact date/time after 72 hours of service from Monday to Friday from 8 am to 6 pm, and Saturdays from 8 am to 1 pm, taking into account holidays and using ...
Michelle Soto's user avatar
-1 votes
1 answer
26 views

How to exclude leading 0s of a string in a javscript function

I have a simple function which checks a zip code from a users profile and it returns the number as a string. function checkZip(zipCodeCheck) { var CustomObjectMgr = require('dw/object/...
Eliot's user avatar
  • 13
0 votes
0 answers
20 views

Displaying an image from a URL using javascript/jquery in FormAssembly

I'm not a Javascript developer. Hoping to get a little help with using Jquery. FormAssembly allows the use of Javascript, to display images from URL fields, on a pre-filled FormAssembly form. ...
Erebus's user avatar
  • 3
0 votes
0 answers
31 views

JSON Converter problem VBA. How to make this useable?

I'm using JSON converter API to convert JSON data from salesforce, but it does not seems to work for me. https://github.com/VBA-tools/VBA-JSON I'm getting correct JSON data in "GetReport(ReportId,...
Andrzej Szado's user avatar
-2 votes
0 answers
18 views

How can i use Regex_Replace function to concatenate multiple fields [closed]

How can I do this OOB query language? enter image description here enter image description here I want to concat my fields using regex_replace, in OOB query language salesforce. I m not sure about the ...
Gousiya K's user avatar
0 votes
2 answers
34 views

Validation Formula throws an Invalid Syntax Error - Salesforce

I am trying to create a validation formula in order to perform the below logic. I_Priority__c is a Picklist C_Start_Date__c is a Date Field C_End_Date__c is a Date Field These field values cannot be ...
Harsha W's user avatar
  • 3,174
-1 votes
0 answers
8 views

moving away from classic to lighning

I'm trying to move my org from classic to lightning and the first step to do is move from classic notes and attachments to enhanced notes and files. The application was build on classic and now when I'...
Sonu's user avatar
  • 1
0 votes
0 answers
9 views

Assignment of Variables to a Record Collection Variable in Salesforce Flow

I have a screen flow, where there are few screen elements. I am assigning them to different variables. Can I store them altogetjer in a record collection variable? If yes, then how can I do it? If no, ...
deep4code's user avatar
0 votes
0 answers
4 views

Unable to use a custom domain to log in (SwiftlySalesforce)

When the user tries to log in and selects "Use custom domain" in the pop-up window and uses an authUrl like "test.salesforce.com", the flow continues normally but stops before the ...
Ana Maria Cabrera's user avatar
0 votes
0 answers
4 views

how do I write the conditional isif statement to check a products custom attritubute

I am very new to b2c commerce I am trying to write a conditional to check a product's custom attribute in the business manager for salesforce. Lets say I have a custom attribute for products that is a ...
Eliot's user avatar
  • 13
0 votes
0 answers
10 views

Getting Error when I trying to delete event

I am getting error when I trying to delete events and its following ""We can’t delete future events because a flow, trigger, or validation prevented the series from being updated. Disable ...
Mohammed Rizwan's user avatar
0 votes
1 answer
15 views

Azure Blob SAS token from APEX

I'm trying to generate correct SAS token to Azure Blob file storage with Salesforce APEX code. I have managed to achieve that in Java but I'm struggling with APEX. When using token generated by APEX I'...
Miłosz's user avatar
  • 17
-1 votes
0 answers
18 views

is there any way to send reply and reacion on facebook messages

i want to send reply on the Facebook message, but I don't get any information related to sending reply and reaction on Facebook message in documentation is there any way or not?
Vicky Pardhan's user avatar
0 votes
1 answer
13 views

Salesforce plugin configuration page

Salesforce gurus, I'm thinking of a Salesforce plugin which requires some configuration performed by admin prior it is added to the page, but I cannot find anywhere how can I make it? I can create ...
Kirill Linnik's user avatar
0 votes
0 answers
11 views

Twilio Bulk SMS API in salesforce

Do we have bulk SMS Api code in salesforce available? i have not found in twilio document.please guide on the same. I have search in twilio document and google it but not found expected result for the ...
Akash's user avatar
  • 1
0 votes
1 answer
37 views

How can I build an SOQL query for 3 level object?

Its Master parent> child> child of object2 I just basically wanted to get all the Id and names from the Child of object2. Tried this but I am getting 'Unknown error parsing query' SELECT Id, ...
EmilyStreaks's user avatar
0 votes
0 answers
12 views

I want this component as PDF when I click on Create PDF button It is a LWC Component If anyone have any Idea please share with me

enter image description here I want this component as PDF when I click on Create PDF button It is a LWC Component If anyone have any Idea please share with me Solution and Approach Or if you'll ...
Harshit Chaubey's user avatar
0 votes
0 answers
13 views

ERROR: Could not find the specified CDC channel in your Salesforce organization while trying to run Confluent Salesforce Connector

When I am trying to run the Confluent Salesforce Connector, it's throwing the following error, saying the channel is not found in the organisation. Error I have configured the required entity in ...
Shruthi AG's user avatar
0 votes
1 answer
17 views

private function is returning 0 instead of value in salesforce APEX

I have created following APEX handler class for salesforce opportunityLineItemSchedule object for the validation of sum of gross revenue will not be grater then the sum of all schedule revenue. `...
shafi jan's user avatar
0 votes
0 answers
67 views

Using lightning-input in Lightning Record edit form lwc

With record-edit form i'm using Lightning-input instead of lightning-input-field(for validation and other purpose) <lightning-record-edit-form record-id={recordId} object-api-name={objectName} >...
Dusk123's user avatar
1 vote
1 answer
30 views

Salesforce SOQL Get Several Fields info from Contact object with Multiple Junction Objects

To all salesforce experts I need some help. I have a main object called Contact (contact__c), a junction object called Contact Event objec (Contact_Event__c) with Contact object, another junction ...
jumpingbunny's user avatar
0 votes
0 answers
25 views

Salesforce Embedded Service Web Chat not connecting to agents

We are deploying the Messaging for in-app and web service to an external website. I've followed the set-up instructions and can see the web chat on a external website and experience site but it will ...
FredrikUNS's user avatar
0 votes
1 answer
20 views

Formula in update record on salesforce flow not working

I have created the below formula but every time I debug it, it always updates the record with the false value even if the criteria are met IF( AND( OR( {!$Record.RecordType....
Shafique Islam's user avatar
0 votes
1 answer
25 views

Salesforce Validation rule issue on compound field

I have created a validation rule for a compound address custom field. The country field is populated by default. The validation rule is supposed to show an error message if the following conditions ...
shafi jan's user avatar
0 votes
0 answers
20 views

How automatic status change works in Salesforce Field Service lightning Mobile App?

We have done the setup for automatic status change feature referring this article : https://help.salesforce.com/s/articleView?id=sf.mfs_automatic_status_change_beta_settings.htm&type=5 We are ...
Shefali's user avatar
0 votes
0 answers
11 views

Embed Preference Form into a Web - Privacy Center

I am trying to embed a form created in Preference Manager I have the form, and the Embed Code, I insert it into a website, and I pass it the token of the ID of an Account, but it gives me an error ...
Rodolfo's user avatar
0 votes
1 answer
18 views

vf pagination page can't offset the data

https://github.com/RuRu1229/paging-page this is my page&apexCode I want to do when I press the button,I can dispaly the (next/previous) five value In the screen. Now I have six value,but when I ...
Ruru's user avatar
  • 1
0 votes
1 answer
21 views

Salesforce Connected App API Calling from Postman gives Error

I have Created Connected App in Salesforce where I have received Client Consumer Key, Consumer Secret, and I have also generated Security Token I am trying to test post request from Postman but ...
Pankaj's user avatar
  • 1
1 vote
1 answer
28 views

VScode How to stage only your selective changes and ignore other changes

I'm wondering if it's possible to only stage/commit the added parts (green) to the file and ignore the deleted parts (red)? Basically I don't want to override the file with the deleted parts and I ...
GHG's user avatar
  • 35
0 votes
1 answer
27 views

Link Saleforce to Visual Studio and GIT

I am trying to connect Salesforce to VSCode and GIT. I have downloaded VS, and CLI and have GIT Hub however I am having trouble connecting Salesforce to VS so that I can create a repository. I have ...
lorr81's user avatar
  • 1
0 votes
1 answer
31 views

Test Class for Invocable Method (Salesforce Apex) failing (not sure if covering 100%)

I successfully created an invocable method that I can call from a Salesforce flow to query the Contact Object and return a set of Ids with a passed in (invocable) variable (in this case an eMail ...
jlinville's user avatar
0 votes
1 answer
38 views

RestClient doesn't contain definition for BaseUrl and no accessible extension method BaseUrl accepting a first argument of type RestClient found

I'm new to programing and I'm having some difficulty with something I'm trying to do - trying to write code in C# to get contacts stored in a MongoDB DB back into Salesforce, there is an error about ...
iluvcode's user avatar
0 votes
0 answers
18 views

Method testLeapYear does not exist in the the apex class with Id

I am trying to run the tests from below Test class and getting error as "Method testLeapYear does not exist in the the apex class with Id :01p5g00000iZVmG" . @IsTest public with sharing ...
Robin's user avatar
  • 111

1
2 3 4 5
210