All Questions

Filter by
Sorted by
Tagged with
1
vote
0answers
11 views

Cannot create an existing topic within a test class

I have a test class where I have to insert a specific topic. Whenever I try to insert it, it throws an error saying the topic already exists. This would be fine, however if I try to query that same ...
1
vote
0answers
6 views

Is it possible to customize the error message that appears when the user is unable to upload a file?

I'm trying to make a trigger that prevents the user from uploading a file that is larger than 100mb. I'm doing this by checking the file size in the ContentVersion trigger and using addError. However,...
0
votes
1answer
9 views

Building an app, root directory doesn't contain/auto-create a .forceignore file

I'm trying to pull metadata while ignoring profiles changes, but my root directory in my current project does not contain/auto-create a .forceignore file, how should go about troubleshooting this?
0
votes
0answers
16 views

Batch Insert List of Contacts from external data warehouse

So I need to use Batch Apex to insert some new contacts into our org. This isn't an overly massive list but there are other reasons it has to be done this way in our specific situation I won't get ...
0
votes
1answer
13 views

LWC cannot read property

<template for:each={openCases.data} for:item="cs"> <span key={cs.Id}> {cs.Title__c} on {caseName} </span> </template> JS: @wire(getCaseList, { Id: '$caseId' }) openCases;...
0
votes
2answers
26 views

Apex maps usage of keyset()

i have a method in that there is a map Map<String,String> formSubmissionData = new Map<String,String>(); formSubmissionData.put('contact__c',contact.Id); formSubmissionData.put('...
0
votes
0answers
11 views

How to verify an Auth0 JWT in a Marketing Cloud Page

We have a requirement to do a verification of a JWT in a SFMC Cloud Page, as we have a site with Client Side JavaScript calling the cloud page and there is no security in SFMC for Cloud Pages. I've ...
0
votes
0answers
18 views

I need my field to get updated recursively to get remaining balance

I have a field which has total fees that we need to get. And another Field which has a monthly fees that we charge. So I need this total field to get updated each time the monthly fees get paid.(we ...
0
votes
0answers
6 views

Convert Reports values into numbers from strings in a script activity

I want to perform a script activity on an Account Send Summary report I dropped into a Data Extension. The current numbers inside of the system cannot be logically filtered because they contain "," ...
0
votes
1answer
21 views

invalid_grant: expired access/refresh token with refresh token included in JSForce

I am trying to build a server that will populate Salesforce through a front end website using Express JS with JSForce library. However, every time the access token expired, it does not refresh by ...
0
votes
2answers
32 views

I don't understand why my apex test isn't covering my trigger

I have a fairly simple use case -- if a field isn't set and it's updated by a member in a group, set the field with a difference between 2 times. The code looks like this: trigger FirstTouch on ...
0
votes
1answer
20 views

Salesforce cURL Example with Session ID is not working

I'm trying to use the Salesforce Rest API with the session ID I received via a SAML Response from the same Salesforce Instance (as IDP) but I get the message: [{"message":"This session is not ...
3
votes
0answers
29 views

Calling Marketing Cloud REST API via webhook

I'm trying to work out a means of calling Salesforce Marketing Cloud's REST API via a third party webhook to write to a data extension. The issue I'm having involves refreshing the oauth token. We've ...
0
votes
1answer
19 views

Lightning:Textarea value to have new line in Lightning Component

<lightning:textarea value="line 1 \r \n line 2" label="" maxlength="300" /></td></tr> How can I change the value to have different lines so that 'line 1' has its own line and 'line ...
0
votes
0answers
5 views

User Receiving an Error “when saving the record” when trying to Delete an Order in Salesforce Lightning/CPQ

We have a user that we have assigned a Permission Set to to allow them to delete Orders in Salesforce Lightning/CPQ. But when they click delete they get the following error: We only want one user (...
0
votes
0answers
24 views

How to make buttons in a lightning-datatable smaller in LWC?

I have a lightning-datatable in my Lightning Web Component (LWC) that has several buttons in each row (first button only shown here): These standard-sized buttons consume quite a lot of vertical ...
0
votes
2answers
23 views

Unable to update an existing custom record in Visualforce

All, I have a controller that updates a visualforce page. An interaction gets created first just fine but when I try to update it the page reloads and there is no record update. I looked at the debug ...
0
votes
0answers
17 views

Attempting to pass current record's ID from trigger to Class

Code novice here! I am trying to pass the OpportunityContactRole's Opportunity ID from a trigger to a class to a Flow. I would happily use a Process Builder to trigger the Flow but OCR's are yet to ...
1
vote
1answer
21 views

Metadata api/DX mdapi is retrieving incorrect values of lead process

I am retrieving Lead information through the metadata API and the business processes that come with it do not match what is in the org. I have verified the org I am retrieving from is correct. I also ...
1
vote
0answers
11 views

Lightning Out : Error 404, Blocked by CORS

To test Lightning Out on an external site, I use the application created in the "Aura Components Basics" module: expensesApp This one works very well the proof in image: Pour To make my application ...
1
vote
1answer
17 views

SFDX package version error

I have created a package.xml and added opportunity object from my sandbox. Then I have created a sfdx package but while versioning the package I am getting error from business process values. Error- "...
0
votes
0answers
6 views

iframes and custom domain names in lightning community

I am running into an issue in a lightning community where we need to use an iframe to load a visualforce page (yes, it needs to be an iframe and not a lightning:container). The issue I'm running into ...
0
votes
1answer
13 views

Create picklist in visualforce from method return

How to create a picklist with the return from the following method in visualforce, currently receiving the following error: Unknown property AccountCreation.AccountNames @RemoteAction public ...
0
votes
0answers
5 views

Add a knowledge base to a B2B commerce community

I develop a B2B Commerce community (CloudCraze) and I would like to add a public knowledge base inside but I can't find any documentation about it. Do you know if it's possible to add that feature? ...
2
votes
1answer
18 views

Is it possible to discover a sandbox version with a API request to a sandbox?

We built and are enhancing a "Salesforce Sandbox Manager" to allocate Salesforce sandboxes to our Jenkins CI/CD and occasionally facilitate other sandbox management tasks. We'd like our manager to ...
0
votes
0answers
19 views

Approval process Iin salesforce

I have a situation with approval process. i have edited an approval step for an active approval process in dev. The same approval process is active in prod as well now i need to delpoy this through ...
0
votes
0answers
14 views

LWC - Why is the computed rowId for my custom data type in lighting-datatable undefined?

I have a custom lighting-datatable where the last row is a column that contains two buttons. When either of these buttons is pressed, I am attempting to retrieve the rowId of the row where the button ...
0
votes
1answer
26 views

validate callout payload at webservice?

I am making a callout to web service. How can i validate payload received from callout at web service endpoint. is there anyway to authenticate that request actually came from salesforce only?
-1
votes
0answers
23 views

Test Class coverage help

Below is the class I am trying to cover, How can I cover @AuraEnabled annotation? If anyone has any idea please help with this test class. public Without Sharing class ScrambleUserInfoService{ ...
0
votes
1answer
16 views

Inject only new records from filtered data extensions

I have a filtered DE which generates some records with Opportunities I that I need to send updates about through a journey. I have set the trigger/automation to evaluation only new records and only ...
0
votes
1answer
25 views

Lightning RecordEdit Component - multiselect

I have custom Lightning component form but i get a javascript error on console, i suppose something i am doing wrong. <!--@ggalaios 20/11/19: ea_RelationshipWithea --> <aura:attribute ...
0
votes
0answers
10 views

Modifying step in a running engagement program

I have a running engagement program in Pardot that has all prospects waiting for 90 days. I want to change the number of days of that step to make it start today. I have calculated that only 13 ...
0
votes
1answer
16 views

Marketing cloud Contact deletion using ssjs

I am new to marketing cloud, can anyone tell me how to automate contactdeletion process using new OAuth 2.0. Using legacy the process works but not able to proceed with OAuth 2.0. legacy code is as ...
2
votes
1answer
27 views

Managed Package - Global interface and global/public class

Let's say we have global ProductFactory class like this: global class ProductFactory { global static ProductService getProductService() { return new ProductServiceBasic(); } } ...
-2
votes
1answer
19 views

test class for Messaging.SingleEmailMessage in apex class

I am sending a notification email to opportunity related Account sales user.I have tried to write test class but it is not working. Can anyone helpme out with a testclass for sending email ...
0
votes
0answers
25 views

Data extension values in the “Update Contact” activity in Journey Builder - where an Event is used as an Entry source

I'm trying to save customers' ContactIDs and Email Addresses to a Data Extension from within a Journey. I'm able to do this where a Data Extension is the entry source for the Journey. For this I've ...
0
votes
1answer
18 views

Workbench settings to do only queries

I need workbench connected app to be configured to use only for queries and disable the option to edit single/multiple records
2
votes
1answer
16 views

Is there a way to find the instance of a scratch org in Trust Status?

I want to find if there is any announcement (incident and/or maintenance) on Trust Status site for a given scratch org, how can I do that? The only way I found so far was to get the instance URL ...
0
votes
1answer
25 views

Validation Rule trigger

Hi i am trying to restrict the user to change the Acc_Id on the basis of certain field. Below is the code : not working. If yyyyyyyy__c = true Suuuuuu__C = "Complete resolve No one should be ...
0
votes
1answer
10 views

Updating datetime field from Visualforce remoteObjects

I m trying to update a datetime field from VF page using remoteObjets and I am getting this error: err: Error: Last Viewed Timestamp: value not of required type: 2019-11-20T11:00:56.373Z This ...
0
votes
0answers
15 views

EmailMessage Object : EmailTemplateId is null

We have issue in getting the EmailTemplate id from EmailMessage object . After we send email the emailTemplate Id is not populated. This email is sent using a template List<EmailTemplate> ...
2
votes
1answer
48 views

LWC imperative apex not fetching updated record value

I'm working on a requirement where I display a toast on the standard record page based on certain record value. So, I have embedded a custom lightning web component wrapped in an aura component on ...
0
votes
1answer
12 views

Validation Rules not working with Force Actions Aura Components

Below is my Lightning Component: <aura:component implements="force:lightningQuickAction,force:hasRecordId" controller="CreateActionItemController"> <aura:attribute name="recordId" type="...
1
vote
1answer
21 views

Unable to retreive All the LWC on VsCode

I tried creating projects on VScode with or without manifest and updating metadata but cant retreive the LWC of an Unmanaged Package.
1
vote
0answers
19 views

Custom Unsubscribe URL for Marketing cloud not working on IOS (safari) devices

We have built a custom unsubscribe URL in service cloud which we are sending to marketing cloud through an import activity and the same link will be placed on the email so that customer can use it to ...
0
votes
1answer
9 views

Enable a checkbox on a Lead record

I am looking for a way how to enable a checkbox on a Lead record when the Lead Owner is part of a Public Group. Could someone help on this ?
0
votes
1answer
15 views

errorCode“: ”APEX_ERROR“, ”message“: ”System.NullPointerException: Argument cannot be null

If i pass date i am able to execute first if condition but if parameter is not passed in URL from postman, i am getting Null pointer exception error. RestRequest restReq = RestContext.request; ...
0
votes
0answers
7 views

Open a record in sub tab within console app using Flow

I have lightning flow in which I have link which contains record url. When click on record url it is opening to the new tab. But I want open it in sub tab of console application.
0
votes
1answer
18 views

NavigationMixin to standard__objectPage passing recordType value

I want to navigate to a new record creation passing recordType but I don't see nothing in doc that allows me to do that. I understand you can't predifined values for now but, is recordTypeId allowed ...
0
votes
0answers
23 views

ContentDocumentLink trigger context variable trigger.new is not returning correct value in Classic

I am having a trigger on ContentDocumentLink object. The user upload a file from UI in classic on Opportunity object record. Ideally when he does that, The trigger.new should return two value, one ...

15 30 50 per page