All Questions
132,701
questions
0
votes
0
answers
4
views
Salesforce Surveys
Hi I'm new to salesforce surveys so please help. The request is to create a survey form with few questions and then send an initial email during a specific time of an year & it will be recurring ...
0
votes
0
answers
16
views
Customer Community accessing OWD: Private records not in Sharing Set with Data Raptor
I have an Experience Cloud Site with users with a Customer Community license.
We are using Vlocity Data Raptors to load data. We have records that are OWD, External: Private
However, some records we ...
-2
votes
0
answers
13
views
Reference Content Block is not showing Preview and Test View
I am currently in the process of constructing an email using MC email studio (content block templates). In Section I, I have incorporated content references that are visible in the editor but, ...
0
votes
0
answers
18
views
DevOps Promotion Failed, Response code 404 (Not Found)
I'm trying to promote a couple minor changes but I'm getting an error that I don't know what to do with. I was able to promote from my Dev Environment to Staging, but when I try to promote from ...
-1
votes
0
answers
14
views
I need to create a return query with data from the in-app message, such as opening, clicks
I need to create a return query with data such as sending, opening, delivering and clicking the in-app message. However, I was unable to find any field in the dataviews that can separate in-app from ...
0
votes
0
answers
21
views
Change for a specific recordtype and field type
I need your assistance for the below code and add the message should only work for specific recordtype and a specific field value right now its written and message is showing for all recordtype and ...
1
vote
1
answer
24
views
Flow Bulkification with respect to duplicate Update Records on the same parent record
I'm designing a flow to roll up values to a parent record, and although I've reviewed the documentation here on bulkification, there is a piece that I haven't quite figured out.
The flow will run upon ...
0
votes
1
answer
17
views
Getting List of Record Types and Looking up Values
I have a wire that gets the object information for a custom object. I was then setting a variable for record type for a specific record type. I am expanding my component where I will need to lookup ...
0
votes
0
answers
26
views
Send only a single email for multiple records with similar email address in salesforce marketing cloud [duplicate]
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. As an example as - [email protected]
is two times in the ...
-1
votes
1
answer
21
views
.SFDX folder creates subfolder 246 and many subfolders which are totally useless
I was trying to sync my salesforce project to OneDrive, and while syncing I saw .sfdx folder creating and uploading a 246 subfolder which again had 100s of subfolder containing apex files like ...
-1
votes
0
answers
15
views
Is it possible to capture the Paid Ad information of Lead from Instagram DM into Salesforce
Is it possible in Salesforce to automatically capture lead information when a direct message (DM) is received on Instagram, specifically identifying the paid advertisement on Instagram that led to the ...
0
votes
2
answers
19
views
LWC referencing error information in Apex callout failure
I'm doing a callout from my LWC js controller to an @AuraEnabled method in my Apex controller. It works successfully but I also need to handle errors. I added temporary code throw an Exception in ...
0
votes
0
answers
15
views
LWC wont save after clearing out none required custom fields (lightningStatic__Email)
Hi I'm pretty new to the salesforce platform so any help would be appreciated. I am trying to create custom email template components, but when I clear out any data from a custom field it wont save ...
0
votes
1
answer
25
views
Email Doctype in SFMC
do you know why Salesforce Marketing Cloud recommend to use HTML 4.01 Transitional as a DOCTYPE. It is implemented in their default email templates in Email Studio. However, more recommended doctype ...
-1
votes
0
answers
11
views
Datorama - How can I cross-reference third-party sales data imported into Marketing Cloud with email opens for a comprehensive campaign outcome graph?
I'm working on a marketing campaign within Salesforce Marketing Cloud, and I've successfully imported sales data from a third-party system. Now, I'm looking for a way to cross-reference this data with ...
-2
votes
0
answers
49
views
Getting Field_Integrity_Exception while updating Opportunity Stage when TransactionRole is created. TransactionRole is child object
public class OpportunityStageUpdate {
public void updateOpportunityStageFromTransactionRole(Map<Id, Transaction_Role__c> newMapTransactionRoles){
List<Id> oppIds = new List&...
0
votes
0
answers
17
views
Trigger Creation for Duplicate Email on Contact
I am trying to create a trigger on contact to prevent duplicate records based on Contact Email. It will not be inserted but a Task instead will be created that there is incoming duplicate. I am new to ...
1
vote
2
answers
49
views
JSON.deserializeUntyped Error : System.JSONException: For input string
I have a simple REST API call sent from apex class, I a trying to handle the response body with the bellow code:
String jsonPayLoad = '{"Accts":[{"Name":"ABC","Exp&...
0
votes
1
answer
27
views
What is the efficient way to programmatically fetch binary blob data for automation?
Bulk API 2.0 which is the most efficient way to fetch data in range between 2000 and 15000000, doesn't support binary (blob) data in ContentVersion VersionData and it also doesn't support Attachment ...
-1
votes
1
answer
23
views
In year ARR (Annual recurring revenue) formula
I am currently using this formula to calculate FY23 In Year ARR (Revenue expected to be earned during 2023):
IF(NOT(ISBLANK(Production_Live_Date__c)) &&
YEAR(Production_Live_Date__c) == 2024 |...
-1
votes
0
answers
19
views
Manually sharing a record with a community user shares the record with all internal users
When sharing a record with a community user manually (thru apex) - the record becomes visible to AllInternalUsers.
Is this intended? How can I circumvent this issue?
-1
votes
0
answers
32
views
Is there any way to get the SMS Opt-Outs rate in account level?
Our client want to know sms opt out rate in account level, so that based on results they can plan campaign volume/KPIs.
Let me know is there any OOB features in MC? If no, Kindly let me know feasible ...
-1
votes
0
answers
16
views
How to create a delegated tasks list view?
I need to create a standard list view by filtering only delegated tasks which is showing tasks which I have assigned to somebody. How can I create such a filter?
0
votes
1
answer
22
views
Contacts without Channel Addesses not working properly Record Count 0
I have been trying to delete Contacts from our Parent BU, which is as far I know the only BU where you can run an Automation with Data Extract "Contacts without Channel Addresses".
The ...
-1
votes
1
answer
38
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 }...
-1
votes
0
answers
14
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
2
answers
60
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
39
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
22
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
24
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
1
answer
35
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
36
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
1
answer
27
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 ...
0
votes
0
answers
37
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 are assigned over to another user, who we will call "John Doe". When I ...
1
vote
0
answers
20
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
45
views
How to find where a specific sObject(Contract) is being used. (Which other sObjects/Process use the Id reference)
I run into a scenario where I am taking code made by another consultant company, we currently do AMS support, meaning is production we are fixing.
For some reason a standard sObject 'Contract' has ...
0
votes
2
answers
39
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
23
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
92
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
52
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
18
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
43
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
35
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
35
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
44
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
24
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
21
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
14
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
52
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
20
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 ...