All Questions
132,677
questions
0
votes
0
answers
14
views
LWC component when placed [object object ] is visible
I have an issue regarding LWC component when placed [object object ] is visible. I'm attaching all my files here. Please help me in resolving the issue.
my js class
import { LightningElement,wire,api }...
0
votes
0
answers
10
views
Recipe dataset error
I trying to run my recipe, but error has occured.
I want to know why these error happened and where can i check error category of dataset.
In this case, I should delete the field (scouts_lat....
0
votes
1
answer
26
views
How can I send a single email if found multiple records with same email address
I have a data extension like below. Now when sending emails to the list it sends multiple emails to a single subscriber based on the record. I need to do two things -
Send a single email if there ...
0
votes
0
answers
20
views
Community site Lightning Web Runtime framework trying to render datasource value in HTML
Trying to renders a field as a picklist, with static values in the Community Page LWC, it shows as Undefined in JS when I try to print the value.
Below is the code, Can you please help me with what I ...
0
votes
1
answer
14
views
LWC - How to set current time when having date already? (Converting Date to DateTime)
I need to convert a Date to DateTime and display the value in LWC. I would like to calculate this on LWC's side not Apex.
I already got the logic and calculated for Date. Now I want to append the time ...
-1
votes
0
answers
15
views
Marketing Cloud - How All Contacts Populated
I am trying to figure out how the All Contacts populated in Marketing Cloud.
Contact Builder --> "All Contacts" --> Customers (50,000) This shows 50k as Customers
But when I click &...
0
votes
0
answers
13
views
Why would %%emailname_%% generate random characters instead of picking up email name in a tracking pixel?
We are using %%emailname_%% in a tracking pixel which picks up the email name, but we have noticed random characters being generated as well in tracking reports. Example:
"xjkljakldsjfaksldjf==&...
0
votes
0
answers
30
views
How to insert REGEX line breaks in Validation Rule
The Validation Rule listed below is supposed to fire if the below criteria is not met:
For Sales Orders, enter between 6-8 digits
OR
For Delivery IDs, enter 10 digits.
Users may enter multiple values ...
-1
votes
0
answers
18
views
Mail not sent to contact in journey in SFMC
For a subscriber in our marketing cloud org, email is not being sent even after it has successfully entered the journey. Subscriber is not in unsubscribed or held status. Subscriber does not belong to ...
-1
votes
0
answers
25
views
"Unable to access page" error while trying to make user inactive
I have created a flow where when the user status goes to "inactive" the contacts who the user oversees is assigned over to another user who we will call "John Doe". When I am ...
1
vote
0
answers
18
views
How to use SLDS Styles with LWC embedded in Visualforce
I am embedding a custom LWC in a Visualforce page, as described in Use Components in Visualforce Pages in the LWC Docs. It is working fine, except some styling is wrong/missing. For example, my LWC ...
-2
votes
0
answers
29
views
Get a list of all sObjects that stores a specific ID
I am currently searching a way to get all sObjects that are using a specific Id or reference different sObjects.
An example of what I am looking for:
Select sObject.Name where 'Id' in sObject.Field
...
0
votes
2
answers
36
views
AMPscript if/then/else & variables
I have some basic AMPscript pulling content in based on value of the @AccountBalance attribute in my DE:
%%[IF @AccountBalance >= '2000' THEN]%%
HTML
%%[ELSE THEN]%%
HTML
I wasn't getting the ...
0
votes
0
answers
18
views
pass parameters from a smart capture to another landing page
i am modifying a SmartCapture to send captured parameters to another landing page but they do not travel through the url. it redirects fine to the other landing but the parameter is not sent, this is ...
1
vote
1
answer
60
views
Which context do Record-Triggered Flows run in?
According to the table in the middle of this Salesforce documentation, record-triggered Flows run in system-context. At the bottom of this unofficial sf documentation, it says record-triggered Flows ...
0
votes
1
answer
44
views
Database.Stateful Batch APEX and static variable in Test Class
I am still struggling with one thing: my test class has a static variable (boolean). It is set to false; It also has a SimpleFinishAction instance (which is an instance of a finishAction interface ...
0
votes
0
answers
15
views
sendEmail from Transaction Security Policy
I am working on transaction security policy that handles android device version logins using Apex (AndroidLoginEvent.cls)
This class verifies the users device meets criteria for login and if not, will ...
0
votes
1
answer
40
views
How to call a method that makes DML and after that another method to get data and cache it
I have a LWC component, I want to get data of page-layout assigned to user's profile and the fields in the layout. For custom profiles they won't have 'View setup' permission which is needed to get ...
1
vote
1
answer
27
views
http call out to an external REST webservice
Simple use case -
make a http call out to an external REST webservice. Parse the JSON response.
I know I could do this using Flow, but due to the business requirement have opted for Apex Class.
Can ...
1
vote
0
answers
32
views
How to properly write custom header formula in External Credential?
I need to make callout to the Hotel Beds api. For an authentication headers I used External Credentials custom headers.
But it is not properly creates headers(I guess).
Hotel Beds requires following:
...
1
vote
1
answer
41
views
How to storage data in Apex Controller for server side caching?
Let's say I have the following method getMyString() in my Apex Controller.
I would like to refresh this SOQL query once in 30 minutes. Would it be possible to store the data in a 'local storage' type ...
-1
votes
0
answers
19
views
Create conditional style formatting similar to reports on LWC
I currently have a Lightning web component with with displays the a parent object called 'Rebate'.
Within this component I have am displaying the related children records called 'Rebate Lines'
...
0
votes
0
answers
19
views
Engagement Split after a Line message activity
me and my team were wondering if the Engagement Split activity in Journey builder could track also LINE message opens into a journey.
We could not find this information anywhere, has anyone ever came ...
-1
votes
0
answers
13
views
Exclusion script for the next day in journey email sends
I have email-1 sent out on 12/12/2023 and go live live date also same. If the user opt-in 13/12/2023 means he will not receive email_1 directly he will receive email_2. Can you please help on that.
...
1
vote
1
answer
48
views
Custom LWC for E-Signature via SSO
I have received a requirement to build a custom LWC used for verifying the users identity which is then embedded in a flow. In case the user can verify his or her identity the flow proceeds.
Now I ...
0
votes
0
answers
17
views
Background Task 172 ("MarketingCloudSDKIntelligence"), was created over 30 seconds ago - Remember to call UIApplication.endBackgroundTask(_:)
Can you advice how to solve this issue that is appearing in console when iOS app is put in the background?
Background Task 172 ("MarketingCloudSDKIntelligence"), was created over 30 seconds ...
0
votes
0
answers
18
views
ChartJS 4.X.X Integration in LWC
I'm trying to integrate chart.js version 4 or upper into a lwc but I'm not able to do it.
I did it with previous versions until 2.9.X that were distributed as a zip with just a .js and a .css file. ...
0
votes
2
answers
30
views
When do I promote a 2G managed package?
When should we ideally promote a 2G managed package? We are planning to give the package to UAT and realized in order to install a new version of the package, we will have to uninstall the previous ...
0
votes
0
answers
20
views
LWC test async call from button click
I have a custom lightning web component that I want to pass tests but I'm not being able to accomplish with an async call fired from a button click.
html
<lightning-button label="Validate"...
3
votes
0
answers
33
views
Automated Process User and AccessLevel.UserMode - Should It Lose Access?
Has anyone tried using the new user-level access DML operations with the automated process user, say in a platform event trigger?
It seems as though calling Database.insert(records, AccessLevel....
0
votes
1
answer
37
views
updating from sfdx-cli to sf
I've set up actions that run on deployments in git. These scripts use the sfdx commands to deploy and various other functions. Now I want to move them from sfdx and to the new sf cli. Is there a ...
2
votes
1
answer
72
views
Is it possible to split up the LightningElement class into multiple files in LWC?
Description
Let's say I have a class that extends LightningElement of ~450 lines of code. Now I want to split up the class into multiple files to manage the code.
I do have some helper functions that ...
-1
votes
2
answers
38
views
LWC deploy fails without errors
I'm getting a test coverage warning, but not an error. Is the warning the reason why the deploy fails on production? Worked in the sandbox.
sf project deploy start -o [email protected]
Deploying v59.0 ...
0
votes
0
answers
19
views
SOSL Returning incorrect result
We have one Unit Object and it has Description Text Field 255 char.
Unit Object has 50 records with '48" Test Description' As a value in description__c field.
Now We have SOSL Query as below,
...
0
votes
0
answers
14
views
Accessing feed item object for customer commuity users
I'm using the feed item object in my community lwr site but my customer profile has no access for that object how can i manage to give permissions to create and view posts. But i couldn't find the ...
0
votes
0
answers
16
views
How to refresh token and set Apex class PostCopy via sf cli
I'm following this document to trigger refresh sandbox, also want to set Apex class in post copy
sf data update record --json --use-tooling-api --target-org $targetOrgAlias \
--sobject ...
-1
votes
0
answers
25
views
Customize signature capture message Field service mobile app
In the field service mobile app, when the technician capture the customer signature, the confirmation message says "All signatures collected" even one signature captures. My customer wants ...
-1
votes
0
answers
44
views
How to get a new access token after Expiring current access token in salesforce React-Native?
I am developing a hybrid app using Salesforce react-native. When the access token expires I must handle the re-login process. I want to get a new access token after it expires the current access token ...
2
votes
0
answers
27
views
How does the 'Where is this used' button/functionality work behind the scenes?
I was recently working on a similar functionality as 'Where is this used' and used the MetadataComponentDependency.
The Salesforce standard feature does not show us fields referenced if the code is ...
2
votes
1
answer
41
views
SOQL : View details of CronTrigger.CronJobDetail.Name
I am trying to run this query to get the details of the Apex class for scheduled jobs.
SELECT ApexClassId,Id,JobItemsProcessed,JobType,Status,NumberOfErrors,MethodName,CronTrigger.CronJobDetail.Name ...
-1
votes
1
answer
34
views
Upload Metadata into Salesforce from GitHub
There is a GitHub repository with metadata such as tabs, custom objects with fields, apps, etc.
What is the best approach to upload that metadata from GitHub into the SF Sandbox org?
Thank you in ...
2
votes
0
answers
25
views
Integration User license: restrict access to specific fields on a standard object [duplicate]
I would like to give an API user^ the least necessary permissions to interact with (particularly edit) objects. Ideally, I would enable only the fields they need to be able to edit.
First I tried ...
0
votes
0
answers
39
views
Understanding the access path from ApiEvent
Hello Salesforce Community,
I am facing a challenge in correlating ApiEvent records with OAuthToken, particularly for connected apps that haven't been installed in our Salesforce org. While I can see ...
0
votes
1
answer
23
views
Restoring Contract Records with Activated Status
Looking at the market for Backup & Restore tools got me thinking about a limitation that we all face when working with Contract records, cannot insert records with a Status of Activated.
https://...
0
votes
0
answers
49
views
Journey Builder vs. Normal Send - Synchronized DE
I just setup Marketing Cloud Connect and am querying data from a parent account to a child BU using shared data extensions/query activities. In this instance, I am also pulling in newsletter ...
-1
votes
1
answer
25
views
Auto redirecting to Salesforce Classic Home page
I have a Lightning App Page and I placing the LWC component in that page. As soon as I click on F12 to debug the LWC component, after few seconds the browser is redirecting automatically to salesforce ...
-1
votes
0
answers
27
views
Notify Case Owner a new email has been sent to an existing Case
I am having trouble creating a flow that will notify the case owner a new email has been sent to an existing case.
I am trying to use a new email template for the automatic reply, instead of using the ...
0
votes
0
answers
23
views
Salesforce CPQ: Update the Integration User that creates Quotes, Amendments, and Renewals
We had a person leave the company and need to turndown the user. This person had established the CPQ setup. I am looking to update the user to a dedicated integration user so that quotes, amendments, ...
0
votes
0
answers
23
views
While writing an LWC component the HTML rows are getting repeated and the data does not bind
Apex component is returning a JSON
[
{
"role": "Applicant",
"name": "John Doe",
"id": 1,
"email": "[email protected]"
...
-1
votes
0
answers
20
views
Set up Opportunity Trends Report for custom object
We've set up a default Opportunity Trends report which tracks the total value of Opps in our Sales pipeline, bucketed by stage, as of 10/1/23, 11/1/23, 12/1/23, etc.
What is the best way of setting up ...