All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

How to bypass duplicate rule in LWC record edit form?

I have usedlightning-record-edit form component to create a new record. Below is the code that I have used: LWC HTML: <template> <lightning-record-edit-form object-api-name={...
0
votes
0answers
5 views

Sales Force can't setDeviceToken on new SFMCSdk

I migrated to SPM with MarketingCloudSDK 8.0.3 and SFMCSDK 1.0.2. I got Missing or invalid Device Token with status Not Opted In. After debugging, I got a problem when doing setDeviceToken. Below is ...
1
vote
0answers
7 views

How does objectTranslation files work for renaming standard fields

We are working with salesforce dx. When I try to relabel a standard field in Salesforce and retrieve that change into dx, the change goes to objectTranslation files. However, by looking at the file ...
1
vote
2answers
13 views

Why is the table generating too many rows (LWC)?

As you can see in .js, the table has only 1 row, but it is generating 5 rows... I don't understand why. .js file import { LightningElement,track } from 'lwc'; export class Table extends ...
0
votes
0answers
10 views

SalesForce Action Button Not Passing Variables?

I've created a flow to clone Quote and related Quote Line Items (using this as a loose guide). I'm working in a sandbox environment. When I run 'Debug' in the Flow builder, the flow executes as ...
0
votes
0answers
4 views

Salesforce FSL App "ASSET SERVICE HISTORY" Offline records not showing

Salesforce FSL app Offline data visibility issue. I have done the FSL app Data Sync and after that, I am able to see the records in offline mode but ASSET SERVICE HISTORY records are not showing ...
0
votes
1answer
12 views

How could I avoid nested for each in a HTML (LWC component)?

I'm starting to create a modal like in this picture, but I only got it doing nested for each (line 42 and 43 of the .html) for the table. That's not good practice, right? So how could avoid it? I ...
-2
votes
0answers
15 views

How to write a test class for a picklist (Salesforce) [duplicate]

I have this following picklist class for which I am trying to make a test class but I' stuck //Método picklist Origem do Lead public List<SelectOption> getOptions(){ //...
-3
votes
0answers
30 views

I need to update field from one object to another object and vice versa using triggers in salesforce

I have two custom objects called Jobs & Job Order. Whenever i tried to update on Jobs object it should automatically update on Job order object, Similarly whenever i tried to update on Job Order ...
0
votes
1answer
24 views

How remove multiple spaces from old contacts?

I have a problem with integration when a contact have multiple spaces, I already did a validation rule to not save if has, but I desactivated and put on a trigger of before insert and update with a ...
0
votes
0answers
31 views

How to use external api using apex triggers

I want to trigger an event when a job is created. It should create this job in the livehire too. This is my class where I am getting access token public class _Token { @future(callout=true) ...
0
votes
0answers
8 views

Portal Self-Registration Questions for Existing Relationships

This is a bit of a two part question, so bear with me. We are using Salesforce combined with a Loan Origination platform (nCino). We recently started the roll out of our Online Application process ...
0
votes
0answers
15 views

Colspan and Parameters

I am trying to get my quote pdf "totals" and "Quote Currency" column (on the far right) to be centered in my pdf. I have used Colspan to achieve this but it doesn't seem to be ...
-1
votes
0answers
6 views

Custom binding for a date widget

Hi I have a requirement where we need to show the the current year and previous year sales in the chart based on the date selected by the user in the date widget If a user selects a date for last 6 ...
0
votes
0answers
21 views

Update queable apex with list iteration for loop to process 10 records at a time

I have an existing queuable apex class that is taking a collection of records from an autolaunched flow and passing them via the List recordIDs ivocable variable. There is an iteration for loop to ...
0
votes
1answer
11 views

Append SubKey to DE via Email Lookup

We are trying to figure out if this is feasible: A vendor has a product that triggers a journey, however in their payload, they can only send the email back and the payload is unable to be modified. ...
0
votes
0answers
29 views

I need to do a post method using json by rest api

Class: HttpRequest req = new HttpRequest(); HttpResponse res = new HttpResponse(); Http http = new Http(); req.setEndpoint('xxxx'); req.setMethod('POST'); String username = 'xxxx'; String password = '...
0
votes
0answers
14 views

How to report a crash in the SFMCSDK (iOS Marketing Cloud SDK version 8.0.1)?

I would like to report a crash that has started occurring after upgrading to Marketing Cloud iOS SDK version 8.0.1. Our volume of users is quite high on certain days of the month and we recorded a ...
0
votes
0answers
10 views

Blank Visualforce Iframe in a LWC in Mobile App

We're trying to render a Screen Flow programatically from a LWC. This is done by creating an aura app (with lighting:flow) in an a Visualforce page. This Visualforce page is then loaded in an iframe ...
-1
votes
0answers
21 views

Need create queues for product group

How create queue for product group! I have apex class with help i create new Lead and i have apex trigger and with him help i create product! But i don't know how create queue for product group. ...
0
votes
1answer
10 views

Can we add the same remote site settings to two packages with the same namespace?

Is this possible to include the same remote site settings to two packages with the same namespace? I mean, won't this break the installation of these two package into the same org?
0
votes
0answers
8 views

How show external html header in Salesforce community/experience

I have to replace community header with AEM header(external html site) and based on dynamic AEM site header URL. CMS Connect does not support dynamic URL. We can only provide a fix header in CMS ...
1
vote
0answers
10 views

How to disable CRUD/FLS check from fflib domain layer for only some specific flows. By default it is enabled for all flows using base class

1- I am using fflib for my managed package. 2- By default CRUD/FLS are enabled for all domain/selector flows (Using Base class) 3- In a specific method which is used by site guest users, I want to ...
0
votes
0answers
19 views

Create trigger custom object [closed]

I have created a custom payment object, which has a master-detail field opportunity and an amount field, help me create a trigger that will change stage opportunity to closed won if the amount in ...
0
votes
1answer
18 views

"My Calendar" Create via flow or apex?

I contacted salesforce support but they just told me that it's possible. I would like to ask if there is a way to create "My Calendars" via flow or process builder. Because these are the ...
-1
votes
0answers
27 views

I want to write validation formula which have 6 character, with one number one Upper case letter and one lower case letter [closed]

I want to have a field that will have prefixes as below and can be input in only the following way. Prefix needs to be #PNR- The number of digits after the prefix: 6 The digits at least have one ...
-1
votes
0answers
23 views

I am receiving following error we commented out the code in trigger and deployed the packages then we are receiving the below error [closed]

CaseUtilityTriggerTestSMM testRecordTypes System.AssertException: Assertion Failed: Expected: true, Actual: false Stack Trace: Class.CaseUtilityTriggerTestSMM.testRecordTypes: line 40, column 1 ...
1
vote
1answer
24 views

How to refresh dependent dual listbox in LWC

The attached image is an LWC, in which Category is a controlling picklist (Combobox) and Sub Categ is the Dependent Picklist. Eg. Category 1: Sub Categ 1,2,3 Category 2: Sub Categ 2,3 I am storing ...
8
votes
1answer
130 views

Exeception line numbers are not reliable

I spent quite some time debugging an issue because the stack trace line numbers were not correct and wanted to share my findings. The problem seems to be 10 Years old and fixed, but under specific ...
0
votes
1answer
18 views

How to iterate a JSON data in HTML in LWC

I have a JSON response 'result' from JS like below: [{"Name":"Alexy Portal", "Description":"New Record <span style="background-color:#FFFF00;">New<...
0
votes
1answer
12 views

Lwc I want to show the contact file ,opportunity file and account file on account level i have created but file not getting opened can anyone help me

HTML <template> <lightning-card title="File" icon-name="standard : Files"> <div class="slds‐m‐around_small"> <template if:true={...
0
votes
1answer
17 views

Need a query for finding public groups that have no users currently in them

I'm looking for a query to find public groups that have no users assigned to them and delete them. It's a large set of data so it would be much easier this way rather than going through all of them. ...
0
votes
1answer
22 views

Allow only Admin Key-User to delete the form

I want to allow only the user that have Admin Key-User as role to delete the form , now also the Admin Key-User can't delete if the conditions in trigger are corrects . =>this is my trigger trigger ...
3
votes
0answers
20 views

Can I create scratch org with some languages activated in Translation Workbench?

I'm trying to create scratch org where the languages in Translation Workbench would be marked as 'Active' by default. For example I would like to create scratch org with Japanese activated by default. ...
4
votes
0answers
25 views

How are duplicate components handled in an extension package?

Core managed packages can have extension packages created for them that add functionality. We are considering that approach to support multiple languages so that the translation work can be on a ...
0
votes
0answers
17 views

How can I debug the journey builder Hard error "This contact is missing a required attribute."

I have used DE as an Entry source in the journey and this error came up in b/w the journey, the email-01 sends were successful, after the wait duration of EM-01 this issue came up while sending EM-02 ...
1
vote
1answer
26 views

Update (never insert) a record by External Id using REST API

Salesforce offers a way to upsert a record by a given External Id: curl https://na1.salesforce.com/services/data/v20.0/sobjects/Account/customExtIdField__c/11999 -H "Authorization: Bearer token&...
0
votes
1answer
14 views

How to revert google map marker to previous icon

Requirement is to plot multiple locations as markers on map (flag icon) on click of any marker(say A) that marker icon should change to default google marker icon but condition is after clicking ...
0
votes
1answer
28 views

How to use Custom Settings or Custom Metadata to dynamically add fields to code

I have written apex code to copy the data of a few specified fields from Order record to Order Line Item record when their values are modified. The problem here is every time a new field has to be ...
0
votes
1answer
22 views

change lightning card background color depending upon field value

i want to change the background of the lightning CARD on the condition ,that when units.Available__c='NO' the card background should be red and when units.Available__c='yes' the card background should ...
1
vote
0answers
9 views

How to redirect edit button to vf edit page and standred edit page based on record type

I have 4 contact record types ,among them one is a vf page ,others are standard pages ,currently i am able to redirect the standard pages to standard edit page ,but vf page is stuck on loop VF Page &...
0
votes
0answers
24 views

Send email using guest user

I have created an LWC with a form to create a Lead and placed it on the community site which is public. Now when a Lead is created there's a trigger that is supposed to run and send an email to the ...
0
votes
1answer
20 views

Trigger on ContentDocumentLink object which sends an email each time i upload a file in account object

Things I have done:This is my code.Earlier I had done it without using an email template by using a subject and body in my apex code itself.It worked fine and each time I uploaded a file in account ...
0
votes
0answers
21 views

What are the best courses (paid or unpaid) for Marketing Cloud that the community can vouch for? [closed]

What are some courses/resources for Marketing Cloud that people have taken or used recently/over the years? I'm currently involved in creating/manipulating DE's, creating & editing email content, ...
0
votes
0answers
14 views

UpdateExpression: in aws dynamodb [closed]

Can any one please advice me what I'm doing wrong in this code, I'm keep getting internal server error. // update dynamo entry for "eventId" with others await dynamo .updateItem({ TableName: ...
0
votes
0answers
21 views

how to fetch boolean flag value from parent in child component

I have defined a flag in my child component and sent it as an attribute to parent. I need some of the input fields coming from parent to have some validation and according to the flag value (if true, ...
0
votes
1answer
17 views

Inbound changeset validation error on opportunity trigger

I need to preface this with the statement that I am not a developer. I've inherited an instance that contains some apex triggers that I'm trying to tighten. I'm attempting to make a minor update to a ...
0
votes
0answers
15 views

Deployment Settings between Developer & Partial Sandboxes

I'm trying to set up deployment settings between a Developer and a Partial Copy Sandbox. I have the Change/deploy change set permissions checked in my profile. In deployment settings, I've checked the ...
-1
votes
0answers
12 views

For the closed lost opportunities i want to import their contacts as new leads

I have a situation where we want to contact the closed lost opportunities. For the closed lost opportunities i want to import their contacts as new leads. When i reimport them i am getting duplicate ...
0
votes
0answers
17 views

PageReference not working when using in controller of custom aura component on Experience Cloud Site

I have a Vf page render as a PDF, I want to send an email along with the pdf from an apex class(which is an aura component controller). The process is running for guest profile users. Below is my code:...

15 30 50 per page
1
2 3 4 5
2400