All Questions
129,648
questions
0
votes
0
answers
28
views
Mobilepush SDK iOS V7.6.0 InAppMessage url does not trigger the call back in Delegate (Xamarin iOS)
I have implemented MobilePush iOS SDK 7.6.0 in my xamarin forms app.
When I send an in-app message(with both App and Web urls), it is received in my iOS application, but the problem is that the ...
1
vote
1
answer
90
views
Trying to use Salesforce Integration User License, unable to access Accounts, etc. objects
Since a few weeks, our org has 5 free licences, of the type Salesforce Integration. This is meant for integration users. It has a few restrictions though. One of them is that the profile must be ...
0
votes
0
answers
34
views
Show Toast message when record got created using page layout
I want to show toast message whenever a record is created using page layout. for example if a child record is created and due to its creation there are some modification happen in its parent record. ...
0
votes
1
answer
26
views
Struggling to debug AMPscript error
I'm using the Add function to combine the rowcount of 2 DE's, and I'm struggling to understand what is wrong with my code.
%%[
var @rowCountset
@rowCount = DataExtensionRowCount("DE_1")
var @...
0
votes
0
answers
34
views
How do you find the relationship between subscriptions in opportunity hierarchy?
I have a requirement to find the lifetime of a product throughout its new new, amendments and renewals cycle and list them down.
I know SBQQ__RevisedSubscription__c uses to identify the original ...
0
votes
1
answer
69
views
+500
Make CPQ Quote Line Editor Columns read only
We add all the relevant field inside the fieldset Line Editor and the fields show exactly as we wanted. Our customer now ask as to make some columns inside the CPQ Quote line editor read only. Is ...
0
votes
1
answer
30
views
How to add fields using formulas
I have a scenario where I need to calculate the cumulative stop time between two sets of date/time fields.
I need to calculate the time when either set has been populated.
Stop Time 1 - Continue Time ...
0
votes
0
answers
31
views
how to remove record from knowledge article
i have made lwc component where i want to remove record from knowledge article but it is showing null pointer exception.
Firstly i am changing the owner and assigning to user who is log in/ performing ...
0
votes
0
answers
35
views
Mobile app React native upgrade failing due to incompatible SDK react native version
Base on the link here: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk
We are using Salesforce marketing cloud for our mobile app development team needs to upgrade react ...
0
votes
0
answers
18
views
Edit lightning page programatically
Is there a way I can add/remove a specific LWC from all lightning pages programmatically?
My use case is adding the LWC from my managed package to the Account detail page(on installation), and ...
1
vote
1
answer
37
views
How to set map value to attribute in aura component
I have an apex method which is returning map in the form of Map<string,Object> and map will contains only one record
Can anyone help me how can I set attribute on component from map value
On ...
0
votes
1
answer
29
views
Select some fields to sync via Change Data Capture
I am using Change Data Capture (CDC) to sync objects but I would like to only sync some fields not all the fields, is this possible?
Let's say I would like only to sync the field called Name in the ...
-1
votes
1
answer
49
views
Improper Neutralization of Script-Related HTML Tags in a Web Page [duplicate]
Hope all are doing great!
I have a visualforce page and run in Varacode scan it results one High Flaw in the below page.
I have tried to fix in many ways by using ...
0
votes
0
answers
16
views
Can we change Einstien bot's Input text field as per company branding, using LWC or Aura
I have a SFDC Einstien bot, but the input box used in my bot is a simple text field, i want it to accept voice and use that to communicate with the bot.
So a voice input can be converted to text and ...
0
votes
0
answers
42
views
Stop SFMC email links from deeplinking to our Android app
We send out newsletters every week to our customers using SFMC. When someone clicks on the link we want to take customer to the browser instead of app in Android. We used mc-deep-link="false"...
1
vote
2
answers
102
views
Supporting guest user file upload on an LWR Site (up to 20mb)
I'm trying to build a simple public-facing web form on an LWR Site. One key requirement is for users to be able to upload a file, but I'm facing some heavy obstacles:
lightning-file-upload is not ...
-1
votes
1
answer
35
views
some single send journeys fail to create an IER
We are using a simple de and a single send journey primary key is the contact id, the DE is sendable and testable and contactid is linked to the subscriber key.
When I send using a simple journey, ...
0
votes
1
answer
37
views
LWC seems to be interfering with history stack when using window.history.pushState()
I have a very simple component to demonstrate this issue.
HTML:
<template>
<button onclick={push1}>Push 1</button>
<button onclick={push2}>Push 2</button>
<...
0
votes
1
answer
41
views
Journey Builder - Email Address Check
I have 2 questions regarding Email Address present checks with Journey Builder.
1 - I have a 2nd DE, all connected in Data Designer, that contains Email Address only. How do I check to ensure that the ...
0
votes
1
answer
32
views
Troubleshooting simple IF/Then Ampscript Statemend SFMC (Dynamic Header)
I am trying to figure out why I keep getting an error with my Ampscript code block? I'm new to Ampscript, so apologize for a newbie question, but can someone please take a look at this and see if I ...
0
votes
1
answer
40
views
+50
Syntax in Lightning Button/URL to set date field on object from Date/Time field on starting Object?
I have created a custom button Type=DetailPage & Content=URL on the Event Object. This button creates a new Custom Object named Registration record.
One of the fields that needs to be set on the ...
0
votes
1
answer
33
views
How to store (read and write) JSON as custom field in Salesforce?
Please,
What is the recommended way to have a field that can store JSON DATA (never larger than 20Kb)?
Would this affect CASE object performance in any significant way (20% or more performance hit)?
...
0
votes
0
answers
30
views
External Credentials with Per User
I'm currently migrating Legacy Named Credentials to External Credentials and for one of those I need to use Per-User. I assigned it to one of the Permission Sets. But I don't see how User can ...
0
votes
1
answer
21
views
Help with understanding a formula
We have the formula below used in the entry conditions of a flow. I a still pretty new to formulas and need some help reading this one. I normally don't use symbols.
!{!$User.Bypass_Automation__c} &...
0
votes
1
answer
17
views
Deploy error: No such column 'EnhancedLetterheadId' on entity 'EmailTemplate'
During upgrading a sandbox environment I receive deploy error:
Dependent class is invalid and needs recompilation: Class msf.MySalesforceClass: EnhancedLetterheadId, ^ ERROR at Row:11:Column:6 No such ...
0
votes
0
answers
15
views
Storing Secret Key RestResource public Site
I was wondering what would the best option for storing a secret key for a public profile?
For other keys and secrets, I've been storying it with the Custom Settings, however due to the way the ...
-1
votes
0
answers
27
views
Test class still failing even though I have body set
I have an apex class written which is working fine. However, when I run the test class, it is failing because of the error SendEmail failed, REQUIRED FIELD MISSING, Email Body is required.
I dont get ...
0
votes
0
answers
22
views
LWC - Wire pass dynamic ids to get records method [duplicate]
In LWC js i am trying to dynamically pass the ids for getting records of a object.
if i hard code records id like this it works
recordIds: ['0687h000002Jim0AAC','0687h000002Jim5AAC'],
but if try ...
-1
votes
1
answer
20
views
update DML fails on contact......how to undo the update on Account and opportunity how do you implement that
Let's say in Apex you have multiple DML calls like update opportunity then you update Account and then you update contact, but it fails on contact so you want to undo the update on Account and ...
0
votes
1
answer
28
views
javascript filter child object fields
I have this JSON that I'm filtering
js
this.filteredMisc = this.missions.filter( mission => misc?.Name?.toLowerCase().includes(evt.target.value.toLowerCase())
...
-1
votes
0
answers
17
views
How to create EventRelation record using LWC?
I have an lwc Event record Creation page, in which I also want to let users to add Attendees like we have in standard event creation pages. Is there a way to get that attendees field using lwc?
0
votes
0
answers
16
views
Salesforce Journey builder Contact data [closed]
I have a requirement where I want to use Contact data. I am using attribute to attribute comparison. Also want to use a flag which is in underlying child object. When I use only attribute-to-attribute ...
2
votes
1
answer
58
views
How can I compile a LWC to use it as a standard web component via customElements.define()?
I'm trying to compile a LWC to a standard web component, so that after importing it I could just use it as any standard HTML tag:
<html>
<script type="module" src="./...
0
votes
0
answers
40
views
AMPscript Lookuprows difficulties
I have some difficulties on my ampscript code.
Context of the situation : I have this data extension
Product_Id is the primary key of this data extension.
I am coding by using ampscript so as to ...
-1
votes
0
answers
14
views
Push Unsubscribe Contact into a Data Extension
How can I bring back all contacts who unsubscribe to a given extension? If I also want to report the email name or CJ from which I unsubscribe, how can I report the information such as email and phone ...
0
votes
0
answers
26
views
Wait until Click event in Journey Builder
my goal is to create an activity in Journey Builder which waits for an interaction of the user in the mail and sends a reply mail depending on what button the user clicked on.
The thing is, there ...
0
votes
0
answers
23
views
How to modify and run SOQL query dynamically in swift/Objective-C SalesforceSDK 10.2.0?
How Update with dynamic value in the Where clause from Swift/Objective-c coding in the below
'usersyncs.json' configuration.
'''
{
"syncName": "syncDownUser",
"syncType": ...
-2
votes
1
answer
30
views
Can you add the "New Note" global action to the Contact Activity Composer?
I have been tasked with adding the New Note" global action to the activity composer on the action and case pages. I have added the field to the "Salesforce Mobile and Lightning Experience ...
0
votes
1
answer
58
views
Updation to Global Picklist Value Set through Tooling API makes the existing values deactivated state in salesforce
I am trying to update my salesforce global pick set values using Tooling API for my learning practice. When I am using tooling API end point to update global pick list values, updation is working ...
0
votes
1
answer
26
views
How to batch update DE records using WSProxy?
I was able to update 1 record at a time using this code:
var prox = new Script.Util.WSProxy();
var props = [
{
"Name": "Contact_Key",
"Value&...
0
votes
1
answer
27
views
UserAppInfo query fails because userId not there
I'm tracking down a bug that fails on this query because it returns no rows. The user I'm using is relatively new and still working out the kinks:
UserAppInfo userApp = [SELECT Id, AppDefinitionId
...
0
votes
1
answer
47
views
Dynamic SOQL query giving error
I am trying to execute below query and getting error which says Unexpected token IN
Can someone please help to understand what is wrong here.
String str = 'SELECT Name FROM Account';
String str1='...
0
votes
1
answer
34
views
How do I check if LWC component has a public method
I have a form with inputs being either standard LWC inputs or custom lookups.
I want to validate the form and report error back to the user.
I use this.template.querySelector to get the inputs and ...
0
votes
1
answer
24
views
How can I create a enhanced transaction security policy to allow only POST method in API event
I want to set some alerts and restrictions for API calls using Shield Event monitoring. I am not able to figure out how can I create real-time monitoring using Transaction security policy to allow ...
0
votes
0
answers
27
views
Google Maps in VisualForce problem
I am new using VisualForce and this is the first time using this technology. I have to use the google maps api in VF because of the limitations of LWC lightning-map.
My visualForce look like this:
<...
0
votes
1
answer
30
views
How to get logged in User's PermissionSetGroup id in LWC?
I want to fetch the PermissionSetGroup assigned to current logged in user. I try to use getRelatedListRecords function from lightning/uiRelatedListApi. I have implemented the following code but I am ...
0
votes
0
answers
25
views
Process Builder Scheduled Actions got stuck in paused state
I have a Process Builder with Scheduled Action which should run after 6 hours of the Date field. It is triggered when Case is created or edited and the criteria are:
Picklist field = 'X'
Checkbox is ...
0
votes
0
answers
29
views
Apex Test coverage for impersonation or login as user
Is it possible to write a test class to mimic the impersonation ? Due to one of the salesforce release, impersonation has failed and salesforce support mentioned that the issue should have been caught ...
1
vote
0
answers
33
views
Uncaught TypeError: Cannot read properties of undefined (reading 'tid')
Recently I noticed our salesforce instance spitting the following into the console on user login
Uncaught TypeError: Cannot read properties of undefined (reading 'tid')
No changes have been made in ...
0
votes
0
answers
15
views
Any way to stop a converted lead from appearing in an omni-channel?
Currently when a lead is converted without being accepted on omni-channel the PendingServiceRouting record remains, and the agent can still accept the lead but instead of being redirected to it, it ...