All Questions
129,533
questions
0
votes
2
answers
1k
views
Einstein Bots - training
I'm working on a developer org and trying out the Einstein Bots feature for a possible implementation in a Sandbox/Prod environment. I create the dialogs and add the Einstein Intent phrases, but when ...
0
votes
0
answers
6
views
I want to retrieve SFMC Journey Entry source details and Details of Fields used in Decision Split using API
I have used the following code to fetch Salesforce entry event Details and Fields used in Decision split. But its not working
HTTP/1.1 200
{
"Page": 1,
"PageSize": 50,
"Count&...
-1
votes
2
answers
107
views
hide the delete button in a related list for a custom object
How can I hide the delete button for a record in a related list for that record's object?
0
votes
1
answer
1k
views
unable to save record which is created through vf page
I have created vf page for new record creation of custom object. when i click to new button i am gettting vf page where based on case field value (i.e. CaseNumber) i am able to prepopulate other ...
0
votes
0
answers
10
views
To assign an Admin User and create a Business Unit in Salesforce Pardot
To assign an Admin User and create a Business Unit in Salesforce Pardot, I am just getting a blank screen and getting no option to add any assignments even after giving the necessary permissions.
I am ...
0
votes
0
answers
21
views
LWC Table with Dynamic rows from Tree Data
I have searched previous questions and believe my issue is unique. There are questions that are similar, but not exactly what I am trying to solve.
I am creating a custom LWC component to display a ...
0
votes
1
answer
798
views
Can I show Articles in a tree like structure
We would like to show Knowledge Articles in a tree like structure, has anyone done this? I am looking for sample code & steps to accomplish.
Thank You,
0
votes
0
answers
9
views
Custom Notification - Make it not clickable
For Custom Notifications sent to a user, the salesforce documentation states adding a dummy value for Target ID to "000000000000000AAA" should prevent automatic navigation when responding to ...
3
votes
1
answer
1k
views
Having Trouble Setting Up ESLint on IntelliJ IDEA (LWC)
I used npm init to create a package.json file on the root of my project, I then installed locally:
npm install eslint babel-eslint @lwc/eslint-plugin-lwc --save-dev
npm install eslint @salesforce/...
0
votes
1
answer
869
views
Add Tasks standard component to App page
Is it possible to make the standard component Tasks available for adding to a new App page layout?
In the picture above the standard component Tasks is not available for the App page layout but it is ...
0
votes
1
answer
17
views
Adding Files to FormData isnt working with solutions provided
I was having trouble adding Files to a formdata and my question (How to add a file to a formdata for an api in apex) was closed because there were other solutions that should work. I've tried Compose ...
0
votes
0
answers
11
views
Einstein Bot Confusion events per session
I have been trying to understand how often our Einstein bots get confused during a session. I have been able to look into Bot dialog events with the object called 'Conversation definition dialog daily ...
0
votes
1
answer
71
views
Using Synchronized data extension fields in journey builder decision splits
I want to use synchronized data extension fields in the form of contact data in journey builder splits.
Let's say my journey is abandoned cart and when the customer enters the journey through API ...
-2
votes
1
answer
39
views
Contacts without channel addresses deletion
I have extracted the contacts without channel adresses in Marketing Cloud and while trying to delete them (over 2 million), the deletion couldn't be processed as the maximum contact that could be ...
0
votes
2
answers
19
views
SOQL "no-op" WHERE clause
Is there anything I can do in SOQL to achieve the same as WHERE 1=1 in regular SQL engines? I've tried that, and WHERE TRUE=TRUE, but it's rejected.
Thanks!
0
votes
1
answer
684
views
Open rate by domain over time - SQL
I'm trying to figure out open rate over time based on domain however, it seems to error or timeout every time I run it. I've limited it to just gmail, yahoo, and AOL for now.
SELECT
o.domain
, s....
0
votes
1
answer
15
views
Dynamically provide values to getRecords wire adapter
I'm working on a record table to display in a flow, I've had a look at the free ones available on the app exchange but none seem to include all of the features I want so I'm trying to build my own.
...
5
votes
1
answer
1k
views
What are Best Practices for Upserting Objects with Foreign Key Members (i.e. References to Other Objects)
I want to upsert objects through the .NET-ForceClient into our Salesforce, more specifically, I want to insert or update an object that contains a reference to another object.
As a simple example, ...
1
vote
0
answers
11
views
unable to remove login ip range using mdapi with simple_salesforce
I am able to get the profile login range ip, set it to what I want but when I try to update the profile I get many error messages.
sf = Salesforce(username='test-30djtctsyq5a@example.com', password='...
0
votes
0
answers
11
views
Analytics SAQL Query Help
I am trying to group by three fields, year, week and type however, I have had to manipulate the original type field to group two of them under the same category. As per the attached image, I would ...
0
votes
1
answer
2k
views
How to delete row in lwc datatable and corresponding object
I have a datable with PermissionSetAssignment objects and I need to delete the record selected from user but when I click delete nothing happens. Here is my code:
import { LightningElement, wire, ...
0
votes
0
answers
8
views
SFDMU use for cpq objects
I'm trying to use sfdmu to migrate some cpq data, and i have two major problems:
the order of files beeing processed (for example for pricebookentry, the ones related to the standard pricebook should ...
11
votes
4
answers
9k
views
How to use sforce.one.CreateRecord method?
I've a button on visualforce page. On click of that button I want to redirect the user to event/Task creation page. With salesforce, I would have achieved this using global action variable $Action....
1
vote
1
answer
962
views
How to wrap cell text properly in datatable in LWC?
I'm struggling with the issue, where cell text in the datatable in LWC isn't wrapping correctly. It obscures the cell from the next column in some cases. I didn't applied any formatting for that table ...
0
votes
0
answers
752
views
get pdf from external url
In the response from 3rd party I am getting url, I want to grab that url and save that pdf in a salesforce object.
If I manually use that url and paste in browser it downloads the file. But when I use ...
4
votes
2
answers
520
views
SOQL distance of a parent field not working
I am opening this question after reading this: Access DISTANCE SOQL Result in Visualforce
I have this query [SELECT id, DISTANCE(some_field__c, GEOLOCATION(0,0), 'mi') distance FROM Parent__c LIMIT 1]...
1
vote
1
answer
967
views
How to convert changes set to Package.xml?
We have previous deployments that took place in our Salesforce production org and we are now in transition to keep our metadata config changes in Git repos. I'm wondering if there is any easy way of ...
0
votes
0
answers
45
views
How to add a file to a formdata for an api in apex [duplicate]
I have a follow up question for another question I asked
Formdata isnt working in Apex
/tldr I'm using an api that uses formdata but now I need to add a pdf file to the formdata
So what I'm trying to ...
0
votes
0
answers
9
views
Cloning the task list view datatable in custom LWC (Status value and clickable button in same column)
I'm trying to create a Lightning datatable in Salesforce that displays a status value and a clickable button icon in the same column similar to the task recent view table.
The button should be ...
1
vote
1
answer
21
views
Unexpected flexipage behaviour when created 2nd gen package
I've meet the unexpected problem with flexipage when create 2nd gen package.
I've received an error looks like
(SObject_Record_Page) Component [console:relatedRecord] attribute [lookupFieldName]: ...
0
votes
2
answers
50
views
External Services - Accessing nested object in response
I'm testing out using external services with the OFAC-API.com
I'm successfully using Search API v3 to search for a fella in Russia.
I'm having trouble parsing information out of the response, as its ...
0
votes
0
answers
10
views
Salesforce Billing Test Class: Can't Create Order Items with a Subscription Type for testing
I am working on a test class for an org that uses Salesforce CPQ, and I need to test a class that checks the SBQQ__SubscriptionType__c field on OrderItems for Evergreen subscriptions.
The problem is ...
-1
votes
0
answers
36
views
Using the API and Deploying Apex Classes
Either using the tooling or the metadata api is there a way to upsert Apex json classes into a target organization.
We would like to avoid using any XML based deployments.
As an engineer, I would like ...
-1
votes
0
answers
6
views
SBX testing a automation to remove a lead from a cadence, this was code provided by Salesforce to test and now its throwing errors
Any reason why I'm getting this error?
Sandbox
Apex script unhandled exception by user/organization: 0055a000008nNr3/00DAq000000vBWb
Source organization: 00D40000000IZkW (null)
Failed to invoke future ...
1
vote
2
answers
1k
views
Standard aura:attributes and aura:method attribute
My question is in regards to the fact that I need to get a value from Child component to Parent component. I want to directly call a method from the parent to the child to obtain some data from that ...
0
votes
1
answer
33
views
Tracking A/B Test Marketing cloud in Sales
We have done some A/B testing and we have not been able to generate any kind of object in Sales like the IndividualEmailResult of the normal mailings.
I don't know if there is any way to collect this ...
-1
votes
0
answers
16
views
Batch class is failing but status shows completed with 0 batch runs
I am trying to debug a batch class that is failing, the batch job shows 0 out of 0 batch run, and the status shows completed.
In lower environments, it is running fine.
Anyone familiar with this type ...
0
votes
1
answer
26
views
Usage LWC in flow returns error when package creation
I used the LWC component which works on orgs of all types (sandboxes, scratches, etc) and used in screen flow.
There were no errors when I've ever deployed to these orgs.
BUT
When I've tried to create ...
1
vote
0
answers
24
views
VS Code/sfdx: authorization fails with reason: self-signed certificate in certificate chain
I have been using VS Code and Salesforce since a year in my company laptop.
I am trying to authorize VS code with my sandbox.
Process I followed:
VS Code> Sfdx auth org shortcut
Also tried sfdx ...
0
votes
0
answers
30
views
Marketing Cloud Email Studio Total Email Sent is Less Than Data Extension Created [duplicate]
We created a Salesforce Data Extension that contained 12,855 unique email addresses and SF ID's. Once the email was deployed through Email Studio, the total sent was only to 12,023..6.5% of my list ...
1
vote
1
answer
20
views
"Get records" element is not sorting the records correctly in a flow
I have a Get Records element in a flow which is supposed to return 16 records in ASC order based on a field called Ranking__c (Number data type). And then I have a loop which goes over these 16 ...
1
vote
1
answer
681
views
Custom One-Click Unsubscribe not working
Here's what I have so far.
For some reason the variables like @sid and @listid are not being set. Is something missing here?
Here's the code for the actual EMAIL html that is in ExactTarget tool:
%%...
0
votes
1
answer
33
views
Conditional Rendering of a picklist
I need help to perform a conditional rendering where if a user selects a value from income type based on the selection, the income source picklist value should change, and I tried to achieve this ...
0
votes
0
answers
14
views
How do I enable 'Theming'
When a community web page opens the ‘Page Unavailable’ error above appears.
The List< ANY> that it’s trying to process when it expects a Map<String, ANY> contains this:
[
{
&...
2
votes
2
answers
36
views
How to run the execute method of Queueable Apex?
I want to run the execute method of a Queueable Apex class
Why I want to do that:
To increase debugging speed. I want to anonymously call the method to avoid always enqueuing the job, going to setup --...
-1
votes
1
answer
43
views
When CaseStatus is changed to “Further Action Required” a Case Comment must (required) be entered in order to save and or transfer the case to a User
When Case Status is changed from "new" to “Further Action Required” a Case Comment must (required) be entered in order to save and or transfer the case to a User.
So are there is any ways to ...
0
votes
1
answer
30
views
JavaScript strict mode is causing my promise to be rejected and throw an error
I am not sure if this is just down to lwc running in strict mode, but when I call the methods below they are rejected with this error.
Exception: TypeError: 'caller', 'callee', and 'arguments' ...
0
votes
0
answers
31
views
Apex class is running 3 times after trigger
I have a trigger on opportunity that runs on update and insert, it grabs the id and passes it to another apex class that has a @future method that makes an API post.
my trigger:
trigger ...
0
votes
2
answers
872
views
Hiding LWC datatable Header
My Coloum header are still getting displayed even if there is no data in datatable. I want to hide it in case it doesnt contain any data. I have contained my Datatable in template. but still the ...
0
votes
1
answer
35
views
Mobile Connect - Contact with multiple numbers which also shared
If i have 2 contacts that have multiple numbers, and one of the numbers is shared between them
Is it correct that if Contact-1 opted out '0001', then that number is also opted-out for Contact-2 and ...