Questions tagged [lightning]
This tag is for questions related to the "Lightning Experience" which comprises a number of elements around a new User Interface on the Salesforce Platform. While it can still be used in a server side MVC environment, it is primarily a MV UI where the Controller is JavaScript based operating from the user's browser. Lightning "Pages" are single page applications.
6,564 questions
0
votes
0
answers
18
views
Error: Could not find column [CreatedById] in related list [Assessments] for entity [Account] on FlexiPage Component
I'm encountering the following error when configuring the FlexiPage in Salesforce:
Could not find column [CreatedById] in related list [Assessments] for entity [Account]
1
vote
0
answers
40
views
Need to mass remove assignments from lightning record page to revise case record types
I am restructuring an org I recently took over. Need to reduce case records types from 10 down to 2. The blocker from changing record types is that they are referenced in a lightning record page (...
0
votes
0
answers
34
views
I have a JSON list view component that displays grey space underneath the available records in the UI. How do I remove this grey space?
I have a list view that is using a custom component which displays grey space under the list. the list is dynamic and can be one records or many. How do I remove the grey space to condense the ...
1
vote
0
answers
29
views
Lightning record page - Hide Tabs on the "Project" page (parent object) dynamically based on "User" (child object)
Project is a piece of work that we are tracking on Salesforce while User is a person working on this project.
Project and User are in one-to-many master detail relationship
Based on the role assigned ...
0
votes
0
answers
23
views
Salesforce Aura Component: lightning:container 403 Forbidden on Refresh with Multiple Instances
I’m running into a weird issue with lightning:container and could really use your insights.
⚙️ The Setup:
I built an Aura component using lightning:container to embed an external app (index.html from ...
0
votes
1
answer
52
views
Increase the height of lightning component
We have developed an LWC to add team members. See the screenshot below:
As you can see in the image above, there is a lot of scrolling and I want to increase the height of the component to reduce the ...
0
votes
0
answers
62
views
Picklist appears empty in Flow
Im trying to show in a Flow Screen the value of the picklist called "Family" that has been previously selected and saved. In salesforce Inspector i see the value of the picklist (so the ...
-1
votes
2
answers
74
views
how to restrict Non Admin profiles from Editing or deleting the opportunity line items at any stage?
I need to restrict Non admin Profiles or Users from deleting the opportunityline items (lookupfield -- product) on added to the opportunity. I need to allow them to edit the opportunity for any ...
0
votes
1
answer
86
views
Accordion title letter spacing
I have implemented an accordion, but I am unable to modify the letter spacing for the section titles.
I want to apply letter-spacing: 0.93px;. I have already tried applying the letter spacing to ....
0
votes
1
answer
84
views
How to remove "Your Flow Finished" from Aura component, while invoking auto-launched flow
I have below aura component which is calling auto-launched flow. After completion of flow, I am getting message on Ui as "Your Flow Finished". Is there any way to prevent this message ...
1
vote
1
answer
67
views
If/else condition in lwc
I have a lwc component where I am displaying 2 custom checkboxes. I have a button created. When checkbox A is checked, the checkbox B should be disabled and vice versa. Based on the checkbox checked, ...
0
votes
1
answer
54
views
remove lightning-combobox design
I've created a custom data type datatable and when I'm trying to align all the columns, the lightning-combobox comlumn has a div that doesn't let the picklist stay entirely at the top of the column. I'...
0
votes
0
answers
72
views
Lightning (Aura) Component refreshView updating entire page on Mobile
I'm currently running into an issue where when $A.get('e.force:refreshView').fire();
is called, it's refreshing the entire page. Since this line of code gets called via <ltng:require ...
0
votes
0
answers
69
views
How can I query a non-namespaced custom object in a dev org that shares the same name as a managed package object?
I have a managed package that includes a custom object called Action__c. The package also includes an Apex class that uses a dynamic query to fetch records. The Apex function takes two parameters: the ...
0
votes
0
answers
160
views
Related list (single) is in card-style?
I’ve noticed that related list (single) on Salesforce Lightning record pages are now displaying in a card-style format instead of the tabular data table format that I recall being available previously....
1
vote
0
answers
279
views
How to Track a Transaction from LWC to Apex and Back Using Nebula Logger, Maintaining Logs in Order?
I am trying to log some details using Nebula Logger in Salesforce to track transactions from LWC to Apex and back to LWC. I have successfully captured detailed logs in Apex, including logs before and ...
0
votes
0
answers
442
views
Using html2canvas , the screen capture is not taken
<template>
<div class="print-preview-div1">
Take screenshot of this div.
</div>
<div id="screenshotcanvas" class="screenshotcanvas&...
1
vote
1
answer
79
views
Access and modify attributes of svg markup elements
I have a simple lwc component whose markup and js is below. The template contains svg tags. I want to access and modify few elements
Like in this example i want to access the circle element and change ...
0
votes
0
answers
561
views
Cannot receive Prefill value on an OmniScript from LWC
I have two OmniScripts which are being called from LWC with template if and else condition. I am checking a variable inside a code, if the value of the variable is true, OmniScript 1 is getting called ...
0
votes
1
answer
305
views
Lightning Data Table Rows are Hiding Picklist Custom Data Type Dropdown Menu
I am trying to implement a new lightning data table LWC, and I want to add a few picklist custom data types to some of the table cells. The picklists render correctly. However, the dropdown menu for ...
0
votes
0
answers
128
views
Opportunity Stage Change Flow Closing Opportunities Prematurely
Purpose of the Flow:
The flow is designed to automatically close certain opportunities when a new opportunity is created. Specifically, it should close any open opportunity titled "Undecided"...
0
votes
1
answer
318
views
Event handler when user click the 'X' button of quick action
I have an LWC component that gets triggered via a quick action. I want to refresh the page from where the quick action is launched when someone clicks on the 'X' icon. I'm not able to find any event ...
0
votes
1
answer
234
views
Is there any better way to find whether lighting component is loaded or not, from a diifferent (not related) LWC present on the same screen(in flow)
My use case is that:
I have LWC component embedded in a screen flow -> 'validation' LWC. This flow is triggered as action of quick action on record detail page. This flow basically submits the ...
5
votes
2
answers
310
views
Why is a dynamic picklist query in my Custom LWC component executing twice when added to App Builder and click save?
I have a Custom LWC component exposed on a Record Detail page in Salesforce. This component includes a Design attribute that dynamically queries picklist values. When I drag and drop this component ...
0
votes
1
answer
261
views
How set font size on a lightning-button-menu?
How do I set the font size on a <lightning-button-menu> component.
I don't seem to be able to change it at all. I have tried styling hooks and regular css. No luck. Here is the code -
<div&...