All Questions

Filter by
Sorted by
Tagged with
-1 votes
0 answers
4 views

Writing Triggers

I'm new to writing triggers how do I write a trigger for this Populate Number_of_test_to_check__c with Required images where Status__c = 'Waiting for approval' Note, Required images is a custom object,...
user avatar
0 votes
0 answers
4 views

ServiceSDK ServiceCore crashes during iOS 15 prewarm

At our company we're using the embedded ServiceSDK (version 234.1.0) for iOS https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/servicesdk_ios_dev_guide.htm After ...
user avatar
  • 1
0 votes
1 answer
10 views

My LWC comes up as Object object in communities but works in lightning apps page

I have created this custom LWC to bring back some data from a custom object but for some reason when I return the data in a Community page I get: When its a lightning component on a home page it ...
user avatar
-1 votes
0 answers
9 views

Difference between entry conditions and decision conditions in SFDC flow

I'm building a flow in SFDC and I am wondering what the difference is between entry conditions and the conditions for the first decision. For example, if I am doing a record-triggered flow and want it ...
user avatar
0 votes
0 answers
9 views

Use 'ContactEmail' field of Case in Lightning email template

I need to use the value of the "ContactEmail" field in a Case Lightning template. I wrote it manually, but the merge is not working. I even tried a classic template and it didn't work either....
user avatar
  • 1
0 votes
0 answers
8 views

How to add values from DE to button in email?

I have a problem. In my email template I have a button in "href" which should pull up a link from a certain field. (I have emails in my extension and each email has its own link) So, I found ...
user avatar
  • 13
0 votes
0 answers
12 views

Scoped imports not allowed when a runtime namespace is specified

I'm having a error message in the org after creation of cls file. I do have a custom namespace in the xml. Any idea? This page has an error. You might just need to refresh it. Error in $A.getCallback(...
user avatar
  • 93
0 votes
0 answers
5 views

Can Salesforce CTI solutions be used on Lightning Platform user license?

It seems that several CTI solutions that integrate with Salesforce have the term 'Service Cloud' on their respective technical and marketing literature. For example, Amazon Connect & Salesforce ...
user avatar
-2 votes
0 answers
11 views

Error Occurred: An Apex error occurred: System.NullPointerException: Attempt to de-reference a null object

I have Apex code that fired from Flow. The conditions for this Flow is when the user choose a specific record type. I create a new record type for this object and add this record type to the condition ...
user avatar
0 votes
1 answer
11 views

how to call two functions in one onclick in lwc?

I am very new to LWC and Javascript. I have an LWC component with a ightning-input tag with "type=search" and one button with onclick event. When I searched for a keyword, I was supposed to ...
user avatar
0 votes
1 answer
24 views

Conflict between Run Time and CPU time in Apex

According to documentation. RUN_TIME : The amount of time that the request took in milliseconds. Requests with a value over five seconds are considered long-running requests for the purposes of the ...
user avatar
0 votes
0 answers
12 views

User who is logged in should see his own details on the home page. Also the table below should have the data from another custom object created

import { LightningElement, wire, track } from 'lwc'; import getdocappointmentlist from '@salesforce/apex/AppointmentList.getdocappointmentlist'; export default class DoctorHome extends ...
user avatar
-1 votes
0 answers
7 views

In Salesforce Report, How to show week wise records created

I have to create a Report in Salesforce utilizing the OOB Report feature on an Object say Asset. It will show. Week Count of Assets Created ------- -------------------------...
user avatar
1 vote
1 answer
21 views

Batch apex not executed from test class

I made batch class, and It's working very well. But when I try to execute it in test class, Batch apex not getting executed from test class, and it does not see test data. I've made two versions of ...
user avatar
-1 votes
1 answer
11 views

SOAP API calls to retrieve the SFMC users who do not have SSO enabled

Can anyone pass me on few links or the code snippet for retrieving the users in Marketing cloud account whose SSO is enabled using SOAP API calls
user avatar
  • 11
-1 votes
1 answer
15 views

How to find account with inactive opportunity and send email alert?

I have a scenario where I have to find Account which is not having active opportunity over 1 year period and send email alert in the first week after 1 year period of inactivity. How can I achieve ...
user avatar
0 votes
0 answers
7 views

Mobile view of salesforce Dynamic Form is showing all fields as editable even though they are read only in UI Behavior

In my component, among 10 field we added only 3 fields as editable rest all are read-only. There is no problem when we are trying to create a new record. But, when trying to edit the existing record, ...
user avatar
0 votes
1 answer
17 views

SOQL SELECT query failing with 'No search term found. The search term must be enclosed in braces.'

I have a Kotlin application that uses Fuel for making HTTP requests to the Salesforce API. One of the HTTP requests that uses a SOQL SELECT query is failing, and I'm not sure why. val ...
user avatar
0 votes
1 answer
18 views

Named Credential - Generate Header Issue

Im facing issues trying to generate the auth header in Apex when using Named Credentials. Unfortunately I cannot use the standard Named Credential approach (auto header generation) as I have to embed ...
user avatar
  • 1
0 votes
3 answers
30 views

why my JSON deserializeUntyped giving me Exception

I'm creating a new REST API in salesforce and receiving the below JSON in Restrequest string {"event_source":"","event_time":"2022-05-25 08:12:40.151","...
user avatar
0 votes
1 answer
29 views

Schedulable Class - Big Object

I've created a schedulable class that retrieves info from SetupAuditTrail everyday and creates a big object records on a daily basis. The schedulable class works fine. But when I run the test class, ...
user avatar
  • 25
-3 votes
0 answers
20 views

How to query records of children with ages above 2yrs (there will be 2 dob columns).. Dob will be in years [closed]

Eg DOB1 2019 DOB2 2017 I have used the query Where Dob > dateadd(year, - 2,getdate()) But it's not working properly
user avatar
0 votes
1 answer
20 views

Flow: Account record created then create custom object record and associated Account

scenario: I have an Account object and an custom object (Employee__c) Note: Employee__c object has lookup field of Account object. Whenever the Account record is created then create an Employee__c ...
user avatar
  • 6,561
0 votes
0 answers
8 views

Set TaskSubtype=Call by URL Custom Log a Call

I have a custom "Log a Call" button on Lead Object, This is de URL: /00T/e?title=Call&who_id={!Lead.Id}&tsk5=Call&tsk4={!TODAY()}&RecordType=0123C000000a3kU&retURL=%2F{!...
user avatar
0 votes
1 answer
12 views

Apex Class - Day Light Savings - If statement to adjust for daylight savings based on dates

We have Apex classes that trigger and process a CSV file with rows of data. One of the columns is a time column and it is set up below. We implemented this Apex class in September/October and it ...
user avatar
0 votes
0 answers
30 views

LMS Pub-Sub between Flow Aura Container and LWC component fails

I'm confronting the issue that the last subscription from LWC fails without any error. Since I needed to pass a complicated object between screen components on different steps in Flow (which are not ...
user avatar
0 votes
0 answers
13 views

How to email Results of an Interactive Email Submission

We have a journey for when a patient gets admitted to rehab. The form goes to the family member to fill out important info about the patient. Once it's filled out, we need it to get emailed to the ...
user avatar
-1 votes
0 answers
16 views

Formula to cut the last word [closed]

I have a field Name__c If the value of Name__c is [ Valdez John Lester Cruz ]. I want to cut the last word and need to save it in Last_Name__c and the rest should go into First_Name__c. My logic is to ...
user avatar
  • 13
0 votes
1 answer
15 views

How to properly test and assert an @restresource that do multiple API calls?

I am struggling to do a test class, mainly building a proper assert method based on the following @RestResource (at the end). This class have 3 different API calls (First API response an XML the other ...
user avatar
  • 1,899
0 votes
0 answers
5 views

Salesforce CPQ How to Detect if a Product Has Changed From Selected to Deselected

I'm new to CPQ and have been able to setup scenarios where I show products based on a product in a feature being selected. I'd like to hide products also if a previously selected product is then ...
user avatar
0 votes
1 answer
14 views

Salesforce - Best way to pass namespace__ (e.g:Apttus__, svmax__ etc) to get('obj').getDescribe().fields.getMap(); method

We have a requirement to prefix namespace__ value object at below code. For e.g : For template, need to prefix Apttus__, so the object value will be Apttus_template . We have multiple managed packages ...
user avatar
0 votes
0 answers
12 views

lightning-data table styling

I have an lwc that is used to display a lightning-input in a lightning-datatable. I cannot get it to look right. showProducts.js (parent lwc) import { LightningElement, wire, track } from 'lwc'; ...
user avatar
  • 443
0 votes
0 answers
10 views

LWC - Base64(image) to Files in Person Account

Hey I'm trying to upload an image file in LWC by using base64 into files in person account using linked entity ID. This code is quite straightforward as it is. Asking for camera access in the ...
user avatar
  • 93
-1 votes
0 answers
8 views

Experience Cloud: Remove fields from 'Member Profile and Settings' Component

Is there a way to remove individual fields from 'Member Profile and Settings' Component on User Profile Page in Experience Cloud? For example, the Portal User doesn't need to change Language and ...
user avatar
0 votes
0 answers
7 views

lightning:inputAddress how to get all countries and states?

I'm using lightning:recordEditForm with lightning:inputField fieldname=MailingAddress. But, it doesn't show showAddressLookup. Therefore, I'm trying to use lightning:inputAddress but I think the ...
user avatar
  • 101
1 vote
1 answer
26 views

LWR SPA - how to add additional JS modules for consume

LWR -> Lightning Web Runtime developer.salesforce.com/docs/platform/lwr/guide/lwr-intro.html I'll try to provide a clear project structure and questions. While learning LWR, I've started a new LWR ...
user avatar
  • 407
0 votes
0 answers
8 views

How to get a list of subscribers by business unit?

So, ent._Subscribers is the data view of all subscribers across all business units. What I want to do is generate a list of subscribers by business unit. I'm confused why there's really no clear cut ...
user avatar
0 votes
1 answer
12 views

Validation Rule Still Triggering for values inside a NOT(ISPICKVAL(ab__c, "text"))

I have this validation rule that I cannot understand why it would still be firing for these lost code values. I've tried copying and pasting the lost code values from the picklist with no luck. If ...
user avatar
  • 1
-1 votes
1 answer
12 views

How do I do an upstream soql with the nested columns to the stage of the most recent opportunity for each campaign member

SELECT Id, ( Select (SELECT OpportunityId.Stagename FROM OpportunityContactRole ORDER BY createdDate DESC LIMIT 1) FROM Contact) FROM CampaignMember limit 10 This is my super ...
user avatar
0 votes
0 answers
27 views

Embedded LWC in Aura Component not loading on QUICK action

I am trying to create a Quick action on Quote object, as LWC quick actions are not supported on Quote object trying to embed the LWC component in a AURA component and use AURA to tag to QUICK action. ...
user avatar
  • 1,439
-1 votes
0 answers
6 views

Delete converted leads in NPSP using a flow

I see at least one other question similar to mine but no answer yet. If anyone can provide guidance it's already appreciated! I have a client who wants to "use an automation (FLOW) to delete ALL ...
user avatar
0 votes
0 answers
11 views

Prevent redirect email studio webcollect on Form Submit

I have an Email Studio Web Collect form that will be used for email capture. On form submission, I have a function to hide the div that contains the form and display a thank you div but it still ...
user avatar
  • 1
-1 votes
0 answers
19 views

Need to populate a field in a new claim form based on the logged in user

We have all custom objects in our org that our customers use. What I need to accomplish, is, that I need to auto-populate a field based on the logged-in user. Under the user profile, they have to set ...
user avatar
0 votes
0 answers
17 views

Get the sum of a currency field of all related Opportunity childs and grandchilds using a flow

I just started my flow journey and I can't find a solution to my problem. I have two different opportunity types. In type A I want to display the sum of the Amount field of all the subordinate records ...
user avatar
-2 votes
1 answer
29 views

System.LimitException: Too many callouts: 101 Error

I have this below code which is pushed to prod. Where in I am trying to make callout in future method to update lat/long values on Standard location Trigger, and each time the records are processed i ...
user avatar
  • 1
0 votes
1 answer
24 views

Validate lineitems and throw error if the lineitem values dont match

On the OpportunityLineItem, I have 2 custom lookup fields and 2 text fields. So if I have like 5 line items added, and if the 2 lookup fields match on any 2 lineitems, I need to make sure the other 2 ...
user avatar
1 vote
0 answers
9 views

CreateSalesforceObject in AMPscript wrong caseid assignment on my survey custom object

I'm sending interactive email support service surveys via marketing cloud and saving the results of SurveyParticipant(contactid) SurveySubject(caseid) CSAT NPS... in a data extension. I also want to ...
user avatar
  • 11
1 vote
0 answers
18 views

CloudPagesURL Error Message

In Marketing Cloud I'm trying to send customers entering a campaign in Salesforce an opt-in email through Journey Builder, using Salesforce Data as the entry source. The opt-in email asks the customer ...
user avatar
  • 11
-1 votes
1 answer
30 views

Multiplication of two fields in salesforce using trigger

I am new to salesforce. I tried multiplying two fields from two different objects but was failed to do so. I have two objects object 1 and object 2 as given below: object 1 is child of object 2. ...
user avatar
-1 votes
0 answers
15 views

I need to integrate multiple Api Event definition keys in my cloud page? Is there any way to call them dynamically?

Below is the piece of code for the API Event key: %%[ var @apikey, @url, @response set @apikey = Lookup("NASAapi","apikey","id","apod") // keep your apikey in a ...
user avatar

15 30 50 per page
1
2 3 4 5
2460