All Questions

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

Marketing cloud template based email

I have 4 buttons in template-based email and sending EMAIL to users thru sendable DE when the user clicks on one of the 4 options, I want to redirect and update data extension back with new value how ...
0
votes
0answers
4 views

MobilePush Exclude devices issue

Good Morning, With MobilePush the documentation clearly states that the way it determines which devices are sent the message is as follows: 1. Based on criteria that is selected go and get the ...
1
vote
0answers
7 views

Contact Process fails when converting Lead

What I'm trying to do When the Contact Email field is updated, add the Email field value to a custom field in the related Account record. How I'm trying to do it Using a Process. It is configured ...
0
votes
0answers
4 views

Error unable to Install Open CTI Demo Salesforce Lightning playground ORG

i was hoping i can get some help with "Open CTI Demo" package that i'm trying to install in a playgroup ORG and i'm getting the below error message. Also please see the attached screen shot. This app ...
0
votes
1answer
11 views

Formula Expression Error

Receiving the following error if anyone can see where the error is? Error: Incorrect number of parameters for function 'IF()'. Expected 3, received 1 IF(NOT(ISBLANK(Population__c)) && ((...
0
votes
1answer
6 views

How to limit Articles List results by category group

I have many Articles. They all belong two one of two Category Groups, which we will call Old and New. I can retrieve a paginated list of public knowledge articles like /services/data/v44.0/support/...
0
votes
0answers
3 views

UI Theme Detection: Unit test code coverage

Since Winter '16, we have had the ability to add conditional logic to our Apex controllers and Visualforce pages based on the UI theme the user is currently working with (i.e. Classic vs. Lightning ...
0
votes
0answers
7 views

Dynamic Sender Profile Emails not received properly

I have the variables(@FromEmail and @FromName) printing in my email body properly, but when I send the email it defaults back to my defaul From Email and Name. I have this code in my Sender Profile: ...
0
votes
0answers
14 views

VF Page window.open in LEX bypass popup prompt?

I have a button in Lightning that opens a visualforce page that immediately opens a third party url link. So I want to avoid using the js command of window.open on my visualforce markup on page load ...
0
votes
0answers
17 views

First Order Date - SQL Query

We are pushing through all of our past and future purchase information to a data extension and I was wondering if there is a sql query we could run to find a customers first order date a customer made....
0
votes
0answers
9 views

Solutions to Knowledge Issue

I've formatted my Solutions articles to fit the Knowledge fields and rich-text fields, downloaded and enter the correct parameter for my .property file and I keep getting an error of: The ....
0
votes
1answer
14 views

marketing cloud passing value into URL using email template from senable data extension

I am passing a value into email template button using sendable DE My values are email,firstname,contacttime (Null) href="%%=RedirectTo(CloudPagesURL(2042))=%%" target="_blank" style="color: #002f6c; ...
0
votes
0answers
8 views

Field Level Security on Email Template Not Working as Expected

I'm trying to hide specific fields in an email template for a specific profile. For this, I removed the field level access for fields I want to hide for the respective profile. After logging in as ...
0
votes
1answer
6 views

Service Console (classic) macros with Select Email Action/Apply Email Template stopped working

Given Service Console (Classic) Macros that include instructions Select Email Action | Apply Email Template All were working When Some change made Then Macros stopped working with error The ...
1
vote
1answer
8 views

How to retrieve lightning component quick action in VS code

How to retrieve lightning component quick action in VS code. When i retrieve the layout it is showing the quick action for visual force components only. Do any one know how to fix this. My package.xml ...
0
votes
0answers
11 views

Transfer Smart Capture Form to Code View in Cloud Pages

Is it possible to transfer a smart capture form that was created in content builder over to a code view marketing cloud page? I essentially want to move it to custom code, but I cannot figure out how ...
0
votes
0answers
9 views

Can I exit a journey by importing contact information into another data extension?

I started a journey from a data extension. I wonder if I can set up a path that whoever exit the journey can get automatically imported into another data extension with all the information, such as ...
0
votes
1answer
22 views

Tooling API response, how to print in log?

I’m trying to print (system.debug) the response returned from tooling API but the debug is not displaying anything. So, I was wondering if the code below is correct. HttpRequest req = new HttpRequest(...
0
votes
0answers
19 views

Upsert on PC Field

In an org with person accounts enabled, I am trying to figure out the proper way to perform an upsert. For example, I have ExternalID__PC and externalID__c on the account object. I am wanting to ...
1
vote
1answer
20 views

Validation Rule not firing after new records is created, only existing

Validation Rule is only working for existing records. When new records are created and edited the VR is not firing. Multi-Selection picklist, there are 2 choices: Project manager (default) ...
0
votes
1answer
21 views

How to use Select command in SOQL to return sysdate using a generic table or No table for from clause

For tests proposes, I need to get the current system date. On Oracle we could use: SELECT SYSDATE FROM DUAL On SQL SERVER, we can use: SELECT GETDATE() On DB2 we would use: Select current ...
0
votes
0answers
18 views

Implementation restriction: You can only perform queries of the form Id='<some_value>' in Salesforce

I am Using Salesforce SOQL query to get installed packages in an organisation. I tried the following SOQL Query https://ap15.salesforce.com/services/data/v45.0/tooling/query/?q=Select+id,...
1
vote
1answer
16 views

Error passing parameter from lightning component to flow

A controller with the below works fine: init : function (component) { var flow = component.find('flowData'); flow.startFlow('OppAssignmentProcess'); } A controller with the below ...
1
vote
1answer
21 views

SOQL: Delete Opportunities before deleting Contacts

I have about 1200 orphan Contacts (not related to any Account). I want to delete these Contacts, however they have related Opportunities. So obviously, I need to first delete these opportunities. ...
0
votes
1answer
8 views

Open child component from parent on the same page

I've made two components: Is the main component. We chose value and based on that value, must be opened 2nd component.(parent) 2nd component (child) I would like do the following (step by step): ...
0
votes
0answers
18 views

What way would you choose to create Anonymous Cases

We have a need for some cases to be created where it is imperative that the creator of the case is anonymous. I have 2 ideas: Using the SFDC UI I could put a 'Before Insert' trigger that sets the '...
1
vote
0answers
17 views

SSJS Script not Looping Through

I have some code which doesn't seem to loop through the i variable incrementally... any ideas where I'm going wrong? <script runat="server"> Platform.Load("core","1.1"); var DE1 = ...
1
vote
1answer
20 views

Ending position out of bounds: 10

I am trying to get the first 10 characters from "Patient_Name__c" field into the "Patient_Id_Help__c" field but when i run the batch class it is throwing the error as "Ending position out of bounds: ...
-2
votes
0answers
13 views

Formula Multiple If statements

Formula: The first part works fine by itself but the user has now changed their mind and i can't figure out a way to combine all three in one formula field. Any advice?
1
vote
0answers
41 views

How To Optimize Looping?

I've written a utility class that enables a Custom Metadata Type mapping for Object to Object data cloning. I'd like our Admin team to be able to add/create/adjust the Fields on either object without ...
1
vote
0answers
14 views

Can DeveloperName Be Updated via Apex Metadata API in a Custom Metadata Type?

I want to update the DeveloperName field via Apex in a Custom MetadataType. I would like to replace "VALUE1" with "VALUE2". Instead, however, it just inserts another line. Is it possible to update ...
0
votes
1answer
23 views

How to find these UserPermissions in sandbox?

I am seeing below unwanted UserPermissions in the GIT branch, and unfortunately it went to sandbox as well through CICD. I would like to remove these assigned permissions from 4 profiles as profile ...
0
votes
0answers
6 views

Mass update on the recordType of articles in lightning?

I need to change the record type of almost 700 articles in lightnning. I am trying this approach to chnage the articles to Draft: //STEP 1: draft the articles List<knowledge__kav> arts = [...
0
votes
1answer
12 views

Uncaught (in promise) TypeError: t[Yn] is not a function in LWC

My for:each loop fails with this TypeError: Uncaught (in promise) TypeError: t[Yn] is not a function at i (aura_prod.js:3) at n (/flexipageEditor/modules/c/eventWithData.js:4) at mo (aura_prod.js:3) ...
0
votes
0answers
7 views

An error has occurred in the following section: [Exception, TransferRequiresCrudReadException]. Salesforce.com has been notified of this error

When I am updating account owner AAA to BBB, i am facing below error. I have checked profile level, Role level and share settings. Every level i have configured perfectly. But i created test account ...
0
votes
2answers
17 views

How to cover Catch block in ApexUnitTest class when using DML statement in try body

I have some apex code, where I try to upsert a list of records: try { upsert recordList Accounts; } catch (DmlException e) { //do a loooot of stuff in order to provide a proper ...
0
votes
0answers
21 views

LWC call to APEX not working in Community

I have a lightning web component that uses @wire to call to APEX. It works just fine when I place the component on a lightning page and display from a Salesforce user. However, the APEX never get's ...
0
votes
0answers
14 views

How can I validate date in LWC datapicker - lightning-input-field component

How can I validate and set max date - which can't be a future date in new LWC syntax <lightning-input-field variant="label-hidden" field-name="Date_of_Birth"></lightning-input-field> I ...
0
votes
0answers
25 views

Inconsistency between “Preview and Test” and the test mail in inbox

I am testing an email with AMPScript personalized code. There is a block of code that is rendered if a condition is met. I have created a Data Extension (not test DE) with recipients that have ...
0
votes
1answer
29 views

Multiple SELECT in subquery

In Marketing Cloud, we would like to check for the existence of records from one table in multiple other tables based on the unique identifier - Customer_ID. However, I'm not sure whether I can ...
0
votes
1answer
23 views

Upload a file via Apex

How can i upload a file from my client PC via Apex ? I try this but without success String yourFiles = 'Lets assume this is your binary string of the files'; ContentVersion conVer = new ...
0
votes
0answers
7 views

Custom report type limitation

I'm trying to add new fields into the layout, but it displays the error message as mentioned below: You have exceeded the maximum limit of 1,000 fields. You cannot save this layout until the field ...
0
votes
0answers
9 views

Handle Success and Error of multiple lightning:recordEditForm form submit

I have multiple lightning:recordEditForm in a lightning component. I have created a single button to submit all those forms. Using the following code. component.find("recordViewForm").forEach( form =&...
0
votes
1answer
15 views

Database.merge on DuplicateRecordItems?

I'm trying to implement a merge functionality through Apex that queries for duplicates in the DuplicateRecordSet object and merge their child records, but I'm unsure how to proceed. I tried doing some ...
2
votes
0answers
17 views

Content BUILDER API bulk edit

It's possible to use API to bulk edit files in Content Builder? What about classic content? If so, is there an already built product that does that? In particular I would like to replace part of a ...
0
votes
0answers
11 views

Web-To-Case person response

Is there a way to include the initial message sent via the Web-To-Case to appear as either an email on the case or any way that you can include the original message in the first response email from a ...
2
votes
1answer
23 views

How to map fieldId type in LWC to Apex

I'm trying to implement a wire service to get data with passing schema items, but I'm getting an error that objectName can't be mapped to a String I'm including the relevant parts below LWC part ...
-2
votes
1answer
19 views

Handling Json which one of its field has different type : Apex salesforce

how can I deserialize the following json which its value field has different type. The type field defined the value type. { "value": "title", type: "string" }, { "value": "2019-12-1", type: "date" }, ...
1
vote
0answers
11 views

How can I pass a variable from Lightning Flow to LWC?

The below link have enough information about embedding a LWC in Lightning flow but nothing about passing a variable value to LWC. https://unofficialsf.com/adding-lightning-web-components-to-flow-...
0
votes
0answers
7 views

Enabling all picklist values for a profile without giving any additional permissions like editing field names,data types

I would like to enable all the picklist values in salesforce for a profile without giving any additional permissions like editing field name,data types etc.Is there any customized app to do the above?...

15 30 50 per page