All Questions
132,709
questions
0
votes
1
answer
38
views
When using Cloud Page referencing an HTML Content Block to run SSJS
I was doing some hands-on exercises for learning SSJS using CloudPage calling a HTML content block for my ssjs script.
My question is : When creating a test stub cloudpage to run some ssjs exercises, ...
-1
votes
0
answers
33
views
FlowAttributeChangeEvent only returning id's of records
I am trying to return list of sobject records from lwc to flow using the FlowAttributeChangeEvent. For some reason I get only the Ids of the records not any other fields.
Below is the screenshot that ...
1
vote
1
answer
30
views
Automatically, or at creation, assign a new class to a profile
We are testing the use of the new Integration License for API use.
.
We have been using the Admin license for our portal, which automatically gets assigned permissions to any new classes that are ...
-1
votes
0
answers
19
views
im not able to pick a operator in a flow
i have 3 different sandbox and i have done this configuration in 2 of them but now that im trying to do it in the third im not able to choose the operator, is not showing any opcion.
i already give ...
-2
votes
1
answer
32
views
Before Insert or Upsert list must not have two identically equal elements WHEN INSERT LIST
List<OperacionComercial__c> OCCambioPlanETBTotal = new List<OperacionComercial__c>();
List<LTE_DetalleOferta__c> lstDO = new List<LTE_DetalleOferta__c>();
for(...
-1
votes
0
answers
46
views
Change data Capture Design Pattern
I am implementing CDC for numerous objects. I am thinking to implement some kind of design patten, just like how we have for Apex triggers (TriggerHandler..). I am not sure how effective it is and ...
0
votes
0
answers
28
views
Generating and Signing JWT for OKTA API call
I have been working on this for forever now.
Need: Call "...oktapreview.com/oauth2/v1/token" to receive a token for use in future calls. I am able to do this with postman just fine, trying ...
-1
votes
0
answers
23
views
User specific MC fields and Related List (e.g. Email Sends)
I have inherited an already installed MC, connected to Sales Cloud. All is working fine. However, I can not see the MC specific fields on the user object in SF, nor can I see the related lists, such ...
-1
votes
0
answers
25
views
Adding a Product to Opportunity - Flow based on Field
I am aware we have products in two places on the opportunity, this is currently how the business needs it for reporting needs across 12 different BU's Thank you!!
I want to create a flow that ...
0
votes
1
answer
61
views
Enterprise Architecture, Domain layer - handling multiple records
I'm developing a project using fflib's Enterprise Architecture patterns, based on their example app (https://github.com/apex-enterprise-patterns/fflib-apex-common-samplecode). I am a bit confused ...
0
votes
1
answer
25
views
Remove checkmark from LWC lightning-input toggle
Is there a way to remove the checkmark when the toggle is in the checked state?
This is what I have on my HTML -
<lightning-input type="toggle" name="test" data-id={testId} ...
0
votes
0
answers
19
views
Case Chatter Feed - New Email button not appearing
I am trying to enable the new Email button on our Case Chatter feed. I have checked the following
System
Email-ToCase -> Enabled
Email Deliverability -> Enabled
Feed Tracking -> Case --&...
0
votes
1
answer
44
views
Emails Not Working both Test and Actual Sends
We got a new business unit
Couple of weeks when we sent out test emails, things worked.
But when we want to test them again today test emails are not working, The emails are not bouncing and nothing ...
-2
votes
0
answers
41
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
40
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
31
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
18
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
31
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
19
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
27
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
1
answer
115
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
22
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
35
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
...
2
votes
2
answers
244
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
1
answer
39
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
2
answers
66
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
34
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
36
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 ...
-2
votes
0
answers
27
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
30
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
30
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
29
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
27
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
27
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
27
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
35
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
30
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
1
answer
58
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
21
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
19
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
1
answer
56
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
50
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
42
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
29
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
41
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
37
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
23
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
71
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
23
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....