All Questions

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

Hide Specific Attributes from Lightning Web Components

Lightning web components come with attributes. For my use case, I do not need all these attributes and I would like to hide them. For example, the Lightning combobox has some of the following ...
user avatar
0 votes
0 answers
21 views

Error handling using aura record edit form

Is it possible to remove or hide this standard lightning message? I have overridden the new button with the aura component and used the record edit form and handling error In the controller, but I don'...
user avatar
1 vote
0 answers
12 views

No edit permission on Case created by Workflow when viewed from a Trigger

The issue: before-insert trigger on Task queries 'UserRecordAccess' and finds that current user doesn't have edit permission to the Case that has just been created by Workflow (Case is assigned to ...
user avatar
  • 11
0 votes
0 answers
9 views

Journey Builder Remove Campaign Members from Campaign

Is there a way to remove campaign members from a campaign through Journey Builder?
user avatar
  • 21
0 votes
0 answers
8 views

Merge procedure to remove duplicate contacts in SFMC

User can register to receive SMS in two ways: By registering through website where they enter their Phone numbers and it gets synced to SFMC. By texting keyword directly on the short code where ...
user avatar
0 votes
2 answers
19 views

Trying to fetch Name of profile Using Map

i am trying to add custom error through trigger as if profile is system admin user cannot able to delete account. everything is working fine but i am not getting that custom error i had written, i am ...
user avatar
-1 votes
0 answers
17 views

After Insert and After update found exception help me

Help me to solve this problem: When inserting a new record, title field must be updated to 'Demo for After insert'. When updating the record, the title must be updated into 'Demo for After Update'. ...
user avatar
0 votes
0 answers
6 views

Field Service Mobile Flow

My requirement is to provide ETA(Estimated time of Arrival) to my customer. So the ETA should be greater or equal to current date/time. If ETA is less than Current Date/time, it should throw an error ...
user avatar
0 votes
0 answers
34 views

getUserInformation() error

I am looking at some existing code for a Connected App plug in class where it shows this: private void userUpdates(Map<String, String> updates, Id userId) { User currUser = ...
user avatar
0 votes
1 answer
15 views

Pass record Id to an auto launched flow from an after delete trigger

I have a requirement to update a field on a parent record after a child record is deleted. I would like to call an auto launch flow from an after delete trigger to handle the logic, however I'm having ...
user avatar
  • 1
0 votes
1 answer
28 views

Using a Custom Domain Name for a Production org (not for Sites or Experience Cloud)

The Salesforce documentation (linked below) indicates that you can use an FQDN, like mydomainname.com, to point to your Salesforce production org. After having a little trouble setting this up, I ...
user avatar
0 votes
1 answer
23 views

How to target a retrieved data extension in a FOR LOOP while using WSProxy

Currently, I am using the following approach to define my Data Extension Platform.Load("core","1"); // instantiate the WSProxy object to make API calls var api = ...
user avatar
  • 99
-2 votes
1 answer
52 views

How to display hyperlink in error message from trigger?

i want to give link to the record in an error message which i am sending from trigger. Message: ERROR: An open opportunity <a href='https://bonial3-dev-ed.my.salesforce.com/0065i000006VOl0AAG'>...
user avatar
0 votes
0 answers
18 views

Can e-mails appear to be sent from Marketing Cloud but not actually be sent?

This is probably a very silly question, but doing due diligence. We have an SFMC subscriber who insists that she is not receiving some, but not all, of our e-mail communications. SFMC is saying that ...
user avatar
  • 21
1 vote
0 answers
25 views

Why is the event.key and event.keyCode undefined

I'm creating a lightning flow component and I want to capture key strokes to automatically control formatting. i.e. all numbers or all letters or insert '-' for tax id's. However when the function is ...
user avatar
  • 568
-1 votes
0 answers
12 views

When submit the custom ui form it will shows the verification screen and save into the custom object in salesforce [closed]

When submit the custom ui form it will shows the verification screen and save into the custom object in salesforce how to achieve in lwc can any one help
user avatar
1 vote
1 answer
25 views

Can we use styling hooks on lightning-progress-indicator ? Or how to change background color of steps?

I have been trying to modify the standard color for the 'completed' steps on the lightning-progress-indicator LWC (path type): https://developer.salesforce.com/docs/component-library/bundle/lightning-...
user avatar
  • 11
1 vote
0 answers
24 views

Lead conversion with a Person Account

I am trying to convert a lead to person account, in the logic we need to create the personAccount during lead conversion time. So I am using "setRelatedPersonAccountRecord", where I am ...
user avatar
0 votes
0 answers
11 views

Remedyforce Incident Link in Console

I wanted to have a link to the incident so that it shows only the record without any list view provided. I have used the following link to go directly to the CR record but it does not work with the ...
user avatar
0 votes
0 answers
22 views

Enable Enhanced Domains

We are planning to enable "Use enhanced domains" for our org. According to the Release Update "Enable Enhanced Domains" we found that the hard-coded host of salesforce and digital ...
user avatar
0 votes
0 answers
19 views

SSJS variable not being passed to JSON payload

I am trying to do an API call. I am getting a query string parameter from a URL and attempting to pass it into a JSON payload for an API call. However, it looks like the value in the variable is not ...
user avatar
  • 13
0 votes
0 answers
13 views

Unable to deploy Target Config Property with "Role" Attribute when using FlowAttributeChangeEvent to affect component visibility in Flow?

I am looking to create a visual workflow that based on the output of the LWC component, will affect the display of another component on the same screen. I believe I need to set the role attribute of ...
user avatar
0 votes
0 answers
19 views

Enable Stronger Protection for Your Users’ Personal Information (Release Update)

We have enabled this release update on our org, can someone guide us on how to test its impact correctly. We have hidden all default fields including First Name, Last Name, and Name but I am still ...
user avatar
0 votes
1 answer
24 views

using multiple conditions inside Aura:If

Here I'm trying to check the multiple conditions inside aura:if. But this is not working. Can anyone help me what is the issue? Here **DiffValues** is the attribute of type Integer. Even I tried with ...
user avatar
0 votes
2 answers
34 views

I need to make discount depends from Registration date (i.e. 3% discount to Opportunity when Account registered 1-2 years ago, 5% 2-3 years ago)

for (Opportunity opp : TriggeredOpps){ Account parentAccount = parentAccountsMap.get(opp.AccountId); if(parentAccount.Registration_Date__c != null){ Date todayDate = Date.today(); ...
user avatar
0 votes
0 answers
23 views

Database.emptyRecycleBin and Empty your organization's recycle bin not deleting records

I'm trying to understand why records are not getting removed from our recycle bin. When I go to the UI and click 'Empty your organization's recycle bin' it doesn't appear to dump the data. Also ...
user avatar
  • 889
-1 votes
0 answers
20 views

Formula Field and pick list

IF(AND(ISPICKVAL(Employee_Title__c ,'Software Engineer'),50000, IF(AND(ISPICKVAL(Employee_Title__c ,'Senior Software Engineer'),70000, IF(AND(ISPICKVAL(Employee_Title__c , 'Team Lead'),90000, IF(AND(...
user avatar
  • 1
1 vote
1 answer
17 views

Lightning component error: Cannot find action on controller when it is there

I am trying to build a lightning component and I am really lost as to why I am getting this component error when trying to load the component. Unable to find action 'getGType' on the controller of c:...
user avatar
0 votes
0 answers
8 views

Save chat button id value in offline chat

I have two chat buttons on two different site that connect to the same SF org. When the agents are online the name of the button is saved in the chat transcript so that they can see which site the ...
user avatar
  • 1
0 votes
0 answers
18 views

Pardot - retrieving visitor page views with a date-based filter

I'm trying to read some records through the Pardot API, for example the visitor page view If I'm not using any filters, it works just fine and I get some records. I copied the createdAt right from one ...
user avatar
  • 111
0 votes
1 answer
16 views

In an Approval Process select Approver to be a Queue

I am in the process of creating Parallel Approval process. Use Case: An Opportunity should be unanimously approved by three teams. What i have tried. ? Opprtunity is not supported in Queues, so ...
user avatar
0 votes
2 answers
31 views

Database.Stateful, Non-Static Variable Is Null in Finish Method?

I can't figure out what I'm doing wrong here. So, I have a batch class, when I call it, it instantiates a new List<Database.SaveResult>() which is non-static and since I'm implementing Database....
user avatar
0 votes
1 answer
23 views

Before delete trigger to block the deletion of accounts depending on a field an user profile

I'm trying to write an apex trigger that before delete checks the user's profile and a custom field called ID_Prestige__c. If the field is empty you can't delete the account object. Only if you have ...
user avatar
-1 votes
0 answers
22 views

Managing salesforce profiles in the AD FS

I'm trying to create groups in Active Directory that correspond to salesforce profiles in order to add users via active directory. I found the profile IDs which are in this form "...
user avatar
0 votes
0 answers
22 views

Managed package Custom App and tabs not visible on production org

I installed a managed package on Production org. After successful installation of the package, the custom app and custom tabs from the package are not visible in the app launcher(6 dots). This only ...
user avatar
0 votes
1 answer
39 views

Can someone help me with an apex Trigger? "Invalid bind expression type of Contact for column of type Boolean"

here is the problem. I'm getting a error line called "Invalid bind expression type of Contact for column of type Boolean" with this trigger. What I'm trying to do is: get a boolean value ...
user avatar
1 vote
1 answer
47 views

Navigate to Newly Record created record using Flow in LWC

I am creating records using Lead from screen flow after creating i want user to navigate to the newly created Record i am using Navigation Mix in and trying to redirect the record . Below is My LWC ...
user avatar
  • 65
2 votes
1 answer
86 views

Refused to load the script as it violates content security policy while working on LWC file

I am a Salesforce developer. I am a beginner in this. So basically I am working on a particular page. This particular page is dependent on one apex class file and two LWC components. The code written ...
user avatar
0 votes
0 answers
20 views

Initiate U2F Verification Method internally

How can we initiate the auth verification internally through Apex for U2F like we can do for PASSWORD, TOTP, SF_AUTHENTICATOR?
user avatar
0 votes
0 answers
7 views

Field Service Inventory Issue : QuantityOnHand standard field on Product Item object to make Read only for Profiles

We have requirement that we need to make QuantityOnHand field should not modified once PI record created. But our partner users are modifying it since there profile have edit access. This field is ...
user avatar
  • 23
0 votes
0 answers
13 views

How to Add Second Recipient in Conga DocuSign Agreement From Related object

I have requirement to add Second recipient in Conga DocuSign Agreement. Here I have Conga button on Qoute object. There is lookup field Quoting Entity on this object and Quoting Entity having a field ...
user avatar
-1 votes
0 answers
12 views

Getting product data from URL

I am having requirement when user of third party application click on a product_url, the application would open exact product detail page, with/without selected variant Is there any way I could ...
user avatar
0 votes
1 answer
19 views

Preview and test email send - URL Expire?

I sent a test email on my address email a few month ago, and I wanted to take a look at the test email from that time and also check the URL. I noticed that the URL expired. Is it normal for a preview ...
user avatar
  • 1
0 votes
0 answers
13 views

Collection Defaulter Email for sending mail of 4 regions Records at a time

I created an Apex Scheduler class for sending emails of 4 regions record at a time. But in my code duplicate email will go... Can anyone help me to correct this code? global class ...
user avatar
0 votes
1 answer
43 views

LWC add custom data-type checkbox and extending lightning-datatable

I have a requirement where I have implemented the lightning-dataTable with the custom-dataType column checkbox. As you can see in the screenshot, I have a requirement where onCheck of the parent row(...
user avatar
  • 11
0 votes
1 answer
30 views

design token 'is not defined' error in LWC

Trying to utilise standard design tokens within my LWC so that within a community the LWC will adopt the theme colours. I'm unable to successfully reference a global design token. All I get is a '--...
user avatar
  • 1,687
0 votes
0 answers
20 views

sfdx plugins are not getting installed via docker

We are using below script to install sfdx plugins on top of Jenkins via below docker file. FROM jenkins/jenkins:2.263.3 USER root RUN mkdir /.cache /.sf RUN chown jenkins.jenkins /.cache -R RUN ...
user avatar
0 votes
0 answers
21 views

Account Related Contacts in same Custom table in LWC in accordian manner

I have designed an Account and its Contacts relationship in lightning Collapsible and Accordion style where data should should be in same table columns. The data is not populating correctly since it ...
user avatar
0 votes
2 answers
50 views

Why null pointer exception occured?

Following is my code : trigger EmailValidation on Contact (before insert,before update,before delete) { // set to store emails present in the contacts that initiated this trigger set<...
user avatar
-2 votes
1 answer
32 views

I want to use metadata in my apex code to getting the value

I used a custom label to store my twilio accountSID and phone. But instead of that I want to use Custom metadata to store my accountSID and phone and use them in my code. How can I do it - plz help me ...
user avatar
  • 1

15 30 50 per page
1
2 3 4 5
2475