All Questions
123,715
questions
0
votes
0
answers
26
views
When i upload a new attachment and save, that file is not showing up immediately. Can i use Await and Async in this context?
I am showing all the attached files in LWC component. I have a tab to upload files and one tab to show attached files. First the first time if i upload a file and see the attachments list, the new ...
0
votes
0
answers
20
views
How to add custom code(LC) inside custom tab in community portal?
I have created a custom tab. I would like to show records when user clicks on tab. For records showing I have created custom code. How can I link/add my custom code to the custom tab? So that whenever ...
0
votes
0
answers
30
views
Gather email feedback in a Data extension [closed]
we are trying to build a logic where at the end of each email, there is a HTML block with either a thumbs up or a thumbs down icon to measure email sentiment. Each thumb will need to lead to a cloud ...
0
votes
0
answers
26
views
How is it possible that queueable apex jobs run for multiple hours and can not be aborted
Last week we had an issue with a queueable jobs which ran for more than 8 hours and thereby locking many records during this period. We were not able to abort this job and were obliged to sit it out.
...
0
votes
1
answer
18
views
How to get geolocation using getRecord to show the mapMarkers?
pokemonLocation.html
<template>
<lightning-card title={cardTitle}>
<lightning-map map-markers={mapMarkers} > </lightning-map>
</lightning-card>
</...
0
votes
0
answers
17
views
Journey History status - Failed
In my journey I can see around 500 subscriber not received the email when I debug in the journey history I can see all this contacts status marked as failed and activity is Other.
May I know what is ...
-1
votes
1
answer
24
views
What is messaging.singleemailmessage in Salesforce? [closed]
I am currently learning triggers in salesforce. What is singlemailmessage in salesforce ?
0
votes
0
answers
21
views
Sending Email from Guest User Profile- Email No Receiving Email
I have created an LWC with a form by collecting the basic info, Then i will be sending the info to the email service.
Below is the code
string emailAddress = GetEmailServiceAddressUtility....
1
vote
0
answers
27
views
Including cache partition in managed package
I'm trying to include a cache partition in a managed package with "Provider Free" space allocated. In my packaging org I created a cache partition with a "Provider Free" value of &...
0
votes
0
answers
16
views
Interaction Studio - Can you check user attribute from Sitemap?
first time poster.
I am working on an Interaction Studio implementation, and I'm wondering if it's possible to read a user attribute from the sitemap using a means afforded by the normal sitemap ...
0
votes
1
answer
36
views
Salesforce classic homepage branding
We are adding brand logo and header background colour to classic applications. I am able to do it for console applications. The issue is on the default homepage as it just shows the brand logo but not ...
0
votes
1
answer
77
views
how to use SSJS to extract all distinct values (may require looping) and push it to sql query in marketing cloud?
I am new to SSJS and have not used it yet.
I have a use case where I need to extract JobID and Data Extention Name from SendLog Data Extension.
I use JobID and DE_Name in SQL query but right now I ...
2
votes
1
answer
66
views
Is there a way to test a SOQL query would retrieve a specific sObject without running a query
EDIT: on further research what I want is the Apex equivalent of Collection Filters I have looked at Query Utils but other than the complexity there seems to be lots of "DON'T USE THIS UNDER RISK ...
0
votes
0
answers
26
views
Unable to fetch specific part of Apexlog using tooling API [closed]
public with sharing class FetchApex {
@AuraEnabled
public static void logs(){
ApexLog al = [SELECT FIELDS(all) FROM ApexLog WHERE LogUser.Name = 'Username' LIMIT 1];
String ...
0
votes
0
answers
16
views
Subscriptions not updating when amendment opportunity is closed won
We are using Salesforce CPQ. We have created an amendment opportunity with some changes in original quote lines. However, on closed won this opportunity, order is generated but subscription on ...
1
vote
0
answers
22
views
Trying to convert Apex to be used in an Aura Component Form
I am new to Aura Components, and I'm having a hard time trying to move them over from using Visualforce Pages and Apex. I am getting the following error:
Non static method cannot be referenced from ...
-2
votes
0
answers
16
views
System.DmlException: Update failed. First exception on row 0 with id 0Ki3t000000H1pWCAS; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross
I am trying to update the owner field of SurveyInvitaion records owned by a particular user, but I am getting the following error.
System.DmlException: Update failed. First exception on row 0 with id ...
0
votes
1
answer
32
views
Validation rule for specific record types, picklist value and specific users
The criteria I need to meet are:
Those with a profile name/role containing 'CS' or 'SS' should only be able to change the status to confirmed in a payment record when record type is 1. Example A, 2. ...
1
vote
1
answer
24
views
How do you organize your org metadata? - unmanaged packages, custom folder structure in SFDX....?
I've been considering ways to organize my company's SF metadata, with the goal of grouping together metadata that are specific to particular processes, while leaving out shared metadata.
SF has made ...
0
votes
1
answer
26
views
Web-to-lead issue with phone number validation rule
I'm running into an issue with a validation rule. I'm not a developer, but I'm determined to figure this out. Here's what I know so far.
A web-to-lead form is getting an error when posting a lead due ...
0
votes
1
answer
23
views
Can I use / integrate Einstein chat bot in sales cloud
I need to create a chatbot feature in sales cloud. Can I use Einstein chat bot in sales cloud. I know that I might need a service cloud license to create a chatbot but I wanted to know whether I can ...
0
votes
0
answers
15
views
Migration VF with static resource to lightning component
I'm trying to migrate a visualforce page that loads scripts from static resources to a lightning component but getting a "could not find element 'app' to attach" error
VF code:
<apex:page ...
0
votes
0
answers
22
views
Play video in SFMC email directly [closed]
I have a requirement where in video needs to be added in the SFMC email.
Customer can directly play the video within the email instead of redirecting to a video link or a page containing the video.
I ...
-1
votes
0
answers
24
views
Survey TEmplates
How can we call Survey Templates in Flows ???
I have created a survey Template in Survey Object and created a Flow in flowBuilder and tried to call the Survey Template in flows it is not working.
2
votes
1
answer
37
views
Test Class Out of Bounds Exception
This is the first time I have messed with test classes, so there may be something I am simply overlooking. However, I am trying to test a simple class but am only getting an out of bounds exception as ...
0
votes
1
answer
27
views
What directories does a sfdx force:package:version:create include?
I've typically worked where there is only one root directory in an SFDX project (force-app). So I've imagined that the packageDirectories in sfdx-project.json act as the source/sources of the files ...
0
votes
1
answer
27
views
Run Test Suite from Apex
I have a test suite which contains all test classes.
I want to run the test suite from Anonymous Window so at the end of suite run completion I can create custom object records to track the coverage. ...
0
votes
0
answers
28
views
The Record type can't be changed
I am trying to change the owner of an Account Record, but I get an error message 'the record type can't be changed. I tried with making the validation rules as inactive but still getting the error. ...
0
votes
1
answer
31
views
Formula field that returns specified valued based on related field
I'm trying to create a formula field on opportunity that returns the value 'engaged' if the opportunity owner = SDR or AE and the opportunity CreatedDate was less than 4 months ago, but if the ...
0
votes
0
answers
22
views
Contact Deletion - How to prevent contacts from reentering a Journey?
I intent to delete a number of contacts from "All Contacts" list. At the same time, I have Journeys, which had contacts injected more than 6 months in the past and I would like to prevent ...
0
votes
1
answer
16
views
Aura Lightning Components - waiting for event or cmp.find('editForm').submit() to finish
I need to clone an item that contains lightning:recordEditForm before the user clicks submit and values are saved. The problem is that before my cloning I need to force recordEditForm to save. I ...
0
votes
0
answers
21
views
Using lightning carousel on record page: use custom image field in src
I am making a lightning record page for the account object. I have made a custom field in that object named Image__c with a correlating field named Image_URL__c . I would like this image to appear in ...
0
votes
0
answers
20
views
How can my partner users see all the files on the custom object records they have access to?
Partner users had access to view all attachments/files related to records (custom object) they had accces to in Classic. Once we migrated to lightning and added the Files and Notes related list (we ...
0
votes
0
answers
13
views
dlrs_CommSubscriptionConsentTrigger: execution of AfterInsert
I got this error after installing the DLRS open source app to make a roll up summary from a lookup relationship... I'm trying to create a consentement for a specific contact and when saving, I got ...
0
votes
1
answer
26
views
how do I change what fields are available when hovering over the Account Name/ lookup field on another record (Case) in SFDC?
Users would like different fields visible when hovering over the Account Name, which is a lookup field to the Account record, on a Case.
I tried editing the Account Compact layout but that didn't ...
0
votes
0
answers
27
views
Can't assign Permission Set License Assignments to a User
I have a User who had a specific FSL Permission Set License assigned. For testing, I deleted this FSL Permission Set License in User edit page and now, I want to revert changes and re-assign the ...
0
votes
0
answers
38
views
how create steps progress bar in lwc as per following image [closed]
HTML
i want simmilar pic type step 4 are connected in child1 and child2 as per pic and then connected step 5 like
<template>
<div class="slds-progress slds-progress_vertical">...
0
votes
0
answers
87
views
+50
Parse blob in apex
We have a @RestResource apex class using which we are receiving the JSON data from application which resides outside of salesforce through REST API. We parse this data to get the jobId from it and ...
0
votes
0
answers
24
views
Hi, Can anyone help me write test class for the following class [duplicate]
@RestResource(urlMapping='/InstallationWebService/*')
global without sharing class Wx_InstallationWebService {
@HttpPatch
global static void updateContactGUID() {
RestRequest ...
0
votes
0
answers
25
views
Lock an approval process for a particular profiles users and system admin
I have created an approval process and provided field update such that each time I submit a record for approval,the pick list value changes to 'Approval Pending'. On continuation to this, I have added ...
1
vote
0
answers
18
views
Packaging org removes Namespace prefix from element references of packaged Flows
We're developing a 1st generation managed package that includes Flows triggered by a Custom Object insertion.
Previously we've been using Ant Migration Tool to deploy/retrieve metadata to our ...
-1
votes
0
answers
21
views
Cannot find apex-defined data type class in flow
I am having an issue. I need to use the any data type in my apex class to use in my salesforce flow.
However with the following code, I cannot find the apex class in the flow builder when creating the ...
0
votes
1
answer
26
views
Create custom object using Partner wsdl which has a parent ID (SOAP API)
When creating a new record using the partner wsdl SOAP API how do I add the parent id to the generic sObject.
We have a parent record of Account__c and child records of Store_Visit__c
My attempted ...
0
votes
0
answers
22
views
Error when trying to activate a user [Permission Set License limit]
I'm trying to activate a User and I'm getting this error:
All Field Service Dispatcher permission set licenses are in use. For more licenses, contact your salesforce.com representative.
I tried:
-Go ...
0
votes
1
answer
19
views
Don't see apex data
I have such code:
JS
@track messageBody;
@wire(getDataFromController)
emailTemplate ({ error, data }) {
if (data) {
this.messageBody = data[0].Body; //EmailTemplate ...
0
votes
1
answer
27
views
How can I deploy my flexi-page via change sets?
I created a flexi page. How can I deploy this to Production via change sets?
What should I add to change sets? I can't see any "Flexi page" component in "Component Type"
-1
votes
0
answers
14
views
Is it possible to add hyperlink in VF email templated which can redirect to lightning aura component page [closed]
On approval process when an email is triggered to approval they have an hyperlink to approve or Reject which redirects them to lightning page of that record but instead of that I want to add a link ...
4
votes
2
answers
46
views
Any way to list the contents of a 2GP (second generation package)?
I have an obscure error when installing a 2GP beta package about a component I don't expect to be the in the package.
Is there a way to list the contents of a package given just a package version Id ...
0
votes
0
answers
17
views
Unable to begin Security Review
I have a lightning App which I have scanned using the Checkmarx app, along with a scan with ZAP. However, when I go to the security review tab, the Start Review button is greyed out and the Update ...
0
votes
0
answers
31
views
Enabling global search for all profiles
I am able to search Inquiry_vod__c object records in global search as admin but when logged in with any other user account, I am not able to search that object's record. Can somebody help?
Allow ...