All Questions

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

LWC as Progressive Web App hosted on Heroku [on hold]

Is there any way to create LWC as Progressive Web App and host on Heroku? Need the solution urgently. Thanks in advance.
0
votes
0answers
12 views

How to set permissions for a Box Sharedlink using the Box for Salesforce SDK?

I am able to create a shared link using the Box for Salesforce SDK, however I am unable to set specific permissions. For example I want to disable the download permission. The Box for Salesforce SDK: ...
1
vote
1answer
34 views

Nested lightning:button onClick Not Firing

When I have a button inside a component inside a lightning:card either as a body element or an action, the onClick is never fired. If I move the lightning:button outside of the container, the event ...
1
vote
1answer
27 views

LWC Dual Listbox field failing to populate values when using getFieldValue

I'm struggling to obtain the values that are part of the Selected list on a lightning-dual-box field. This is the field: <lightning-dual-listbox name="Mass_Payments__c" ...
3
votes
2answers
34 views

Add link on column name lightning-datatable

I am trying to add link on lightning-datatable. But I think javaScript does not accept this syntax this.accounts = data.map(row => { return `{ ...${row}, nameUrl: /${row.Id}}`}) Here is my code:...
2
votes
0answers
17 views

VSC Apex Replay Debugger - Run through multiple classes?

Having an issue where the Apex Replay debugger doesn't go through all the code in a debug log and once it steps into a class referenced from another class it exits out once it gets to the end of the ...
0
votes
1answer
20 views

Accessing variables in a SOQL query

Trying to build a string with the the parts of a SOQL query. I cant get the syntax right with the Account.name and Count fields, even tried the alias name and 'co'. `List < AggregateResult > ...
1
vote
2answers
42 views

SOQL With Owner Fields cause Errors

I'm trying to receive some fields from Owner in a custom object. Some of the standard fields are retrieving perfectly and some throws me an error. Example: [SELECT Name, Fields__c,Field2__C Owner....
2
votes
1answer
22 views

Does lightning-record-form automatically support Standard Design Tokens for Communities?

This lightning-record-form says that "Lightning Communities" are supported. And communities support Standard Design Tokens for Communities that allow e.g. the color scheme to be varied. Is that ...
0
votes
1answer
29 views

Is there a single documentation page that shows what all LWC lighting-input-field types look like?

I'd like to share with our designers the available "easy" input field options but haven't found a good reference link to give them. Is there one? (This Components reference is good for the overall ...
0
votes
0answers
9 views

Add price per x number of units in Salesforce CPQ

I am trying to set up a pricing calculation on a product which is part of a bundle, where the first 2000 units sold will be for $50, but from the range of 2001 - 50000 any additional unit sold will $...
0
votes
3answers
38 views

Method does not exist or incorrect signature: void add(Object) from the type Set<String>

I am trying to populate this Set (buildingIds) with string values, but I am getting the error: Method does not exist or incorrect signature: void add(Object) from the type Set. I am returning some ...
1
vote
0answers
10 views

Survey Questions Score Object Records are not available to query

I am trying to query Survey Questions Score Object Records but I am not able to query via user. User doesn't have the View All Data permission on to the profile. Actually I do not wants to give this ...
1
vote
1answer
59 views

Can I query to all contacts in contact builder

Is it possible to write a query to pull records from contact builder all contacts.
0
votes
0answers
27 views

How to add cc & bcc in Messaging.SingleEmailMessage Email and simultaneously avoid single Email limit being hit

My requirement is to send single email with To/Cc/Bcc added. All the email Ids belong to internal users. Initially, when I was passing the User.Id to these methods, I was hitting the Single Email ...
1
vote
0answers
21 views

Community Error When Deploying Via MetadataApi

I created a community in the target org which has the same name as the community in the source org. I retrieved and deployed the metadata from the source org to the target org using Metadata API ...
0
votes
0answers
9 views

Unable to get Flow Formula References In Salesforce

Trying to replicate Condition 1 in by adding new condition but couldn't see any reference after myVariable.Current.CreatedyBy.
0
votes
1answer
26 views

Unable to set Text Alignment for lightning-input (Number) LWC component

I am using lightning-input of type number (LWC) and trying to have input text center aligned. At the end, element's class is being set to "slds-input", So I cannot use custom class to add css. I am ...
-1
votes
1answer
27 views

aura attributes string list

I use a <aura:attribute name="colorPalette" type="List" default="['red', 'green', 'blue']" /> and default values are not assigned to the attribute. The value that the attribute has is always ""...
0
votes
0answers
17 views

Filter Design Time DynamicPickList values based on another DynamicPickList value [duplicate]

I would like an LWC component to have two design time pick list properties: Category Product Both are dynamically populated. I would like the Product picklist to be filtered by the selected ...
0
votes
1answer
25 views

Parent or Child record fires BeforeUpdate trigger first when attached in Lookup Relationship?

Writing a trigger to handle updating a few fields on a record (of the same object, this is an Account to an Account lookup) when it is attached via a lookup relationship (ie. it is the parent or ...
-1
votes
0answers
34 views

Trigger : After update | Need to create records on custom object [on hold]

if(trigger.isAfter){ if(trigger.isUpdate){ List<Document_c> recordInsert = new List<Document__c>(); for(Case newCaseData : Trigger.New){ if(trigger.oldmap....
0
votes
0answers
80 views

Trigger sends more than one email

This email will send an email alert when an account has 8 cases open within 7 days. The email is being sent, but multiple emails for the Same account are being sent. I believe it has something to do ...
0
votes
0answers
12 views

Aura new record page too tall in lightning sales console

When an aura window that works fine (full screen) in normal UI is opened in lightning sales console, it is partially hidden by the utility bar (History and Notes) at the bottom of the screen. Any ...
0
votes
0answers
19 views

Pardot iframe setcookie issue

I have a website in Wordress. On home page, there is onLoad function which opens a modal popup. The code for the modal popup is written in the page itself. This modal popup contains Pardot's form (...
0
votes
0answers
26 views

Aura if - attribute values not changing dynamically

I have some attributes in a lightning component where i use them in order to change dynamically the screen in some aura: if. i observe a very strange behavior, especially when we have more than 2 ...
1
vote
1answer
37 views

Executing Batch Class In For Loop - Flex Queue Limit?

We have a requirement of operating on data in present in different objects. The total record count (of all objects) ~ 50 millions (some objects holding ~20 millions records alone). So we have ...
1
vote
0answers
23 views

Convert Lead activity issue in JB

Journey ScreenshotOur MC org is integrated with a Sales Cloud org. I have attached Journey screenshots with client name blanked out. I have been trying all sorts of configuration options on the "...
-2
votes
0answers
20 views

Community page and community users [on hold]

everyone How to create community cloud page and community users. Thanks,
0
votes
1answer
18 views

Visualforce Merge Fields

I have a visualforce controller like this , public class ViewAsPDFController { public String TempString {get;set;} public List<Account> accountList {get;set;} public ...
0
votes
1answer
19 views

Is It Possible To Pop Up a Custom Modal Component When The Status Picklist In The OOTB Details Changes To Closed

When a closed value is selected in the OOTB salesforce component status picklist, I would like to Open a Modal Component. How would I go about doing that.
1
vote
1answer
26 views

How to validate Salesforce Package id

Is there a way to validate Salesforce package id? I don't know if there is a database where you can query to see if the package ID is the valid or at least can I validate to see if the format of the ...
0
votes
1answer
26 views

How to map case and category while import articles in lightning knowledge using article import

In classic there are multiple article types. I have taken backup and need to import them again to lightning knowledge using article import tool. I am able to import articles using csv file and ...
0
votes
0answers
20 views

How to display fields dynamically from a master-detail relationship? While adding adding the same fields over [on hold]

What I'm in search for is how would I got about dynamically displaying the fields from an object that is a child. Also suppose this object has 5 fields and I want those same fields to be re-rendered ...
0
votes
0answers
10 views

Ways to Add Custom Actions - Button on Duplicate Record Set

I would like when a user makes an update on the status of a Duplicate Record Set to show a custom confirmation message. Is there any possible way this could be achieved? Is i see, i cannot create ...
-4
votes
0answers
41 views

I need to cover all exception in my Apex test class [on hold]

Test class static testMethod void testbuildPatientReferrals(){ System.runAs(UserTest.createMCMAdminUser()) { TestUtilities.IS_FMA_ENABLED = true; Test.startTest(); ...
0
votes
0answers
37 views

lightning-input-field displays differently in production and sandbox

I have the exact same code in production and sandbox. Things look as expected in sandbox, but in production I can see different css being applied. In Production the lightning input field is being ...
0
votes
0answers
13 views

Can the Community Navigation Menu be restricted [duplicate]

I have some page variations that restrict certain profiles from seeing community pages. I'd like to show the link to the page in the Navigation Menu, but the navigation menu doesn't change based on ...
0
votes
2answers
46 views

Email content not rendering when Pass custom relatedTo object's param from visual force email template to controller

I'm really confused by order of execution. I have tried with a few posts, but mine does not work. Please help with taking a look. I am able to receive the templated email, but there's no incident ...
0
votes
0answers
13 views

AuthConfiguration getSamlSsoUrl method return link doesn't work

So I have the method getSamlSsoUrl(communityUrl, startURL, samlId) from the class AuthConfiguration and returned a very long url with saml id, saml acs, saml binding type, and etc in the url. However,...
0
votes
1answer
35 views

Formula Field based on Subscription Start and End Dates in Salesforce Not Responding as Expected

We have a formula field on the Subscription record called "ARR Contribution". The formula is: Total_Amount__c / BLANKVALUE(SBQQ__ProrateMultiplier__c, CEILING((((...
0
votes
3answers
70 views

AMPscript to show copy dynamically

I'm trying to write a bit of AMPscript that does the following: IF firstname exists say "John, your" IF no firstname say "Your" I tried this, but it doesn't work: %%=iif(empty(@firstName),"Your", ...
-2
votes
1answer
91 views

ContactTrigger: execution of AfterInsert caused by: System.StringException: Invalid id: Trigger.ContactTrigger: line 9, column 1 [on hold]

can some one help me to figure out what changes i need to make on this trigger Hello , The intention of this trigger is to associate Contacts to different accounts depending on the contacts record ...
3
votes
1answer
62 views

Programmatically running “Quick Deploy”

After successfully completing a checkOnly deployment, is it possible to programmatically run the "Quick Deploy" action? Example: sfdx force:mdapi:deploy -d dist/my-pkg -w 5000 -c I don't see ...
0
votes
0answers
18 views

LWC: Unable to debug platformResourceLoader error

I am trying to load several js files in my LWC. But 3 out of the 4 files are failing to load and I can't figure out why. Here's my code: import { LightningElement } from 'lwc'; import { loadStyle, ...
0
votes
1answer
48 views

LWC: Error accessing Inner class from javascript

Im running into the following javascript error when trying to display inner class data on my LWC. This was working fine until I added ".data" to my output variables for employerAddress to resolve ...
-2
votes
1answer
27 views

How do I prevent user saving a lead record if lead status is open? [on hold]

New to Salesforce, trying to build my experience and knowledge with some basic freelance work, any help is appreciated!
0
votes
1answer
39 views

Trying to see if a Custom Field Value starts with any names from a Custom Metadata Type

I'm extremely new to APEX, but it seemed like this was a simple enough requirement. I have a custom field on the Account Record, and a list of 'bad codes' as a custom metadata setting. I need the ...
1
vote
0answers
26 views

DLRS making too many queries to its own object

Our org is using real-time DLRS fields on a few custom objects related to a custom sales order management implementation. The fields are basically there to summarize order total when order items ...
-4
votes
0answers
28 views

Variable does not exist: ListUsage [on hold]

public class ListUsage { public static Integer value = 0; public static void listuse(){ value++; /*sytex for list List<Dtata type> = new List<Dtata type>(); */ List<...

15 30 50 per page