All Questions
129,545
questions
0
votes
2
answers
58
views
Regex not working in class but works in execute anonymous
You can get some context here on my previous post.
When I run the below code on execute anonymous, it renders the following result:
String txt = 'Requesting service for Id Number 9202204720082, Case C ...
5
votes
2
answers
2k
views
How are percentage fields evaluated in process builder?
I'm having trouble figuring out how percent fields, specifically formula percent fields, are evaluated in criteria for process builder. We have a basic process using the "Conditions are met" criteria....
0
votes
0
answers
33
views
Error parsing file
I am having difficulties deploying reports and dashboards from dev org to another dev org.
After retrieving the metadata ( report folder , dashboard folder, reports and dashboards) i want to deploy by ...
0
votes
1
answer
701
views
Dependent Picklist issues
Background
I have one controlling field Opportunity Stage. I have two custom picklist fields. I placed the custom fields within the Opportunity Path under the stages.
If the Opportunity Stage = '...
0
votes
2
answers
391
views
Regular expression not working with Apex class while working in JS
I have a regular expression: \d+|[a-z]+. What this does is, if you have 81a, it splits into 81 and a. I have tested it on Regex101 and it works fine. I use it in my JavaScript code using match and ...
1
vote
2
answers
1k
views
Populate a field with values that were selected in a multi-select picklist
Our org has a multi select pick list that we use to select different business . after the business have been selected, we write down a comment for each business selected. User have been complaining ...
0
votes
1
answer
760
views
How to implement Accordion Feature in Lightning-datatable LWC
I have a requirement to show as Accordion type for one of the column so that the list can show more data at once when the modal window appears with the list.
Sample JSON
eventData = [
{
...
0
votes
2
answers
2k
views
How to display toast/alert with in the component
I have a aura component with in the opportunity detail page and i'm trying to display toast/ alert message with in the component.Is there any way to display toast/alert message with in the component ...
0
votes
1
answer
934
views
Wave Einstein Analytics filter relative dates in dataflow with filter node
I need to filter opportunities in my dataflow that have a date 'last month' to 'end of current year'. I cannot use filters in the sfdcDigest node as I am doing a couple of calculations later that need ...
1
vote
1
answer
716
views
Access Approval Step comments from trigger
I have a custom object that has approval process on it. When I'm submitting something for approval I provide some comments, and when I'm approving/rejecting, I'm also providing some comments. I wanted ...
0
votes
1
answer
817
views
How to update "Assigned To" field on Knowledge Article Version with Apex?
If I use standard button on Knowledge Article Version (KAV) called Assign (api name: AssignKnowledgeArticleVersion), it successfully updates the Assigned To (AssignedToId) field, however, I can't seem ...
3
votes
1
answer
1k
views
Send Relationship Error when creating sendable data extension with SubscriberID
I'm trying to create a sendable data extension, but keep getting the following error: "Error: Subscriber ID must be related to a field with a Number Data Type."
The steps I take when creating the ...
0
votes
1
answer
42
views
Unable to install lwc-dev-server / run sfdx force:lightning:lwc:start
I am trying to run LWC in local. I was able to install with errors
C:\WINDOWS\system32>sfdx plugins:install @salesforce/lwc-dev-server
Polling for new version(s) to become available on npm... done
...
-2
votes
0
answers
59
views
I have a very simple LWC component with a button that calls an Apex method . Unfortunately, I'm not able to reach to Apex class
HTML
<template>
<lightning-button variant="brand" label="Send Email" onclick={sendEmail}></lightning-button>
</template>
Javascript
import { ...
5
votes
1
answer
2k
views
How to save large files in Salesforce with synchronous Apex?
I've created a Visualforce page that allows users to drag and drop files and have them uploaded to Salesforce and then displayed in a list immediately. To do so, my VF page sends the file in chunks ...
0
votes
1
answer
2k
views
Validation Rule - ISBLANK() not working as expected
On the Lead object, I am trying to validate that my custom "Zip_Code__c" field and the standard "Email" field contain a value in this validation rule, but despite the validation rule being active, it'...
2
votes
4
answers
2k
views
on trailhead facing issue Error: Faraday::ClientError. Message
On this trailhead ( https://trailhead.salesforce.com/content/learn/projects/quickstart-lightning-components/quickstart-lightning-components3 ). when i click on the verify button it's throwing error
...
0
votes
0
answers
19
views
Email change for salesforce
I am currently working in Tech mahindra company,
i have done certifications with techmahindra email id ony,i have 3 certifications in active state,my trailblazer and webassessor are also on ...
0
votes
1
answer
1k
views
Transfer Account Owner, Keep Account Team
I want to retain the Account Team whenever the OwnerId changes, as per this post.
After we make the checkbox named "Keep Account Team" to be true, we can change the ownership of accounts while ...
0
votes
1
answer
823
views
LWC: Show content in full page width without headers
I want to show my Lightning web component in full page width and height, means, removing the entire header above my LWC. Is that even possible? I saw solutions with Visualforce but i need to implement ...
0
votes
0
answers
35
views
GraphQL rate limit?
can anyone help me understand GraphQL rate limit how i can check in my org
not able to understand below limit.
https://developer.salesforce.com/docs/platform/graphql/guide/rate-limit.html
0
votes
1
answer
1k
views
My Delegated Tasks view not showing data for all
In our org, one user is not able to see the tasks under "My Delegated Tasks" list. Other users with same profile and having same permission sets are able to their delegated tasks. The delegated tasks ...
0
votes
1
answer
1k
views
Set style of component.find(element)'s parent
This is in continuation of the question here
I have included a select all checkbox in the header that sets the value of the checkboxes in the table. I am trying to highlight the selected rows. It ...
0
votes
1
answer
761
views
Undefined field CloseDate in Report custom summary formula
Hi I am very new to Salesforce. I'm trying to write a custom formula, stated below.
IF(FISCAL_YEAR:MAX=2015,
CASE(MONTH ( CloseDate ),
1,20000,
2,21000,
3,22000,
4,23000,
5,24000,
6,25000,
7,26000,
8,...
0
votes
1
answer
675
views
Marketing Cloud: AMPscript redirect not working
When trying to use 'redirect', my 'starting' page will no longer load (returning the 500 error). Not sure what I'm doing wrong here. FYI: If I remove the redirect code, the page loads just fine. ...
0
votes
1
answer
1k
views
Unable to open Visualforce page from LWC on Salesforce1, it redirects to web page and asks for password. Works well in IOS issue in Android
I am trying to open a Visualforce Page in Mobile device on a button click from LWC. I am using function
navigateToVFPage() {
this[NavigationMixin.GenerateUrl]({
type: '...
0
votes
2
answers
2k
views
How to use Custom Labels in Custom Button or Link
I'm new to salesforce,
Is there any way to use a Custom Label in URL
https://developer--uat.lightning.force.com/lightning/r/Report/00O0w000000ZLryEAG/view?fv0={!Service_Provider__c.Name}
Instead of ...
-1
votes
1
answer
43
views
Roll-Up Sum field - extend criteria
I have a monthly amount roll-up sum field on my opportunity. The child objects are the opportunity products.
Is there a way to exclude one specific product from this lookup?
BR Alex
Edit: So the pic ...
0
votes
1
answer
1k
views
Provide permission to Event object to Site Guest User
I want to give Create Permission for Activity-Event to site guest user. Is this possible in Salesforce?
I am not being able to add permission to the Guest User profile or Assign a permission set.
0
votes
1
answer
911
views
Email Notification needs to be sent to internal team after every form submission
I have a landing page built in cloud page in SMFC with the smart capture form. The form is submitting the data to a DE table just fine.
Currently right now I am exporting this data manually to sftp ...
3
votes
2
answers
1k
views
Merge duplicate Contacts across different Accounts does not create AccountContactRelation
In cleaning up our database and using the new AccountContactRelation to allow a Contact to link to multiple Accounts, I need to merge all the duplicated Contacts into one Contact with ...
1
vote
2
answers
789
views
Text Formula - need to remove ".00" from result
Here is the formula I am using:
"$" & IF(
Lease_PB_Total_Price__c >= 1000000,
TEXT(FLOOR( Lease_PB_Total_Price__c / 1000000)) & ",",
"") &
IF(
Lease_PB_Total_Price__c >...
2
votes
1
answer
802
views
REST API - Using External ID field for traversing relationships
I've got an object CustomTable__c which has a lookup relationship Account__r to the Account object, and an External ID field ExternalId__c.
I'm trying to use the API to get the Account record, given ...
1
vote
1
answer
261
views
Unable to display Platform Event Data with LWC HTML
I am running into an issue where I can not display platform event data in my LWC HTML. I am able to store the data in a variable and able to display it to the console.
Javascript
import { ...
0
votes
1
answer
1k
views
Birthday Journey with Sql query in Automation
I have created a Journey with Automation for birthday.
I have a data extension with birthday field, using which I have created an automation to include only the customer's having birthday's on the ...
3
votes
1
answer
3k
views
Case Status new picklist value deployment error through metadata api
We are trying to deploy some new picklist values on the Case object, on the standard Status field. One of them is the value "On-Hold" included on a new Support process, called "Support" which we are ...
1
vote
2
answers
5k
views
Data Loader Won't Open
I have followed the instructions given for downloading Data Loader to a T. Every time I tried to open Data Loader after installation, it would just say I don't have zulu installed and then just close.....
1
vote
2
answers
763
views
LWC Dual list box setting the value getting Uncaught (in promise) TypeError: this.value.forEach is not a function
Trying to set dual list box value getting below error **Uncaught (in promise) TypeError: this.value.forEach is not a function at ie.get computedSelectedList [as computedSelectedList]**
HTML
<div ...
1
vote
1
answer
679
views
Difference between Salesforce Connect and Heroku Connect
Can someone explain the difference between Salesforce Connect and Heroku Connect.
In the below image why they have to use both Salesforce connect and Heroku Connect. Cant they just use Heroku connect ...
0
votes
0
answers
29
views
How to set header height in visual-force pdf and issue in content over laying in pdf
My issue is table content overlap in second page
please guide me to increase header height
==========================
My issue is table content overlap in second page
please guide me to increase ...
0
votes
1
answer
1k
views
How to remove or hide the BCC option in the SendEmail page layout?
Requirement is to remove or hide the BCC option in the SendEmail (From) page layout. We don't want to allow users to click on the BCC option when sending an email from Salesforce.com. There is a ...
-3
votes
0
answers
19
views
How to import parent child data in npsp salesforce
Someone can help us with data importing? Actually, we have parent & child data as contacts & we want to create Parent Household Account & multiple child records should be added to this ...
2
votes
1
answer
690
views
Issue with creating Sharing rule using Spring'15 Metadata API version 33.0
Has anyone tried creating Sharing rule using Spring'15 Metadata API version 33.0?
I want to create an owner based sharing rule using metadata and below is the code snippet method which is calling "...
0
votes
2
answers
960
views
LWR Theme Header and Footer with slots
I have recently made a new LWR site and want the header and the footer to be fully custom. I am quite new to Salesforce and the documentation on Custom Theme Layouts is very vague.
^^^ In the image ...
2
votes
0
answers
37
views
sObject type 'CronTrigger' is not supported in PostInstallScript
In my PostInstallScript I want to delete a Cron job but I got this error :
The pull upgrade of your package failed. Here are the details:
Error Message: common.apex.runtime.impl.ExecutionException: ...
1
vote
1
answer
1k
views
Invalid Credentials. Error authenticating with auth code. Reason: Unable to get local issuer certificate. When authorizing through VS code
I have been using VS Code and Salesforce since a year in my company laptop.
I am trying to authorize VS code with my sandbox.
Process I followed:
VS Code> Sfdx auth org shortcut
Also tried sfdx ...
0
votes
0
answers
25
views
Google analytics, How to replace GTag Id at GTM Id in javascript
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),...
0
votes
1
answer
24
views
HttpCalloutMock is not working. Methods defined as TestMethod do not support Web service callouts
My Mock class is not being called in the test class. So it is throwing 'Methods defined as TestMethod do not support Web service callouts' error.
PremCalloutServiceTest - This is the test class
@...
1
vote
1
answer
849
views
Problem with lookup field mapping while building my own SOAP envelope in SAP PI as part of integrating Salesforce and Oracle through SAP PI
We are integrating Salesforce and Oracle through SAP PI and as part of this, daily records from Oracle will be fetched by SAP PI and will be upserted to Salesforce. The standard salesforce SOAP API is ...
0
votes
1
answer
887
views
Does Salesforce Marketing cloud support .gz compressed files
I have just been asked if .gz can be unzipped in marketing Cloud?
I can't find a list of supported compressed files in the help docs