All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

Access List<sObject> stored inside a wrapper list

I am trying to iterate through the list which is stored inside a wrapper list. I want to extract a field value from it and store inside a Set (wrapper again). Here is my code - @AuraEnabled(cacheable=...
0 votes
0 answers
10 views

Can I refresh entire datas in my lightning-datatable in real time always when a data change ? Examplo the same that supervisor omni do

I need a help , I have created a custom lightning datatable like a List view using LWC that show all cases that are chatbot and some informations like Avarege response of agent , if this chat have ...
0 votes
0 answers
10 views

Status picklist value behaving as a closed value

I have one deactivated value in status picklist, when I am activating it, it's getting automatically added to the Support process and its behaving like a closed status for that particular Support ...
  • 1
0 votes
0 answers
13 views

Routing Form POST request from Visualforce Page through Salesforce

I am making a form post request from page and hence the request is taking user's IP address into consideration. Is there any way to continue having a form POST and provide a dummy URL in action tag ...
0 votes
0 answers
12 views

LWC Error Invalid reference

I have js file in the lwc that keeps giving me the Error Invalid reference, but it still works 100%, i just can't make new changes. I would like to add a validation that there has to be something in ...
0 votes
0 answers
14 views

Salesforce Platform Event & CDC data volume understanding

Can someone explain me how many platform events or CDC can be published at the same time. For PE I believe 10000 events at the same time, considering it would have the same limit as object records. ...
0 votes
0 answers
20 views

Cross Object Picklist

I have two objects, Object A and Object B that both have a custom picklist field for Status. Object B has a lookup relationship to Object A. I want to make it so that whenever the status field on ...
0 votes
0 answers
9 views

White line between stacked tables in Gmail App Android 11

I have a table with an image and below it a table with red background. In Gmail Android 11 there is a 1px white line between the two tables that I can't get rid of. There isn't any margin or padding ...
1 vote
1 answer
14 views

Update Toggle Switch from js handler LWC

I've an Input toggle field which needs to be updated from sessionstorage. <lightning-input data-id="toggle1" type="toggle" onchange={changeToggle} label="Record Exists"...
  • 2,168
0 votes
0 answers
14 views

Can't install unmanaged package with Named and Custom External credentials and Permissions set

Can't install an unmanaged package with Named and Custom External credentials with a Permission set. Permission set provided access to some classes and UserExternalCredentials Notes: I have noticed ...
  • 1
0 votes
0 answers
10 views

Font fluctuates from Bold to Medium on page refresh

Used custom font stored in static resources for my portal site and it displays the right font like it should. However, everytime the page is refreshed the font changes and is not stable. How can I fix ...
0 votes
1 answer
17 views

How to add wildcard to SOSL variable binding

I am doing a LWC search component that is handled by a SOSL query. Currently i am sending the searchTerm and creating a dynamic SOSL query that is executed by Search.query(queryString) method. In the ...
-2 votes
2 answers
28 views

Write Batch class ,if contact's Phone field have only 4 or 5 digit so append 0 digit up to 10?

public class BatchContactPhone implements Database.Batchable<sObject>, Database.stateful{ public integer i = 0; public Database.QueryLocator start(Database.BatchableContext BC){ ...
0 votes
0 answers
18 views

How do i set a variable on salesforce flow for the record the user is currently viewing?

I am looking to capture the record of an account the user is currently viewing and store it as a variable. This variable will then be used to compare against other accounts in a separate collection ...
  • 1
0 votes
0 answers
22 views

Marketing Cloud Contact Decision Split [duplicate]

A year ago, my colleagues decided to split the Contacts object in Salesforce into Leads and Accounts (this was before I joined the company). Subsequently, they stopped the syncing of the Contacts ...
0 votes
0 answers
30 views

Query Activity update query text

Can I programmatically change Query Activity definition? I cannot find any example. I am looking for something like this: var qd = QueryDefinition.Init('my_definition'), status = qd .Update({ ...
  • 111
1 vote
1 answer
20 views

execution of BeforeUpdate caused by: System.FinalException: SObject row does not allow errors

I have this trigger to verify this condition , when and status become clos , I can't modifie the object . Now when I tried to modifie I have this error : We hit a snag. Review the errors on this page. ...
0 votes
0 answers
19 views

Two Post Install Exceptions occurred while installing Health Cloud

We are installing Health Cloud into a new, clean org. The pre-installation steps were carried out prior to the installation, ie Chatter enabled, Contact to multiple Accounts, etc. After the ...
  • 1
0 votes
0 answers
39 views

Scrollbar in dropdown menu is pinned to bottom by default

I'm new to LWC and I have lots of values that should be displayed in the dropdown (in other smaller dropdowns it's not occurring) it is important because the values are sorted alphabetically from the ...
0 votes
0 answers
12 views

Comparing records on a flow - to show top 5 closest accounts by addresses based on the account address the user is currently on

First of all i am trying to compare accounts 1 - the user is currently on 2 - all the accounts we have on Salesforce For this I'm assuming I create 2 variables - then use a collection filter to ...
  • 1
2 votes
0 answers
58 views

Security Review not a deterministic process anymore?

I am aware that Salesforce recently changed some rules for Security Review, which makes the life of ISV and PDO partners harder. Here is another one that I am seeing, and ask for some guidance. In the ...
0 votes
0 answers
30 views

Need to add a datetime field based on a number which given in another number field

I am having a number field in opportunity object in the name of Minimum Delivery Time (MDT) in Hrs and a datetime field as Date_and_Time_Required__c. My requirement is to add the hours to that ...
0 votes
0 answers
29 views

how to know whether a field is populated while record creation to know the percentage in salesforce LWC

I have created a lwc component which shows the fields in the object and when i select the field how to get the total record count in that object and the selected field populated record count in LWC
0 votes
1 answer
32 views

I need to update all Contact Fields dynamically , I am trying throught Schema.SObjectType but getting some Error

I need to update all contact records from one record to another record which has 333 fields. It takes time to update this. I thought of updating the sobject field dynamically, but I'm getting "...
0 votes
0 answers
25 views

Email alert through flow for particular profile users

Hi all I have a flow and if a particular checkbox is checked I have set an email alert to fire. Now I have to restrict the email to be sent to a particular profile's users. I have created an apex ...
  • 17
-1 votes
0 answers
19 views

Is there any attribute like ngIf in VF page?

Is there any attribute like ngIf in VF page I need to use ngif like functionality in VF page
0 votes
0 answers
13 views

The footer of the screen flow has spaces around window

Why The footer of the screen flow has spaces around window? the screen flow runs from the button and does not wrapped to any lightning component
0 votes
0 answers
34 views

Conditionally rendered fields

looking for general ideas on how to approach the requirements below: "Create a Case" button/action on Account’s Lightning record page: Ability to choose from different record types and ...
0 votes
0 answers
27 views

Named Credential AWS S3 POST Method Failing - "There were headers present in the request which were not signed"

I am trying to use the DeleteObjects API method for AWS S3 within Apex. I am able to successfully perform this operation in Postman using their Sig4 Auth tool but I am struggling to get this working ...
  • 317
0 votes
1 answer
31 views

Loosely coupled Queueable framework

Edit: Sorry for the confusion! I’m trying to use this generic framework I mentioned below the error message I’m getting from my code which is calling a standard queueable class. So, my question: I ...
  • 6,742
0 votes
0 answers
25 views

Is it possible to launch a visualforce page from an apex class?

I'm trying to find a workaround that will allow me to use an apex class to launch a visualforce page from inside a screenflow. I have a detail page button that launches a visualforce page, but ...
  • 9
1 vote
0 answers
12 views

Related List Error on Package Creation

I have been able to do all the steps in creating an unlocked package, Authenticate Retrieve Convert But when I go to create the package, I am getting 2 types of errors: Component [force:...
  • 111
0 votes
1 answer
34 views

What is the recommended place in SFMC where subscribers's custom user-preferences for emails should be stored (i.e. custom email subscription center)?

Goal: I am looking into creating a custom user-preference center for subscribers in SFMC (to manage email preference - like offer email, newsletter emails, etc - i.e. custom email subscription center)....
  • 135
1 vote
1 answer
17 views

Getting the error "Invalid constructor name: myFlow.start" when calling the flow interview start() method

I'm trying to invoke an autolaunched flow from an apex class like below, @RestResource(urlMapping='/apex/contact_us') global class ContactUsAPI { Map<String, Object> request = (Map<String,...
  • 694
0 votes
0 answers
11 views

Output Specific Map Value from Visualforce Page Controller Extension

In my Visualforce Controller Extension would like to a create a map of values that I can output in my page based on the key. In my Extension Controller I have added a simple map - fieldsMap. I am ...
0 votes
0 answers
22 views

Authorization Code Flow Using Salesforce Connected App

I am trying to understand authorization code flow using salesforce connected apps. I have two different Salesforce orgs I have created a connected app in one Salesforce org which has the following ...
  • 1,155
0 votes
0 answers
23 views

Predefine the values in a collection variable

Is there a way to add text values to a collection variable from a predefined list? I have a very long list (>100 items) that I want to loop through item by item but I can't find a way to quickly ...
0 votes
0 answers
16 views

Import Files and Attachments to the ContentVersion object using CSV file and Dataloader

I am working on migrating files from an old SF org to a new one. I have done a data export on the required files and documents using the native Data Export tool in the Setup. That gave me the ...
0 votes
0 answers
22 views

Aggregate SOQL not covering in test class

Here is the class. public class BillingHistoryList { public BillingHistoryList(){ } @AuraEnabled public static Map<string, Map<Integer,BillingHistoryWrapper>> ...
0 votes
1 answer
21 views

Unable to display contract fields in visualforce page

I have a visualforce page that represents a contract document, which I'm exporting as .doc file. This visualforce page's controller makes a query to get some of the fields of the contract record. Then,...
0 votes
0 answers
17 views

Can't submit support ticket on paid plan

I was on a free plan and need to restore an app I previously had running. When I login to Heroku there is a message that says to please contact support as soon as possible to recover data. I have ...
  • 1
0 votes
0 answers
20 views

I want to show lwc datatable in a nexted table row which is being iterated by a parent component, but my table is coming in column instead of row

I have created 3 components, 1. grand parent component : in that component, I am adding a table header and the view and then in the second component my table rows are coming via lwc iteration and in ...
0 votes
0 answers
11 views

Push configured and gets on messaging().onMessage, but dont showing notification

I configured mobile push as requested https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk. Firebase gets the message here, but not show on my screen. useEffect(() => { ...
0 votes
0 answers
28 views

How to manage subscribers in SFMC where subscriberkey is going to change, impact on journeys and campaigns

Current subscriberKey: In SFMC, we use a unique identifier "Customer_ID" as our SubsciberKey. Use-case: There is a very small percentage of customers where "Customer_ID" may change ...
  • 135
0 votes
0 answers
17 views

Bring filter values to filter SQL results

I'm implementing a SQL query within an Analytics lens, but I want the result to be affected by the parameter selected on a filter, a date filter, to be specific. My query looks like this: SELECT ...
  • 15
-1 votes
0 answers
25 views

Error: attribute [navigationMenuEditorRefresh]: The navigation menu Default_Navigation doesn’t exist.. Check your file and try again

We are facing the issue while deploying the community using change set. The error states :Error: attribute [navigationMenuEditorRefresh]: The navigation menu Default_Navigation doesn’t exist.. Check ...
0 votes
0 answers
40 views

Too many DML statements: 1 LWC

Hello everybody I am working on a LWC form that gather information from the user and validates it and create a new record with the data in the form. The problem is that I am getting a Too many DML ...
0 votes
1 answer
41 views

ClaimRow Function Does Not Work as expected with Data Extension Entry in Journey Builder

I have an issue with the ClaimRow() function added to an email part of a journey running from a Data Extension entry with 150 contacts. Each contact supposed to receive a unique URL pulled from DE ...
0 votes
2 answers
36 views

SOQL: How to query records based on CreatedDate?

From the opportunity object, using SOQL, I want to query records which have been created x days (say 30 days) before today. I have written the following code: List<Opportunity> oppList = [SELECT ...
0 votes
0 answers
18 views

Why my Account Relationship Data Sharing does not work?

I'm struggling with setting up Account Relationship Data Sharing. Seems straight forward, but does not work for me. I have two Accounts: WS TEST and WS TEST Child, each has a Contact with external ...
  • 111

15 30 50 per page
1
2 3 4 5
2543