All Questions
132,613
questions
1
vote
1
answer
1k
views
How to send Envelop to signing group. Rest API integration with Docusign
I'm integrating salesforce with docusign API by using REST API.
I've to crate the Envelope to send the template, and Template should be sent to Signing group.
How can i send Template to signing group ...
13
votes
1
answer
2k
views
How to handle errors when using dynamic Custom Labels referencing?
Any ideas how to prevent error when trying dynamically access label which doesn't exist? Check somehow whether it exists before referencing or maybe catch this error.
Here is my page:
<apex:page ...
0
votes
1
answer
8k
views
Insufficient Access Rights On Cross-reference Id: error
I try to insert on custom object with user1 and works fine, I try with user2 and get "Insufficient Access Rights On Cross-reference Id:" error. Both have Read Create Edit and Delete ...
-1
votes
0
answers
13
views
Connecting Salesforce with on premise systems
What are the necessary steps to connect Salesforce to on premise systems?
For example, do we need a middleware such as Enterprise Service Bus, Web Application Firewall, something else?
What are the ...
0
votes
0
answers
14
views
Some flows not working on 2G managed package in Production Org
I've hit a bit of a snag and could use some insights.
The Core Issue
So, I've been working on this 2G managed package (API version 59) and finally got it released and installed in the production Org. ...
0
votes
1
answer
17
views
Dynamic Question and Answer form
I am currently creating a lwc form dynamically using two custom objects namely Questions & Answers. Question being the master and answer being the detail. I am creating the questions and answers ...
0
votes
1
answer
1k
views
Getting error while updating record through After update trigger
I have 2 objects A and B where B is linked to A via LOOKUP relationship. There is a checkbox on object A which becomes TRUE when the stage (Picklist field) for object A is changed to "Funded", and ...
0
votes
0
answers
14
views
Seeking advice on my NewUsers Automation Process (Mass sending welcome email)
I am working on a project to send custom WelcomeEmail to 400 new users in Salesforce, since Salesforce cannot send the verified email when creating users through data loader. (I don't prefer to send &...
1
vote
1
answer
1k
views
External Object Related List shows timeout error
I am trying to configure an external object in Salesforce for which the source is a Postgres table that contains approx. 34 million records. I was able to set up the External data Source which ...
3
votes
1
answer
2k
views
Marketing Cloud Issue with Sender profile using reply mail management
We understand the email address for the RMM domain is not real but would have thought it would forward messages sent to that email address to the specified email address in the forward section. Issue ...
2
votes
1
answer
773
views
Community Builder - recordID - VisualForce Page
From communities, I am inserting a VisualForce page to show a custom object linked to an Account object. I want to show the account information and then drill down to show the custom object details. ...
1
vote
1
answer
878
views
Cannot connect to sandbox using JWT
I connected to Production Org with JWT through connected app without any difficulty.
However, by applying the same procedure, I could not connect to Sandbox using JWT.
Here is my command:
sfdx force:...
0
votes
1
answer
2k
views
Update existing AccountContactRelation in before insert trigger
I have a custom field on my AccountContactRelation object, called SurrogateId__c, that has to be unique across all AccountContactRelation. I have the following code that is called upon before insert ...
2
votes
2
answers
2k
views
Uncaught (in promise) Error: API `getFocusedTabInfo` is not currently supported in this application
I was wondering what were the potential reasons of getting this problem, I also was wondering what are the potential solutions to solve this error.
I am using this within an aura cmp.
This is where ...
0
votes
0
answers
12
views
Embedded Chat [Legacy] migration to Messaging In App Web
Does any one perform full migration to MIAW from Legacy embedded chat ?
If so, how do we manage 4 LWC components [Pre-Chat, Chat Header, Chat Message and Minimised]?
Given MIAW only had one component ...
0
votes
2
answers
897
views
Reply To Triggered Send
I am trying to send a Triggered Send email through ExactTarget and have the recipient reply to that email directly to my company Exchange server.
i.e. Call ExactTarget API to send the email and when ...
3
votes
1
answer
773
views
Einstein bot API Unauthorized connected app
[Context]
I'm trying to build connect via API to the Einstein Bot API. I carefully, followed the set up mentioned here.
https://developer.salesforce.com/docs/service/einstein-bot-api/guide/get-started....
0
votes
0
answers
20
views
Convert case creation page to lightning
I have enabled the lightning experience for some profiles and upgrade the existing classic app to lightning. Now when I try to create a new support case, after selecting the record type the details ...
1
vote
1
answer
1k
views
Can we override the "Mark Complete" and the "Save" button on the Task detail page?
can we override the Mark Complete and Save button with a lightning action button in the Task detail page?
I checked the Buttons, Links, and Actions section in the Object Manager but these are not ...
5
votes
5
answers
25k
views
Update Custom Metadata with Apex in my org
In the documentation it says
Apex code can create, read, and update (but not delete) custom metadata records
No where in the guide do I see apex being used to update custom metadata, only to ...
0
votes
0
answers
44
views
Why does Flow Builder Refresh Randomly?
I've had this happen many times where I'm working on a flow, and the screen refreshes randomly.
At first I thought I may have accidentally hit Ctrl + R or some other shortcut, but after repeated ...
0
votes
1
answer
1k
views
How to update "Assigned To" field on Knowledge Article Version with Apex?
If I use standard button on Knowledge Article Version (KAV) called Assign (api name: AssignKnowledgeArticleVersion), it successfully updates the Assigned To (AssignedToId) field, however, I can't seem ...
0
votes
1
answer
43
views
Unable to fetch accountId of User in Test class
I am stuck in scenario while writing logic for my Test class.
I am not able to access Contact.AccountId of User created in test case.
I have created a TestUtility class for creating the community user....
0
votes
2
answers
59
views
Test Code Coverage - Delete DML catch block
We have implemented one method using Apex for delete some records under the class which is without sharing.
In the method, first we are retrieving the list of the records(which needs to be deleted) ...
0
votes
1
answer
1k
views
OpenDirect sfmc_setNotificationRequest called before the SDK is ready. Deferring until isReady == true
We inherited 'MarketingCloudSDKURLHandlingDelegate' for the class that runs MobilePush for Marketing Cloud and overrode the methods.
We wanted the following method to be called as handler when we ...
0
votes
1
answer
56
views
Enterprise Architecture, Domain layer - handling multiple records
I'm developing a project using fflib's Enterprise Architecture patterns, based on their example app (https://github.com/apex-enterprise-patterns/fflib-apex-common-samplecode). I am a bit confused ...
2
votes
1
answer
2k
views
How to handle standard toast events in LWC
For lightning I used a handler for force:showToast event to capture toasts for edit/new actions on standard pop up when a record was edited/inserted. I would like to do the same in lwc.
I added a ...
1
vote
1
answer
951
views
LWC dropdown not disappearing when clicked on the screen flow
I have a LWC in the screen flow. The LWC displays a dropdown list. When I click outside the LWC the dropdown should disappear.How can I enable. I tried onblur, but it is not working.
<template>
...
-1
votes
0
answers
28
views
FlowAttributeChangeEvent only returning id's of records
I am trying to return list of sobject records from lwc to flow using the FlowAttributeChangeEvent. For some reason I get only the Ids of the records not any other fields.
Below is the screenshot that ...
0
votes
1
answer
773
views
How to set a reference/lookup field through Price Action in SF CPQ?
I am working on a Price Rule which has one of the action to update lookup fields on Quote Line.
To elaborate we have From and To (reference to Location custom object) on Line Group and we'd like to ...
1
vote
1
answer
1k
views
Einstein Bot set single value from object to variable
Apex action (APEX Invocable Method) in einstein bot accepts an object and also returns an object, is it possible from the method to return a single value? Please check the following syntax that helps ...
0
votes
0
answers
22
views
How to handle item selection from a list that behaves like a combobox in LWC?
I'm working on a very simple LWC, does anyone know how to get the selected item from a list? The idea is that when the user clicks on a country, the dropdown closes and shows not the "Select your ...
-1
votes
0
answers
41
views
Change data Capture Design Pattern
I am implementing CDC for numerous objects. I am thinking to implement some kind of design patten, just like how we have for Apex triggers (TriggerHandler..). I am not sure how effective it is and ...
0
votes
2
answers
3k
views
How to remove the time 00:00:00 from a date format and still maintain the date type
PROBLEM:
I converted a string to Date format.
Eg: String dateToParse = year+'-'+month1+'-'+day;
Date ds = Date.parse(dateToParse);
OUTPUT: 2020-07-24 00:00:00 (output is a Date type variable)
Expected:...
0
votes
1
answer
73
views
Gmail one click unsubscribe 2024
Saw that gmail will require one click unsubscribe in 2024, starting in February. But to me, it's unclear how this would need to be set up based on how they explain it below. Right now I have a 2 click ...
-1
votes
0
answers
24
views
Query Studio for Marketing Cloud - How to use it to Query Syncronized Data Extensions from Marketing Cloud connector?
I want to query syncronized data extensions in marketing cloud using query studio's app from Salesforce Labs.
But when I try, i use from = ent.Asset_Salesforce
for example to query a data extension ...
0
votes
0
answers
18
views
Is there a server API for the Messaging for Web product?
I have a custom chat client that is using the Chat REST API. Given the product is in maintenance mode I'm looking at what will be needed to support Messaging for Web.
However, all I found was a JS API....
2
votes
0
answers
99
views
Is there any way to translate @InvocableMethod label and description
My company is providing a managed package that needs to be translated to many languages.
We managed to customise most labels using a CustomLabel metadata file. This is working fine for both lightning ...
12
votes
4
answers
2k
views
How can I test that my component, which implements the standard modal components, is working properly?
Since the update to API 56.0 (Winter '23) Salesforce introduced a new set of components to help developers create modals with the Lightning Experience format in an easier way. The components added ...
-1
votes
0
answers
20
views
Using Flow Builder set milestones
I created an entitlement process with three milestones. I have a task using Flow Builder set condition. The next milestone should be launched only when the previous one ends (someone clicks completed)
...
1
vote
0
answers
62
views
Change in behaviour of toLabel() function in SOQL query for Knowledge__DataCategorySelection
There has been a change in behaviour of toLabel() function in SOQL for Knowledge__DataCategorySelection object's DataCategoryName field after Summer 23 release for Salesforce.
Before the Summer 2023 ...
0
votes
1
answer
2k
views
If the opportunity is inactive for 2 days, send a notification to the Opportunity owner
If the opportunity is inactive for 2 days, send a notification to the Opportunity owner....Started the work with Last activity Date in Opportunity process builder
This is the criteria of the process ...
0
votes
0
answers
19
views
User assigned with Read-only permission set group can upload files
In my org there is a permission set group called ReadOnlyFundingOpportunity with the following permission sets:
ReadOnlyFundingOpp on the FundingOpportunity object.
I assumed a user assigned with ...
0
votes
1
answer
14
views
LWC Jest: test a component that uses lightning/toast
The lightning/toast utility is GA as of Winter '24, but I haven't seen anything on StackExchange or in the docs about how to write tests for components that use it. One you import it into a component ...
0
votes
1
answer
24
views
Is it possible to create a 2nd gen package depending on a external managed package?
So, that's the question, can I make depending on an external managed package (i.e. an app from the app exchange) my second generation package?
1
vote
1
answer
992
views
Add Custom Fields after a Managed Package is Released
Based on the following I understand that new custom fields of an existing custom object aren't available to users after Pushing a Managed Packaged
Assigning Access to New Components and Fields
From ...
1
vote
0
answers
32
views
Using per subscriber callout from managed package
I'm creating a managed package that includes a callout to a custom REST API endpoint. Based on this conversation thread, it appears that the "new" External Credentials are not supported for ...
4
votes
1
answer
2k
views
+50
Enable SharedActivities automaticaly for new scratch org
Is there any chance to set up scratch org definition file, to create new scratch orgs with SharedActivities functionality enabled?
We just implemented some functionalities using TaskRelation object, ...
0
votes
1
answer
19
views
LWC Template tag not working for conditions
<template if: true= {isFlagValue}>
showing some content on page when isFlagValue true but after getting false value for isFlagValue I am able to see content
Heading
0
votes
1
answer
1k
views
Check for login User permission access in Lightning
Currently I am trying to share a record manually using Lightning components. As a owner
Admin is able to share a record with User A
User A is not able to share a record with User B
Our requirement ...