All Questions
132,634
questions
-1
votes
0
answers
9
views
Export HTML String in excel format in LWC(Salesforce)
This is the Example Html string i have, i want to download this data in excel format without any format issue popup when opening downloaded excel file. Iam expecting the output as shown in the ...
0
votes
0
answers
9
views
Can you embed a FlexCard inside a custom LWC?
I would like to replace a record action button that uses an LWC to perform a get request to populate product data in a separate screen.
I would like to use this same record action button that opens a ...
0
votes
0
answers
12
views
Issue with Auto-populate the location value on lookup field
I need the help on below visualforce and Apex code.
Am working in the requirement of "Auto populate the location field whenever the custom lookup field Product_r.Level2__c contains 'Praise' or '...
-1
votes
0
answers
10
views
How do I find what is invoking invocable Process Builder?
I am working on an invocable process builder and I need to find where it is being invoked from. However, the org I am working in has hundreds of processes and I don't have the time to search through ...
1
vote
0
answers
22
views
How to do automation install package after sandbox created [duplicate]
Im trying to do continues deployment everytime sandbox refresh.
But it was work fine if trigger via Developer Console (via personal account)
But there is nothing happen/run if trigger via Automation ...
0
votes
0
answers
12
views
Trying to expand treegrid with fields not working
First of all, I'm super new to LWC. This is really my first project. I am trying to build a treegrid on the Application__c object and have a display of all related App_Equipment__c records (...
-1
votes
0
answers
17
views
AEP/SFMC Connector and Journey History Data
I'm trying to get journey history data from the connector between Adobe Experience Platform and Salesforce Marketing Cloud (documented here). The connector is from the AEP side and basically works as ...
0
votes
0
answers
33
views
Gmail one click unsubscribe 2024
Saw that gmail will require one click unsubscribe in 2024, starting in February. But to me, it's unclear how this would need to be set up based on how they explain it below. Right now I have a 2 click ...
0
votes
0
answers
13
views
Report of Accounts without Leads
Is there a way to create a Report of Accounts that do not have a related Lead? It can be done in SOQL:
SELECT Name FROM Account WHERE Id NOT IN (SELECT ConvertedAccountId FROM Lead WHERE IsConverted = ...
0
votes
0
answers
21
views
Salesforce Vlocity, how can I calculate child product quantity based on parent product quantity?
This
I want to calculate the child product quantity based on the parent quantity and it should look something like this:
Test case:
Let's take parent quantity is 1. Upon adding child product, default
...
0
votes
1
answer
51
views
Using Apex, how do I monitor the daily @future limits?
This support article indicates that I have a limit of 250k @future methods per day. However, I can't find the corresponding Limit class function to monitor this limit. I've tried:
System.debug(Limits....
0
votes
0
answers
17
views
Change Data Capture and LWC on Mobile App?
I Have a LWC component setup to use CDC to refresh the apex of a varity of objects this intern affects the DOM (icons change / menu options change etc) this works fine on desktop however on the ...
0
votes
0
answers
34
views
Test Code Coverage - Delete DML catch block
We have implemented one method using Apex for delete some records under the class which is without sharing.
In the method, first we are retrieving the list of the records(which needs to be deleted) ...
0
votes
0
answers
13
views
Deleting property tags specified in Lwc meta cannot be deleted?
I have this sandbox env. i use for development, where I for a LWC component have added a
property tag while developing. I now want to remove this property tag, but cannot do so?
I get this error when ...
0
votes
1
answer
22
views
How to send a callout request with Post method using JSON?
According to documentation, the setBody(body) method uses String in the param. But json is a string. If I have a body that I can successfully request using postman with json, how come I'm getting an ...
0
votes
0
answers
19
views
showPop is not working
//demo.html File
<div class="slds-p-top_small slds-p-bottom_medium slds-align_absolute-center slds-theme_default slds-text-heading_medium">
<div class="slds-m-top_small ...
0
votes
0
answers
13
views
How to link mobile push engagement data with the journey's sent through?
In order to report on the Push message engagement we are extracting the mobile push detail extract. However, we currently don't have any fields in the extract that can help us link the mobile push ...
0
votes
1
answer
20
views
Working with production record types in a managed package
I have to create some triggers and flows in a 2nd-generation managed package that reference a record type developer name. That's fine, except that the record types that I need to reference are ...
-1
votes
0
answers
23
views
Marketing Cloud custom unsubscribe to an external system
We are looking to set-up a custom unsubscribe and publication lists opt-out across different child BU's to update an external system as the main source. Then use API's to update at parent and or child ...
0
votes
0
answers
15
views
Pre populate fields in lightning-record-edit-form in lwc irrespective of the record page
I have a lightning-button which onclick will show a lightning-record-edit-form to create a Case which contains 2 lookup fields
AccountId (Lookup to Account)
Opportunity__c (Lookup to Opportunity)
I ...
-1
votes
0
answers
20
views
Next button not navigating if clicking delete button on each row
How to navigate to next page even if user deletes a row in a data table
0
votes
0
answers
20
views
Email Template Content Block Area - Overwrite CSS
I am working on revamping email templates in Marketing Cloud for non-technical marketers to use. I am running into an issue/haven't found a solution for overwriting CSS in content areas that a user ...
1
vote
1
answer
27
views
Deploying flows through CumulusCI
I have a full Salesforce repository in Vs Code that I deployed with the command cci task run deploy. I had some issues including a recent change of mine which included a new Quick Action that runs a ...
-2
votes
1
answer
28
views
Trigger to get products records on a long text field in opportunity
Hi i am new to triggers need some help to start the following.
Products is a related object on opportunity and it can have multiple records. I need a trigger to summarize (Product Name, Quantity, Sale ...
1
vote
0
answers
22
views
sf v2 CLI does not work with VSCode Salesforce Extensions
I have upgraded to sf (v2) from sfdx (v7)
As per documentation:
Move from sfdx (v7) to sf (v2)
Which involved uninstalling sfdx (v7)
But now when using VSCode the commands it generates no longer ...
-1
votes
0
answers
19
views
Incorrect owner for opportunity while converting lead
I am using an Omniscript -> Integration Procedure -> Dataraptor-> database, call to convert a lead to an account, and do some processing, like create opportunities, generate pdfs etc.,
When ...
1
vote
0
answers
14
views
Where is my Ready/secondary instance located
Our location is Active (or Primary) is easy to determine (as described in numerous places but how can we determine the geographic location of our Ready (or secondary) instance?
I've looked in the site ...
1
vote
0
answers
29
views
notifyRecordUpdateAvailable vs RefreshApex vs RefreshView API
RefreshApex works for me so far in almost every case. I'd like to understand why I would instead use notifyRecordUpdateAvailable or the RefreshView API instead. Or am I horribly misunderstanding the ...
0
votes
1
answer
34
views
Need help increasing the code coverage for this trigger
I'm a newly hired Salesforce admin and I've been struggling to deploy this trigger since this code is completely new to me. I've been trying to deploy a new version of a trigger with, at most, 10 ...
1
vote
0
answers
32
views
graphQl issue: OR condition not working
I'm having an issue with an Or condition in my graphql statement. It returns all orders where the Order_Status__c field is 'Quote', but not 'Waitlisted'. There are no errors, just the additional ...
0
votes
0
answers
17
views
Why can I create a ContentDocumentLink via Apex but not via DataLoader?
I am trying to copy data from one org to a sandbox via a backup tool and SF Data loader. Most things worked fine, but ContentDocumentLinks are missing.
I tried loading them via Salesforce Data Loader, ...
-3
votes
0
answers
22
views
How do I write a test class for this trigger? [duplicate]
trigger PreventChecklistAgendaItemRecordsFromDeletion on EN_Agenda_Item__c (before Delete) {
List<RecordType> recordtype = [Select id,Name,SobjectType from RecordType where Name = 'Checklist'...
0
votes
0
answers
39
views
Arbitrarily splitting an Address
This is a bit of a weird one, but due to a limitation with the Bringg/Zenkraft integration, Shipments cannot be created if either address line 1 or address line 2 > 35 characters. The issue is that ...
0
votes
0
answers
29
views
Schedulable batch Test execute org data and throw database Error
Test class
User u = new User(Alias = 'xxx', Email='xxxxx', LastName='Testing', LanguageLocaleKey='en_US',
LocaleSidKey='en_US', ProfileId = xxxx,
TimeZoneSidKey='xxxxx', ...
0
votes
0
answers
18
views
FLOW_ELEMENT_ERROR|Operation not valid for this user type when creating Oppt related to contact via PlatformEvent Triggered Flow
I have a flow that triggers by a trigger that publishes a platform event, in the flow I do some fields updates, and I create a task and an opportunity related to the targetId passed from event to flow....
1
vote
2
answers
43
views
Upsert Product2 by ExternalId field fails with a strange error
I have read the documentation about ExternalId field on Product2 standard object
ExternalId
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The unique identifier ...
-1
votes
0
answers
20
views
Not able to see debug logs for class which implements commercepayments.PaymentGatewayAdapter salesforce OMS
I have created Adapter class in salesforce using Example Adapter classes provides on git. It captures and returns the payment as expected. But if requestType is commercepayments.RequestType....
0
votes
1
answer
25
views
2GP Managed package Custom Field visibility
I've a managed 2GP with some CustomObjects. I set their visibility to public like this:
<visibility>Public</visibility>
I've also a CustomField on the existing Opportunity object. But the ...
-1
votes
0
answers
15
views
SFMC A/B Testing link tracking
want to use the SFMC A/B testing functionality for some subject line tests, curious if there's a way to append a variable to the tracking that will allow me to see which group (A/B/Remainder) a ...
1
vote
1
answer
38
views
Salesforce Account Merge Trigger Execution in Bulk Scenarios
I came across the information regarding the execution order of triggers during the merging of Salesforce accounts, as discussed in this SF Stack Exchange thread: merge-trigger-execution-order.
The ...
-1
votes
1
answer
37
views
SQL CASE Statement is not working in SFMC Query
I am writing a query to get the specific value based on the CASE Statement. I am checking with two conditions. One for the value of the column name and other on the if another value exist in the other ...
0
votes
0
answers
26
views
Bulk API 2.0 and Attachments Upload
Does Bulk API 2.0 support Attachment upload related to Account (for example)?
I checked the documentation and it shows Binary attachment upload using Bulk API and not V2.0.
Reference link - https://...
1
vote
0
answers
16
views
Documentation of allowed HTML formatting for the Lightning Knowledge Rich Text Editor?
Is there any documentation available of exactly what HTML is allowed in the Lightning Knowledge Rich Text Editor?
Rich Text Fields in Knowledge Articles (SF Help) states "When you paste content ...
0
votes
0
answers
11
views
Best design for emailing groups of Users that are collaborating on a Case
We're using Cases, but long-story-short, we're not really using Service Cloud licenses. We have a heavily restricted form of Service Cloud licenses.
We need to be able to have teams of people across ...
0
votes
1
answer
39
views
How do I add an event to a specific public calendar using a flow and "New Event" action?
First let me say that I'm new to salesforce so forgive me if I should be doing this another way.
I have a record-triggered flow with the goal to add a sales appointment to a public calendar named &...
-1
votes
1
answer
39
views
In Salesforce, if there are multiple FLOWs active for the same object then does trigger fired only once or will it be fired for each FLOW
In Salesforce, if there are multiple FLOWs active for the same object then does trigger fired only once or will it be fired for each FLOW (assuming each FLOW updates different fields)
Additional ...
0
votes
1
answer
22
views
Salesforce ListView Deployment Error
How to solve 'Invalid scope:mine' Deployment Error While Deploying Salesforce ListView Filter (ownerbased) using VS Code.
-3
votes
0
answers
30
views
Create Trigger for counting Total no of 'Partner cases' and Total no of 'Customer Cases' on account. Partner cases and Customer Cases are record type [closed]
Create two record types named as “Partner Case” and “Customer Case” on Case Object. On creation of Case populate the total number of Partner Case and Customer Case on Account object. Create Custom ...
-1
votes
0
answers
22
views
My Lightning Record Page for a custom object Patient__c. After some commits my record detail page refuses to load and gives this error
Uncaught (in promise) DOMException: Failed to execute 'structuredClone' on 'Window': #<Object> could not be cloned.
at V.wiredFlexipageTemplate (https://ruby-data-6093-dev-ed.scratch....
0
votes
1
answer
57
views
SQL Query Issue to get last 12 Months data from a DE in SFMC
I am trying to get the data from a DE for last 12 months but when I am running my Query, I am only getting data November 2022 but I want to have data from each month after from November 2022 till now ...