All Questions

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

How do you create a new Case using On Demand Email-to-Case upon forwarding the case to a new Email-to-Case?

I'm working in an org that's requesting a new case be generated whenever an Email-to-Case is forwarded to another department which also happens to be an Email-to-Case email. This means that 2 cases be ...
0
votes
0answers
9 views

Uploading Images to AmazonS3 through VF/Apex: System.UnexpectedException: Script-thrown exception Error

We are attempting to use a Named Credential in a Callout from Apex to send an uploaded image to AmazonS3 through our VF Page. This is the line that's throwing an error: HttpResponse res = http.send(...
0
votes
0answers
11 views

LWC updateRecord returns 403 forbidden when using Guest User

I am trying to use the updateRecord() lightning/uiRecordApi function to update fields on a record in the system as a Guest User. From consoling out the res, I am getting an error of "An error ...
0
votes
0answers
10 views

The trigger is not inserting the field and is not being triggered either [duplicate]

I built a trigger to insert a custom object record (NPSResponse__c) when the SurveyInvitation object is updated. The Developer Consloe did not point out any errors, however when I update a ...
0
votes
0answers
6 views

SFMC Mobile Connect Text Response/Outbound message - how to continue a conversation?

Here's what I have - an outbound message with NEXT keyword functionality which is intended to capture the recipient's responses. If the recipient replies with a response that my AMPScript code does ...
0
votes
0answers
8 views

Why is CRM Contact data unavailable on Child BUs in Marketing Cloud?

We have a Marketing Cloud instance with multiple BUs. The Parent BU is connected to Sales Cloud with MC Connect. On the Parent BU we use automations to filter and share contacts with the child BUs. ...
0
votes
0answers
12 views

How to aggregate Email performance data for a single Journey?

I am trying to collate aggregate data of all sends from a specific journey. When I use my query below the numbers in all 3 columns are the same despite the GROUP BY's by column. What am I doing wrong? ...
0
votes
1answer
17 views

How can I allow a user to have read/write permissions based on a specific account value?

In our Salesforce instance we need to assign a customer success rep once an account becomes a 'customer'. We have a picklist for 'type', which has different stages such as suspect, prospect, customer, ...
0
votes
0answers
9 views

How to extend lightning-file-upload functionality?

We are Salesforce Files users. We use the ContentDocuments object and create multiple ContentVersions per ContentDocument. I have been implementing a new tool to upload files and I evaluated 2 ...
0
votes
0answers
11 views

How to import interactions/tasks in Salesforce? (To where you can see who called and what they talked about from contact object)

Me and 9 other employees made calls to people who have donated this year thanking them for their donation. I have a csv file of all people that called, who they called, and what was said on the call. ...
0
votes
1answer
13 views

Query involving parent and child objects in where, group by and order by clause

I have an object called SRC which has account as lookup in it. SRC content will be as shown below: SRC ID | Account__c | Status | City__c | LastModifiedOn | |:---- |:-----------:|:------:|:-------:|:-...
0
votes
0answers
22 views

How can we get salesforce user metadata in vs code

Is it possible to get salesforce user metadata in vs code. Or any other medium we can get user metadata.
0
votes
1answer
14 views

Remove access to Account Records having record type “Partner”, for a particular role

I have been struggling to understand how to implement the following requirement, would appreciate any useful tips. How will you remove R/W access to Account records having record type "Partner&...
0
votes
1answer
18 views

Avoid untrusted/unescaped variables in DML query error

I'm building dynamic queries in few of my apex methods. When I run the PMD code review, i'm running into the "Avoid untrusted/unescaped variables in DML query" error. Running into 3 dynamic ...
0
votes
1answer
11 views

Auto populate CPQ Quote when a new Quote is created

Based on customer's requirement, I am trying to create new CPQ Quote button (URL) on Opportunity . The expectation here is pre-populate some of the attributes on the CPQ Quote such as Opportunity, ...
0
votes
1answer
22 views

Questions regarding implementing fflib_SObjectSelector

As I understand it a selector would be implemented for each SObject that you need it for i.e AccountSelector extends fflib_SObjectSelector {} ServiceAppointmentSelector extendes fflib_SObjectSelector ...
0
votes
0answers
24 views

why we need to use “this” notation to access LWC properties

i am working LWC for last one year and this one question always comes in my mind, why we need to use "this" notation to access LWC properties. I know this is a global variable in javascript ...
0
votes
0answers
19 views

Get Organization ConnectedApplication Oauth data via API

I'm developing an application for monitoring organization Oauth applications and would like to get the full Oauth information on those application such as the requested scopes, client_id and the users ...
0
votes
1answer
15 views

Modal Popup upon Event Record Create/Save

Can someone help me find a good idea/code for how to create a modal popup (LWC, Aura, I don't care as long as there is a popup) when an event record is saved (typically from Contact or Opportunity ...
0
votes
0answers
19 views

Salesforce Internal Error: HAPPY.CMETAACCESS [duplicate]

We have created our own 2nd generation package and trying to install it in our org, but getting the following error: 1. ORA-20001: ORA-06512: at "HAPPY.CMETAACCESS", line 665 ORA-01403: no ...
-1
votes
1answer
34 views

Is this SOQL query possible?

List<Account> accs = [select Id,Name from Account where Name in: Trigger.New]; It gives me the following error :- Invalid bind expression type of Account for column of type String.
0
votes
0answers
9 views

Create a Data Extension report with Data View and Journey information

My goal is to create a Data Extension (DE_Journeys_Report) that will contain a report of different Journeys, extracted from different Data Extensions. I need the following fields from the **Sent Data ...
0
votes
0answers
10 views

Named Credential connected with XERO it not updating the refresh token

We made a connection between Salesforce and XERO with the help of Named Credentials Oauth2 Authorization. In that, on initial sync, it connected with XERO and it updates the access token in Salesforce ...
0
votes
1answer
20 views

Using custom JavaScript widget within Lightning

On another project (not salesforce) a few years back, I used the jQuery Autocomplete widget to search content/fields within a tabbed container. Here's an animated screenshot: Can I do something like ...
0
votes
0answers
10 views

Query for all steps in approval process upon submission

Is it possible to query for all the steps in an approval process when a record is submitted for approval? I can run the following query to get the current and previous steps: [SELECT Id, Status, ...
0
votes
1answer
12 views

Flow form for creating an order with several products

I need to create a flow form for a cafe. The waiter must fill in the order fields and select items from the menu. How to make it possible to specify the number of positions on 1 screen? So far I have ...
0
votes
1answer
23 views

Error: Syntax error. Extra ')'

This is what I have: IF( AND( IsWon, CASE(Type, "New Business", 1, "Existing Business", 1, "Existing Business- Add-on&...
0
votes
1answer
19 views

Custom Metadata w Record Ids & Unlocked Packges -> Don't Overwrite Values

We have an unlocked package with some custom metadata records. These custom metadata records contain record ids for data in the org, which are configured by our admins after package installation. The ...
0
votes
0answers
14 views

Salesforce VScode retrieve from org “Cannot read property 'split' of undefined”

I was using the "Retrieve source in manifest from org" command for the resources in package.xml file. However when I executed the command it failed saying "Starting SFDX: Retrieve ...
2
votes
0answers
22 views

Internal Salesforce Error occured when inserting CartItem via Test Class

Since Monday (May 10, 2021), we've encountered an issue in our test class that we didn't encountered previously. There was a Salesforce update on May 10 so I suspect this was the cause of our issue. ...
2
votes
0answers
34 views

Is there a way to detect that an Apex test is running within the packaging process?

We are hitting some CPU limit challenges undocumented limits that are shared amongst all executed code during the course of a runAllTests request and would like to automatically turn some tests off ...
0
votes
0answers
18 views

Best approach to convert a drupal website to Salesforce site [closed]

Good Morning! I received a query from one of my prospects regarding the best way to convert an existing Drupal website into a Salesforce site. Can any one of you help me understand the best approach ...
0
votes
1answer
25 views

What is the dataloader limit in 24 hour.?

How many records I can data-load in a single attempt. ? How many such data-load I can perform in 24 hours.? I have gone through the documentation, but not sure ( 5 Million ) documentation is talking ...
0
votes
0answers
40 views

LWC Component visible depends on login user language

I have a LWC component which get the results from apex class. Now when I login as a Italy user with locale Italian (Italy) and Language Italian, the component is not working. When i change Language ...
0
votes
1answer
18 views

MobileConnect Attributes in Email Sends

I have mobileconnect demographics custom attributes that I want to be able to use the data in for email sends. How can I do this in Marketing Cloud? Extract, query, API calls? I realize we have the ...
-3
votes
0answers
26 views

Hi is there any Rest api to get the salesforce Integration user details [closed]

I found this blog https://admin.salesforce.com/blog/2018/the-value-of-having-a-dedicated-salesforce-integration-user by using this we can create an user is there any rest api to get this created user ...
1
vote
0answers
23 views

Summer'21: OpportunityLineItem always empty for QuoteLineItem. Now how to fill QuoteLineItem custom fields?

While performing regression tests on a Summer'21 sandbox, I noticed that custom fields were not filled in newly created QuoteLineItems. For many years, I have used the trick as described here, and ...
0
votes
0answers
11 views

Send email with email template containing letterhead and pdf attached with it through LWC

We can attach pdf and send email through vf page but I want to send this email with pdf attached by LWC. Can anyone please tell how to achieve this.
0
votes
0answers
12 views

System.EmailException: SendEmail failed. First exception on row 0; first error: INVALID_MESSAGE_ID_REFERENCE, In-Reply-To header is not valid.: [AS]

public class EmailTst { public static void sendEm() { Messaging.SingleEmailMessage autoReminderMail = new Messaging.SingleEmailMessage(); EmailMessage activeEmail = [SELECT ...
0
votes
1answer
21 views

Sudden change in the url on click of new button click

I am facing a issue all of sudden. I have two object Lead and Estimate. Estimate comes in related list of Lead. From Lead i can create new estimate. I created a LWC component which is used to create ...
0
votes
1answer
28 views

When do we need to mention Id explicitly in SOQL querry

I heard that although the Id field always comes implicitly in SOQL query result, there is a specific scenario where we have to include the Id field while querying records. Can someone please tell me ...
0
votes
0answers
10 views

Migrate Files/ContentVersion from one org to other

I have Knowledge base articles and files that I want to migrate from one org to another org. I have tried lots of things to migrate those data. Articles are successfully migrated using Data Loader but ...
0
votes
0answers
13 views

How to associate EmailMessage with Lead record though apex?

I am creating a new EmailMessage record from my apex code and I want that this record should be associated to a Lead record. As per documentation, we can not use RelatedToId RelatedToId : The ...
0
votes
1answer
27 views

Is there a way to compare 2 process builder?

I have 2 version of the same process builder I want to compare. I need to know what changed in one. One was changed in production, and the other was changed in a sandbox. Is there a way to do it?
0
votes
1answer
21 views

Permission set does not exist in process builder

I am facing a problem while creating a process with process builder, i want to call a permission set but i cannot find it , can someone help me
0
votes
0answers
19 views

Need to show message after page refresh [closed]

VF Page: <apex:page standardController="Survey__c" recordSetVar="accs" extensions="CreateTicketFromSurvey" action="{!CreateSurveyToCase}"> <apex:...
0
votes
1answer
10 views

Users able to approve their own records when not assigned as approver

I have created an approval process on one of the custom object. I have three users named as User 1, User 2, User 3 Upon Clicking on the Submit for approval button, the fields in the approval history ...
0
votes
0answers
11 views

Restrict Users from updating one field before another dependent field is updated and Saved

In my Org, there are two interdependent fields named Pacing and Pacing Notes. The Pacing can't be set to Customer-Specific until the Pacing Notes field is empty. I am checking and validating this ...
0
votes
0answers
33 views

REST image upload returning empty json body

Trying my first rest API call with SSJS. I'm trying to upload an image as per this guide https://sfmarketing.cloud/2020/02/29/create-a-cloudpages-form-with-an-image-file-upload-option/ On my landing ...
0
votes
1answer
27 views

Fire a Child LWC Method From Parent LWC

PARENT COMPONENT parent.html <lightning-button variant="brand" label="Select" title="Select Family" data-id={fam.accountId} onclick={handleSelectFamily} class="...

15 30 50 per page
1
2 3 4 5
2300