All Questions
129,535
questions
0
votes
1
answer
30
views
JavaScript strict mode is causing my promise to be rejected and throw an error
I am not sure if this is just down to lwc running in strict mode, but when I call the methods below they are rejected with this error.
Exception: TypeError: 'caller', 'callee', and 'arguments' ...
0
votes
0
answers
31
views
Apex class is running 3 times after trigger
I have a trigger on opportunity that runs on update and insert, it grabs the id and passes it to another apex class that has a @future method that makes an API post.
my trigger:
trigger ...
0
votes
2
answers
873
views
Hiding LWC datatable Header
My Coloum header are still getting displayed even if there is no data in datatable. I want to hide it in case it doesnt contain any data. I have contained my Datatable in template. but still the ...
0
votes
1
answer
35
views
Mobile Connect - Contact with multiple numbers which also shared
If i have 2 contacts that have multiple numbers, and one of the numbers is shared between them
Is it correct that if Contact-1 opted out '0001', then that number is also opted-out for Contact-2 and ...
0
votes
1
answer
20
views
Overwrite New acton button for custom object
I'm new to salesforce development, and I want to overwrite the New action button for my custom object. Here is my VFP code.
<apex:page standardcontroller="Document__c">
<...
0
votes
1
answer
488
views
Set recordtype for Account using DeveloperName
Is it possible to set recordType for e.g. Account using DeveloperName or we need to SOQL recordtypeID from recordTypes?
-1
votes
1
answer
17
views
Help with a summary report and formula
I have a summary report with 3 groupings- Opp Owner, Their Sales Consultants, and then a row level formula to group opportunities by stage into won or lost. I have 2 summary row formulas using ...
0
votes
1
answer
129
views
Access DOM of managed custom aura component
I need to use javascript/jquery to click a button on a managed custom aura component when the page loads. Its managed so I can't edit the component code.
I can add the Javascript to the page using &...
3
votes
1
answer
682
views
FuelUX datagrid filtering
I just used datagrid FuelUX with a couple of select for filtering but, i got the follow problem:
When i perform then click event btnShow's i initialized the properties DataSourceGrid's and i send a ...
0
votes
0
answers
18
views
DML update not executing a large batch
I use a flow action to update Enrolment records. It works for a smaller batch size around 500. But it doesn't work for a larger batch like 1500 records.
Debug log doesn't give any errors I broke the ...
0
votes
2
answers
35
views
PGP encryption/decryption of a text file in salesforce
I want to encrypt a text file with bank details and want some specific user or team can decrypt those with the private key. How to achieve this using PGP.
0
votes
0
answers
32
views
SFMC: How to select multiple checkboxes based on single checkbox selection & display popup if opt out checkbox is selected?
I have a requirement where I created Preference page using amp script which updates certain field on Contact records based on Selection on Marketing Cloud "Cloud Page" that I designed using ...
6
votes
1
answer
168
views
Problem with replacing if:true with lwc:if
This release note states that if:true directives must be replaced with lwc:if.
However, I noticed that in the LWC I am working on, this is not as easy as it sounds. Just doing a simple textual ...
0
votes
0
answers
14
views
unable to remove Related Contact from Financial Services Cloud Relationship Map Edit
We have a business requirement asking why the related contacts are not removable from the list within the Relationship Map Edit page. In the screen shot the related contacts are greyed out. I'm not ...
0
votes
1
answer
30
views
Regex for Case Number, South African Id and Passport
Please bear with me, I'm not well versed with Pattern, Matcher or Regex.
I found the below on https://regex101.com/
South African passport: [A|D|M|T][0-9]{8}
South African Id: (([0-9]{2})(0|1)([0-9])(...
0
votes
1
answer
10
views
How to release Agent capacity for real-time Work Item w/o the agent having to close the tab
E.g., release the capacity on the Chat end while the tab stays active?
0
votes
1
answer
26
views
Check box Field
I am trying to create a checkbox field as checked if another field has value and Uncheck it if another field does not have any value
For eg: if DDS field has number I need the check box to ticked. If ...
-1
votes
1
answer
22
views
Can Record Trigger Flow throw error message like Validation rule?
There is a Record Triggered flow activated for "Account Territory Product" object to restrict on creation of duplicate records of this object. Can someone please help me in knowin how this ...
0
votes
0
answers
12
views
Omnistudio Datatable link to current record
I have a datatable in a flexcard where I show information from the Account object, example: Name, Account Number etc... the user wants to click on the account name in a row of the table and be ...
3
votes
1
answer
859
views
Unsupported report type Error on Dashboard
I am trying to create a Pipeline Development Report where I need to Group Stages and use Historical Trending Report but when I add this report on Dashboard, an error occurs saying:
Unsupported ...
0
votes
1
answer
20
views
Controller extension -- VisualForce
I am reading the Visual Force Developer Guide '23 because I have something to do with this technology so I am new. I was reading the section Building a Controller Extension and in the first example I ...
5
votes
1
answer
65
views
Alternate to if:false in LWC
Now salesforce is going to deprecate if:true & if:false and the alternate to these 2 tags is lwc:if, lwc:elseIf and lwc:else
Now replacing if:true is simple, just change it to lwc:if but if I want ...
-1
votes
2
answers
32
views
What is the best approach for callouts to external system?
I want to get external system data to front end using LWC what would be the best approach ? Is it by using fetch Api from JavaScript or using apex ?
-2
votes
1
answer
33
views
how to update rollup smummary function like subtraction & count on Monthly forecast
Here we have two object, Opportunity & monthly forecast.
Opportunity is child object & monthly forecast is parent object.
In Salesforce monthly forecast is created for users. When opportunity ...
0
votes
1
answer
21
views
Can I mock out lookup relationship using FFLIB ApexMocks
I'm trying to mock out something similar to the following structure:
Task.LastModifiedBy.Username;
Task.LookupRelationshipToUser__r.Username;
Using the makeRelationships method for this doesn't make ...
0
votes
1
answer
36
views
After displaying a validation error message page is moving to next page by clicking next button
I'm trying to apply a validation error just before navigating to Next Page of my application. If the user has clicked on next button it will check whether a user have provided a valid "sort code&...
1
vote
1
answer
727
views
Community Lightning App not responsive on devices though acts responsive on resizing PC's browser
I have built a custom Lightning App with different multiple components and pages that I am using in my Salesforce Community. Now, when I 'decrease' the browser to a mobile size, it resizes and goes ...
0
votes
1
answer
12
views
Update Portal Contact Account Id
In a experience site by self registration a user and a contact is created, an account (B) is also created but the contact is initally linked to a default Account (A) for new Users. After that I need ...
-1
votes
1
answer
23
views
Can we create formula field using encrypted text
Can we write a formula to check a text encrypted field if values is present or not and update the formula field in checkbox format?
0
votes
1
answer
14
views
Package version creation results in field integrity exception (Case access level below organization default)
I am trying to create a package version.
My dev hub has the following for case:
Running a query under dev console gives me:
When I try to create a package version, I get :
Practice_Assignment_Team: ...
0
votes
1
answer
31
views
How to provide following access on object records NOT owned by the user (OWD is private): Edit access on some fields and read access on some fields
I have following scneario regarding an object
OWD is private
For record that are not owned by user, they should be able to have read access on some fields and write access on some fields.
I have ...
0
votes
0
answers
15
views
Is it possible to set up a Microsoft Auth. Provider without a Callback URL?
I'm writing a feature that uses an API implemented on top of the Microsoft/Azure stack. To access the service, I'm first required to fetch an OAuth2.0 token.
URL to get the token: https://login....
1
vote
1
answer
829
views
Allow users access to picklist field, based on the existing picklist value and the new picklist value
We have a specific user that can edit Account records (use has full CRED to Account object as well as edit permissions at the field level) we want to restrict them from editing the standard field &...
0
votes
1
answer
1k
views
What happens to contacts that are in a journey when a new version is updated with new activities?
I have a current journey that needs to be updated with new interactions. If I add these new interactions (Email, SMS etc), will the contacts already in the journey be kicked out and admitted to the ...
2
votes
1
answer
40
views
What happens at install time for Content Security Policy (CSP) Trusted Sites included in a package?
When Remote Site Settings are packaged, for manual installs there is a prompt at install time to confirm the add of those settings to the org.
Looks like Content Security Policy (CSP) Trusted Sites ...
0
votes
2
answers
2k
views
Retrieving Subscriber Key from an MO message using AMPscript
We're trying to achieve the following workflow with AMPscript and MobileConnect and was wondering if someone could assist.
1. Send an Outbound message (using the Fuel REST MessageContactSend ...
0
votes
2
answers
110
views
Automation Studio - Query Activity: _Subscribers.EmailAddress not populated for any record
I am trying to run an SQL query (below) to get a list of all Clicks for all Jobs that were started this year, but I'm having some difficulty querying the Email Address associated with each click. ...
0
votes
1
answer
2k
views
OTP Generator for Salesforce Communities
We are using Salesforce Community cloud. We have a requirement to generate One Time Password (OTP) and send to email when the user changes his mobile no. Similarly we need to generate OTP and send to ...
0
votes
0
answers
17
views
Scheduled Path Flow
I have a record triggered flow in which should get triggered on create or update of opportunity. Requirement is whenever stageName is getting changed to "Closed Won" or stageName equals &...
0
votes
1
answer
672
views
Need to create a report based on the two defined product if present in the opportunity line item
Need some help in creating a report which will provide all oppty which has product1 and product2 in their opportynity line item. Product 1 and Produc 2 will be an AND condition so that it only shows ...
0
votes
1
answer
19
views
how to evaluate return is true or not in Aura Javascript
I have an Apex Method named "ShowOutput" which is returning either true or false.
How can I evaluate the response is true or not in Aura controller.
I tried below code
var action = component....
0
votes
1
answer
34
views
Update IsCustomerPortal field in Account Object
During the process of self Registration of users in a Experience Site, we need to create a new Account and a new Contact if the users email doesnt match any of the existing contacts.
However in order ...
0
votes
1
answer
18
views
Pass querystring variable from one cloudpage to another
I'm trying to pass a language variable from one cloudpage to another. For context, once i get the variable to pass, I will then do a lookup based on language variable to lookup multi-language ...
0
votes
3
answers
2k
views
how to debug query string?
How can I debug the query string below to see what values are actually passed to the server? If I do system.debug ('Query is: '+contactsFromQ_List2 ); I do not see it in a clean string that I can ...
0
votes
3
answers
751
views
How to copy field value to another field using custom Visualforce page?
I created one formula field in Opportunity. If user click on "Clone" button I want to overwrite that formula field to Autonumber field using Visual Force Page.
Edition : Professional Edition
E.g. ...
0
votes
0
answers
15
views
How to retrieve page tree of Experience Cloud site?
I want to retrieve a list of all pages in an Experience Cloud site (LWR template) with properties like name and path, to create a page tree in a Lightning Web Component.
Does anyone know a way to ...
3
votes
1
answer
2k
views
Encryption / decryption with AES
I have an integration with another system which I should use the AES Algorithm.The Encryption is made in SF side - and sent in the header of an HTTP request. This made to recognize SF in internal ...
0
votes
1
answer
28
views
Hi All, I am disabling a button using "List View Button Layout" option that is present in side bar of the object
I am doing this for so many objects , but i have observed that three objects in my org is not having the option "List View Button Layout" itself. Rest of the objects are having this option. ...
0
votes
1
answer
724
views
Bmp or png images not displayed in IE browser
I am displaying image in VF page. It is properly displaying in Chrome but displaying a X symbol for bmp and png images in Internet Explorer. IE browser version is 11.0.
Below is the code I am using ...
0
votes
2
answers
26
views
PrimaryKey Violation - how to display error message on cloudpage
I've created a custom form on a cloudpage with a handler to insert a phone number into a data extension to honor a mobile unsubscribe. Once you enter the phonenumber and press submit, you are ...