All Questions

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

Salesforce Promotion/Promo Code isn't showing discount after Checkout

I have added the Coupons and Promotions components to the experience site, with a test code set up. As users begin checkout they are seeing everything as they should, code is verified, and proper ...
-1
votes
1answer
9 views

Validation rule to be adjusted

Hello after adjustment of validation rule when I am creating contact with one of the profiles from the validation rule and insert mobile phone the validation rule still doesn't allow me to create a ...
0
votes
1answer
24 views

Created new LWC and it won't deploy

I am a long time aura developer trying Lightning Web Components. I created the LWC with the SFDX: Create Lightning Component, all the elements are there "html", "js", "js-meta....
2
votes
0answers
15 views

Heroku suspended my app and I can't find why

I received this email and my example app is now gone and wont 'wake up' by hitting the url. Hello, This is a notice to inform you that your Heroku app, url2go, has been suspended. If you believe this ...
0
votes
0answers
6 views

how to save the value which we receive from the component to the database without using apex controller

Using the child-parent relationship, am passing value to the parent and I want to save the value to the database. The parent component got value from the child without any issues and on refreshing the ...
0
votes
0answers
5 views

SSO with Azure AD Logout Screen

We are using SSO with Azure AD as the id provider. It is working properly for the login process. But when logging out we go through the process and am going through the process and logged out - but am ...
0
votes
1answer
17 views

Batch Apex Uncatchable/uncaught exceptions

I had understanding that if batch apex execute method encounters an uncatchable/uncaught exception, then it stops the batch processing at that particular execution of execute method and does not ...
0
votes
0answers
6 views

Apex test class for userLanguage [duplicate]

i have this apex class and i need to create a apex test class , it'is my first time to use test class , how can i make it please public with sharing class User_us { @auraEnabled(cacheable = true) ...
0
votes
0answers
7 views

Metadata related to RecordList Component in Experience Builder

Where can I track metadata related to Show list search header property of record list component. I unchecked the field and retrieved experience bundle in VS Code editor but still in recordList.json ...
0
votes
0answers
12 views

how to compare time from (2021-11-15T21:59:45.000+0000) in soql query?

I Need to extract the records created between 21:55 to 22:00 irrespective of the date. The created date was (2021-11-15T21:59:45.000+0000) this format. any ideas ?
-2
votes
0answers
17 views

Formula Field is working in sandbox but not in production

The formula field of return type boolean is working in Sandbox and not in Production. Any reason why ? I am trying to return as True if the current date is between start and end dates of an ...
0
votes
0answers
15 views

Multi factor authentication

I just recently set-up MFA for my org. We also have the Salesforce Inbox license and people are having to sign in twice, once to login to the Salesforce website and the other in order to use Inbox. Is ...
0
votes
0answers
8 views

Exporting SF data to google sheets

I have an issue with the Salesforce data connector for google sheets, as the report in SF that I am trying to export/link to sheets contains currency and currency symbol in one field. Upon import to ...
0
votes
1answer
10 views

SQL- Block bounce data in Marketing Cloud for the year

I am not very well versed with SQL however I would like to query the data extension to find out what was the block bounce rate for all the emails sent out throughout the year.
0
votes
0answers
5 views

Respond Email on Case register

I have cases from email to case, and I have a related list of Email, with respond and respond all next to the register of the email, but the user says it's not friendly, so anyone know some easy ...
0
votes
1answer
22 views

Execute js method in lwc after changes in apex

I have an issue. I have lwc lightning-table, with editable column. When i edit column, i send new data to apex to update records. I have an on update trigger which recalculate another fields on this ...
-4
votes
2answers
16 views

How to change this method into @auraEnable method

public PageReference back() { PageReference pgRef = new PageReference('/' + oppId); return pgRef; }
0
votes
1answer
19 views

How to display percentage(probability) field in lightning datatable?

I want to display probability field in lightning datatable which is already calculated as percentage. But two extra zeros are getting added at end of every value. data type for column is percent. How ...
2
votes
1answer
20 views

Check if apex is being run in Rest Resource

Is there a way to check if being run in RestResource Context? I have a script that posts messages to an endpoint but we can end up in an infinite loop scenario as they are now posting their comments ...
0
votes
0answers
18 views

Execute Apex method when a user leaves the page where is the LWC placed

I have some data in my LWC and I need to save this data when a user leaves the page or close the page. Is there some event firing or there is some JS method how we can catch user leaving or closing ...
1
vote
0answers
6 views

Salesforce Screen Flow is returning field-level access error for a new field (with always run in System Context Without Sharing - Access All Data)

I am calling a screen flow from the action button on the opportunity record page. Even the flow is set to always run in system context without sharing - access all data, it's still giving the ...
0
votes
0answers
19 views

Adjustment of formula for all years, not for specific one

Good day, how to adjust this formula to be valid for all years, not only for specific one MOD(FLOOR(("Created Date" - DATEVALUE( "2016-01-01 " ) ) / 7 ), 52) + 1
-1
votes
0answers
19 views

How to authenticate .PFX file with password protected in Salesforce [closed]

Having a .PFX file with password protected and need to authenticate and after authenticate, we have to call a third party url by using POST method with payload in salesforce rest API. Attached is the ...
0
votes
0answers
34 views

I don't understand what I'm doing wrong

I need ApexController generate pdf and create content version I created VF page and apex controller. I created quick action "Generate Invoice" QA 1. I need to create an invoice for ...
-2
votes
0answers
11 views

WAP to create 5 Case Records with all the values(Accounts,contact,etc) filled in without use of trigger [closed]

Public class CaseAddition(){ Public static void caseAdd(){ List<Case> caseList =new list<case>; For (Case c: caseList){ c.Account='Name'+i; } } }
-2
votes
0answers
12 views

Custom button email with related list (Notes and attachments) attached

I have a custom object and I have notes and attachments as a related list. On the detail page of the custom object I wanted to create a button that will send an email to the user with the attachments ...
-1
votes
0answers
9 views

Why am I recieving community user welcome emails when I create an internal user in salesforce?

As I create an internal user I'm receiving an email template of community user when it's created. Any ideas on how to solve this issue
1
vote
0answers
14 views

Is there a way to automate (API, SSJS script, etc.) stopping the journey when the last contact exits?

I am currently working on a case where I need to work on automating to stop the journey when the last contact exits it. It would be much easier to just manually stop the journey. However, I need to ...
0
votes
1answer
38 views

How to iterate over and calculate over a array of objects?

So to keep it simple, the below is my requirement that I am trying to achieve in my LWC component: Input : [{name: "John", answer: "cloud"}, {name:"Jenny", answer:"...
0
votes
1answer
19 views

How to add dynamic fields to "onsubmit" method in lightning-record-form in LWC

I'm new to Lightning Web Components development. I have 3 fields to populate values, out of which 2 are picklist fields which requires user input, to which i use lightning-record-form with "edit&...
-5
votes
0answers
23 views

How to write a test class for this class [closed]

/* * @Author: CEPTES Software Pvt. Ltd. * @Group: Dialer * @Test Class: CloudConnectCallbackTest * @Description: Rest resource for callback */ @RestResource(urlMapping='/callback/v1/*') global class ...
0
votes
0answers
11 views

How to set condition for Record Choice Set in Flow Builder

I currently have a get record element which gets a collection of records (tested this and works). I have a record choiceset on where I want to add the condition Does Not Equal the collection I got ...
0
votes
1answer
25 views

Issues on different ways of creating personalisation string in Email

Hi StakeExchange community, it's my first post in this community, I hope for your help and kindness. I'm having difficulty with personalisation string in Email Studio. There is a custom field in the ...
0
votes
2answers
32 views

how to change a button variant which is in for loop in LWC

HTML: <template for:each={acc.data} for:item="acc"> <lightning-button key={acc.Id} class="slds-theme_brand" value={acc.Id} variant={buttonVariant} ...
1
vote
0answers
12 views

Guest user not able to query public group

I have written a logic which involves public group. When this logic is triggered by guest user, I get the error: 'Permission to access an Group denied'. I can see that guest users cannot be added to ...
0
votes
1answer
18 views

Delete a file from a related list by non-owner

I have a record with a file in a related list. I want to allow a non-owner to delete that file. Since you can't add a custom button to that list and non-owners can't delete a file how can this be ...
1
vote
1answer
24 views

How to share lwc modules as reusable utility components

So I am looking to implement reusability pattern across Lwc's using utility components. What Im not understanding is limitations of importing modules/dependencies like ShowToastEvent. If I create a ...
0
votes
0answers
4 views

Field Service Lightning App Not Showing In Lightning App Builder

I'm doing an implementation that involves Field Service. I've created a record detail page in the Lightning App Builder that is intended to be shown inside the Field Service App. However, when trying ...
0
votes
1answer
20 views

LWS Button does not close its modal window

The current code, has a Cancel button at bottom of modal. On Click, the modal disappears. Current HTML <lightning-button class="slds-m-top_small slds-m-right_xx-small" type="submit&...
0
votes
0answers
9 views

Rows.Retrieve() returning an empty array using SSJS? [duplicate]

EDIT Answer found here I am trying to just retrieve data from data extension According to this, I have to just use the Retrieve function without any filter My DE has 11 rows but all I get is an ...
-1
votes
1answer
14 views

SFDX Test Code Coverage on deployment - CICD

I am trying to set up a CICD validation which needs to check if the test code coverage is going below 85% on a Pull Request. I am using the below SFDX deploy command but it doesn't give me code ...
0
votes
0answers
12 views

Adding a 'Search' box/bar in an SFMC email: Not rendering the right results

I'm exploring the option of adding a search bar within a SFMC email. I've used the following script (that I can't seem to render properly here, but I'll give it a shot): First line: form action="...
-1
votes
0answers
19 views

Is there any way to identify if user/sales rep has use inspect functionality in salesforce in browser

I have a requirement where i need to check on any page if user has open a inspect browser functionality. Is there any way we can identify on which salesforce Page(like listview/detailPage etc) if user ...
0
votes
1answer
45 views

Trying to render a field when if:false is valid, not working how I expect

I am trying to render not here when activity.name is not present. This would happen if a student doesn't have extraActivites in their JSON payload. In the picture below and in my provided code you can ...
0
votes
1answer
25 views

Formula field with ISPICKVAL

I am trying to create a formula field. How do you combine ISPICKVAL from 2 different fields? Here is what I am trying and getting errors: IF(ISPICKVAL(Business_Line__c,"A"), "100", ...
0
votes
0answers
11 views

How to handle unsaved changes for lightning:tabset navigation?

problem: I am trying to warn the user of unsaved changes when they click on a lightning:tab within my custom application. core asks: Can I use unsavedChanges with lightning:tabset interactions? Is ...
0
votes
0answers
22 views

How to open custom lightning record edit form in a new window

I have a lwc custom record edit form and I would like the form to open in a new window when a button is click. JS import { LightningElement, wire, track, api } from 'lwc'; import getPolicies from '@...
-1
votes
0answers
13 views

How do I get list of attachments and download them from an opportunity through API

I have an opportunity record that has 2 attachments and a note: I am trying to get a list of attachments, so i can get Ids to download them $qry = "SELECT+Id,Body,Name,ParentId+FROM+Attachment+...
0
votes
1answer
12 views

Flow Formula with a Picklist Field

I am building a Flow that creates a new Opportunity if an Opportunity is Closed Won and meets a certain criteria based on a custom Picklist field called Coupon Type Used(Coupon_Type__c). The Picklist ...
0
votes
1answer
20 views

Two workflow rules with different formulas firing for one scenario

I have two workflow email alerts when a case is created from an email (email-to-case). Workflow rule 1: CONTAINS("qa.cancelholidays@gmail.com", Source:EmailMessage.ToAddress) Workflow rule ...

15 30 50 per page
1
2 3 4 5
2402