All Questions

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

how to get the appExchange package namespace and version details from listing url

I am working on package automation, to install/upgrade and uninstall the package through APIs. I am achieving this with a combination of metadata API classes and Tooling SOQL queries. i have a couple ...
user avatar
0 votes
1 answer
22 views

Create a text-only email programmatically in Marketing Cloud

Hi Marketing Cloud gurus, Does anyone know how to create a text-only email programmatically? I am building an application in a Cloudpage (so users don't have to login into SFMC and the initial step is ...
user avatar
  • 5
0 votes
1 answer
23 views

Platform event Fired from two objects

We are planning to build a platform event, which should publish changes from two objects. Consider there is an insert/update of records in Account object or Customer__c object. We need to insert/...
user avatar
0 votes
0 answers
13 views

Salesforce Field Service google map alternative

Google Maps does not work in China hence to use field service app in china what alternatives available in china ? like Bing , Baidu.?
user avatar
0 votes
0 answers
24 views

Pass Complicated JSON between Flow and LWC, or from LWC Screen Component in Flow to another LWC Screen Component (in another step)

Hello all clever SFDC Developers, I wonder is there any way I can pass a collection of Apex-defined from Flow to Screen, working with property type and property in the typeconfig of corresponding LWC ...
user avatar
0 votes
1 answer
14 views

How to add an empty line/space in Lightning App Builder?

I found no way to add an empty line/space between two fields in Lightning App Builder. Does anyone know how to do it? I know it is quite easy to do it with the page layout tool of the object manager, ...
user avatar
  • 151
2 votes
1 answer
57 views

How do I retrieve the definition of a Custom Metadata Type using CLI?

I have created a custom metadata type in my dev org. I want to pull that cmdt (and included fields) down to my machine using the CLI (sfdx command). I found this command but it only retrieves a record ...
user avatar
  • 123
0 votes
0 answers
9 views

!contentAsset file can only be referenced with "png" appended to file name

I'm seeing strange behavior in my experience site. We just migrated the experience from one Salesforce org to another (a brand new instance SFDC org). Previously, in the experience builder, I was able ...
user avatar
  • 36
1 vote
0 answers
10 views

Invoke channel menu from lightning web components

I've 3 different embedded service deployments / channel menu's that are being used for different page variations depending on the type of logged in user on experience cloud. However, as we cannot use ...
user avatar
  • 474
0 votes
1 answer
20 views

Referencing PermissionSetGroup in Validation Rules?

Is it possible to reference PermissionSetGroups in Validation Rules (and other tools)? I dont see any reference in the documentation describing this. User Assignment and defining every permission ...
user avatar
0 votes
0 answers
9 views

Quip Automation API for programmatically filtering spreadsheet data

I am using the quip automation api and it's going well with the documentation provided: 1) https://quip.com/dev/automation/documentation/current, 2) https://quip.com/dev/automation/documentation/all. ...
user avatar
-1 votes
1 answer
38 views

Is there anyway to check what the triggering class is?

Is there a way to grab say sometrigger.class or sometest.test as the triggering class within apex? From what I can understand the request is that our helper class would tailor its response based on ...
user avatar
-3 votes
0 answers
33 views

formula for picklist field from one object to another object

On the Contact object, I have a picklist field and I want the same field to be displayed on the Account object. But while writing the formula with TEXT(). It does not show the value of the picklist ...
user avatar
0 votes
0 answers
29 views

Share records that are accessible for Partner users with Internal users

I'm trying to share all the records that our partner users have access in the community with their respective Account Owner's internal users. Let's take the Account object as an example: My OWD for ...
user avatar
0 votes
0 answers
12 views

FlexipageRegion deployment issue

We have made updates to an existing Lightning Page. When moving the page from one sandbox to another the following error is occurring. duplicate value found: FlexiPageId duplicates value on record ...
user avatar
0 votes
1 answer
29 views

Record triggered flow. Work around for adding a pause/wait?

So I'm trying to create a record triggered flow from the Quote object. My current process waits until a Quote hits a certain stage, then checks if a field value exists. If it doesn't exist, it updates ...
user avatar
  • 211
0 votes
1 answer
36 views

How to calculate & report on the time between two specific Stages?

I’m trying to calculate the amount of time it takes for an opportunity to move to a specific stage after being created. For example, Client A moves through the following stages: First Contact: 3 days ...
user avatar
0 votes
0 answers
19 views

Subscriber Email Opt-In/Opt-Out at the Business Unit Level via a report in Analytics Builder?

My client has several business units, and each business unit's subscription handling is configured as "Unsubscribe from the business unit" (vs. unsubscribe from the enterprise). I'm trying ...
user avatar
0 votes
1 answer
33 views

setBody on HTTPCallout not working apex to stripe [closed]

I used some similar code I had done successfully in a trailhead here public class HttpCallout { @AuraEnabled public static String makePostCallout() { System.debug('----apex ...
user avatar
  • 439
0 votes
0 answers
26 views

Creating Unlocked Package with Apex class that refers a record type

I need suggestions to package an apex class that references record type. The record type xml refers to many custom fields which do not belong to that package. When I package this apex class, I end up ...
user avatar
0 votes
0 answers
19 views

Sharing Records with subordinates excluding certain objects. OWD set to private

I have a Manager who wants all of their subordinates (in role hierarchy one level down only) to see all the records they own, however excluding a custom HR object which is owd to private. I wanted to ...
user avatar
  • 495
0 votes
1 answer
19 views

How to add ALL ROWS in fflib selector class

I need to get delete records in SOQL query so i have used ALL ROWS in the end of the SOQL in SOQL its working fine but I need to add in fflib selector class Im getting error public List<...
user avatar
0 votes
1 answer
31 views

How to use FormatCurrency inside an for loop?

i have a for loop to write the orderItems fields in html, but i can't concatenate FormatCurrency() function in Write(): this is my script: <script runat="server"> Platform.Load("...
user avatar
0 votes
0 answers
29 views

Can we track changes made via workbench?

We are working on our audit readiness and are preparing to restrict connected app access to Workbench for all profiles, except System Admins for full use and our Analysts so that they may do queries. ...
user avatar
  • 17
-1 votes
0 answers
8 views

Multiple view panes in a Custom Object with a PDF in one pane and fields in the other

I have a Custom Object which has fields relating to a series of questions that our team will need to answer while reviewing a pdf document. I have all the process flows etc. built around this custom ...
user avatar
1 vote
2 answers
34 views

I am trying to split logic from Trigger to handler class with "Method does not exist or incorrect signature: void Error

I am a starting SF developer and having issues with handler class. This is my original trigger: trigger OpportunityTrigger on Opportunity (after insert, after update, after delete) { Map<Id,...
user avatar
  • 13
0 votes
1 answer
14 views

Getting an error when trying to use UpsertDE() in SSJS

I am getting an error when I try to upsert into the Data Extension using SSJS. Error says : Unable to retrieve security descriptor for this frame. Here is the same code for which I get error: <...
user avatar
  • 3
-1 votes
0 answers
28 views

Count items in JSON Object Map

I'm struggling with trying to count items within an Object Map. How could I count the number of "objectEntries" of the following JSON using Apex? This is the result of an IQL query from JIRA ...
user avatar
  • 21
-1 votes
1 answer
23 views

How to just show subtotals for each column in a report?

I'm having trouble doing something supposedly very simple, can anyone tell me how I can display the record count for each column in a report? Knowing that each column is a picklist field that can have ...
user avatar
0 votes
0 answers
9 views

Add lightning component as publisher action beside Send Email

I created a lightning component to be used as a quick action in a custom object. The business wants the action in the Activity tab beside the new event action and Send Email action. However, I am ...
user avatar
  • 1
-2 votes
0 answers
23 views

need to write a before delete trigger also need to update the records

need to write a before delete trigger where if system admin is trying to delete the record the it should allow, else system should throw an error also the same record should be updated with the ...
user avatar
0 votes
2 answers
24 views

Select maximum of 2 columns

Is it possible to take the maximum of 2 columns as a new column? Something like: select max(start_date, end_date) from contract
user avatar
-1 votes
1 answer
26 views

Salesforce Report Type

I created a report type for two objects A & B. When I made a report from that report type and added fields from object B the reports said No records returned. Try editing report filters. But when ...
user avatar
2 votes
0 answers
13 views

How far back is data retained in Interaction Studio?

What is the lookback period for Interaction Studio segments? How long is the behavioral data retained in the account?
user avatar
-2 votes
0 answers
25 views

Is there a way to monitor clicks on a lwc from Event Logs except ApexExecution event type?

Can we track clicks made on a lightning web component from the Event Logs? I don't want to do an apex call to monitor the click.
user avatar
-1 votes
0 answers
14 views

Visualforce email template with custom controller

Is it possible to create a Visulaforce Email Template with the added power of a custom controller? I understand from here I can create an email template and reference its fields and even its related ...
user avatar
0 votes
0 answers
19 views

FileReadFailure in Automation Studio Import Activity

We have a simple workflow in Automation Studio that triggers when a file with a certain name pattern + %%Year%%%%Month%%%%Day%% is dropped in the "import" FTP folder. We are having problems ...
user avatar
0 votes
1 answer
12 views

How to allow users to change approver in approval process on record

so, here is my problem: I have records which are sent for approval, but the person who should approve them doesn't seems to have the time to do so, and so the records are 'stuck' in Waiting for ...
user avatar
  • 182
0 votes
0 answers
5 views

How to get only the selected lines from QLE in QCP context ? [Salesforce CPQ, QCP, JavaScript]

How to get only the selected lines from quote line editor in QCP context ? We can create additional checkbox field on quote lines and refer that, but client wants to use standard checkbox.
user avatar
0 votes
1 answer
25 views

Iterate map using apex:PageBlockTable

I am trying to iterate map<Integer,List> on the vf page using apex:PageBlockTable. Here List contains multiple accounts. I am getting each value of map in a single row. How do I get each account ...
user avatar
0 votes
0 answers
10 views

Can't install iOS ServiceChat with swift package manager

I have followed the steps defined here to integrate ServiceChat in my existing iOS app: https://developer.salesforce.com/docs/atlas.en-us.noversion.service_sdk_ios.meta/service_sdk_ios/...
user avatar
-2 votes
1 answer
22 views

can we close a case in before trigger? Case status still show Open

trigger caseClose on Case (before insert) { list<case> cases= new list<case>(); Id caseRecordtypeId = SObjectType.Case.getRecordTypeInfosByDeveloperName().get('abc')....
user avatar
  • 39
0 votes
1 answer
17 views

Delete Case button access removed while keeping Delete Case access on object for merge purpose

I have a requirement to remove the access for specific users, on the Delete case List View button. These users should still have Delete access on the Case object, in order to be able to merge cases. ...
user avatar
-2 votes
0 answers
22 views

Ampscript to retrieve an object and check for condition [closed]

I am trying to find solutions to a use case where :- I want to retrieve a field from individual object [hasoptedoutsolicit]. Check the value of this boolean field If this is "True" for the ...
user avatar
0 votes
1 answer
36 views

Compare two maps and update child records

I am working on a web service callout in Apex which returns some child data for the Asset object. I can represent a class to depict the structure of the data that I am receiving. [{ "Id":...
user avatar
0 votes
0 answers
29 views

How to create the field lookup component in LWC [closed]

I want to create a lookup component for fields in LWC as shown in the image below. Is there any existing component for this or do I have to develop one from scratch?
user avatar
1 vote
0 answers
12 views

Add row selection values to Sets for comparison

I have a HTML Table in an Aura component with checkboxes on each row. This table displays record data from a custom object. I need a means of checking that certain fields from the selected records ...
user avatar
0 votes
1 answer
19 views

Not able to send email using Messaging.sendEmail if I am Community Guest User

Requirement: Take input (Name, Phone) from user into LWC modal and on click of submit button fire email, using Apex Messaging class, if user is Community Guest User. Current Issue: When logged in as ...
user avatar
0 votes
0 answers
29 views

How do I implement a CRUD Operation in Custom UI?

<lightning-record-edit-form record-id="b6B8A000000LBp1QAW" object-api-name="CBProgram__c"> <lightning-layout multiple-rows> <lightning-layout-item size=&...
user avatar
-1 votes
1 answer
20 views

Getting Too many Email Invocations: 11 for the test class

Getting Too many Email Invocations: 11 error.. have no idea to resolve that error Any help is much appreciated. This class is used to send email notification to groups when a case created/updated apex ...
user avatar
  • 1

15 30 50 per page