Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lightning-experience]

Lightning Experience is the new salesforce platform ecosystem comprising Lightning Experience: Desktop app, Lightning App Builder and Lightning Design System

0
votes
0answers
10 views

Report in LEx truncates values

We have a report in Classic that displays a Description field. When the field value is fairly long (many hundreds of characters), the report displays all data (desired behavior). When we view the ...
0
votes
0answers
25 views

How to create a multiple file uploader on LC for Public site or Standalone App?

I'm wondering if there is any way to build a multiple file uploader that creates ContentVersion and ContentDocumentLink records. Is there any complete guide out there?!, because as you can see on the ...
0
votes
1answer
20 views

Duplicate Management in Lightning - Matching Rules vs Duplicate Rules

In Salesforce Classic experience, we can manually search for duplicate records and pick and choose which ones we want to merge. In Lightning, however, this is not possible, and only records identified ...
0
votes
1answer
32 views

Get custom field in user object

In my object manage runder User I have a custom field named Business Type, in my apex class I want to retreive the current logged in users Business Type. It can only be Commerical Or Residential. I do:...
0
votes
0answers
19 views

AccordianSection name property is dynamically not changed, leading to serious problem in iteration

Hi I am working on a problem where I have multiple records of an Object to be shown and each of these records, will have many child records of It's Child Object. I have chosen AccordianSection to ...
1
vote
0answers
29 views

Error: [LWC error]: Invalid url value “”. Expected a non-empty string

Error Details I keep seeing this error in my Developer Console each time I load a page or a Lighting Component in my Lighting App. Please note there are no LWC components in the app. I see my ...
0
votes
1answer
20 views

apex:outputLink (in VisualForce Page) to Custom Lightning Page

Generally, in our custom visualforce pages we have a link from the record edit for that gets the user back to the listing page for the given custom sObject that looks something like: <apex:...
0
votes
1answer
41 views

How to call my dynamic component function inside aura:if Tag?

<aura:component controller="LController" implements="flexipage:availableForRecordHome,force:hasRecordId,lightning:hasPageReference,lightning:actionOverride" ...
0
votes
1answer
28 views

popup on case object edit page, when a picklist value is selected

Is there any way I can have a dialog box pop over on selection of particular picklist in the standard case object. My use case is: If the user selects one of the picklist value from the dropdown in ...
0
votes
0answers
17 views

unable to pull down long text area in lightning experience but works in Classic

We are unable to view the long text area with the same height in lightning experience which we can see in classic experience.
0
votes
0answers
12 views

Lightning Standard List View - select specific rows

I want to Select individual/multiple rows from a Standard Lightning Lead List View on click of a button in a Lightning Page that I've configured. What are my options ? I'm thinking using a List View ...
0
votes
0answers
24 views

Help with lightning:overlay library? I cannot load these two components

I want to create a dispactcher which checks if it is a create or edit(record Id) and then decides on the record Type(legal/natural). On deciding the record Type I want to show the respective component ...
0
votes
0answers
17 views

Not able to get DOM of Audio tag in lightning component

I have a lightning component, which implements lightning:backgroundUtilityItem interface. In my lighting component, I have a audio tag, based on some event, it play a music. But on my event, I'm ...
0
votes
0answers
7 views

after adding product to opportunity line item, the product do not display until and unless refresh the page

I have Embedded the Visualforce page on the Add Product button in lightning experience. when I am adding the product to opportunity, after adding I need to manually refresh the page again to appear ...
0
votes
1answer
19 views

Call a helper function from within another helper function not working

I am trying to call a helper function from within another helper function, I read on this post that using this from within the helper function should grab the context of the object and I should be ...
0
votes
0answers
22 views

Add News Standard Component to a Custom Component [duplicate]

I have a requirement as to make the New Standard component (that can be set in any lightning page from lightning app builder) conditionally rendered. To that respect I am trying to create a custom ...
1
vote
1answer
41 views

Can I use Modal window with lightning:recordForm?

Okay, I am using lightning:recordForm to create a standard contact form in which I am redirecting on cancel and on success using lightning:navigation but since the layout in recordForm is not that ...
0
votes
1answer
44 views

How to disable button on parent record in lightning:treegrid component

I am newbie to lightning and I am having treegrid lightning component in which I have button column. My requirement is to disable or hide the button on parent record. Below are my code. I am not sure ...
0
votes
0answers
27 views

How many lightning components can be added to a lightning app?

I did not find it in the documentation. How many lightning components can be added to a lightning application? Thanks!
1
vote
0answers
7 views

Lightning Experience Lookup Field not display option “Create new Object”

I have a question, I have a Lookup Field in Case to Order but when I click on this field the option "Create new Order" is not visible, just give me suggestions but this option "Create new Order" does ...
1
vote
1answer
17 views

Ability to remove action overrides in Lightning whilst leaving them in place in Classic

The documentation states/strongly implies that there should be an ability to leave an action override in place in Salesforce Classic, whilst removing it in Lightning/Mobile: Remove Overrides for ...
1
vote
1answer
24 views

How to deviate to force:createRecord based on the recordTypeId in a salesforce lightning component?

I have a ligthning component that is clicked when someone is creating new Corset record on the account page which is using force:recordData and also force:recordEditform I am trying to deviate to ...
3
votes
1answer
84 views

Read-only permissions on Files

When a user is looking at a case or contact, I'd like them to only see Files associated to the record, but not have the ability to upload a File. Right now, the Standard Files Related List allows for ...
1
vote
0answers
50 views

Public Page: Lightning Upload not attaching documents [closed]

We are working in lightning and created a flow to upload files. when we are calling the flow in visualforce page and using the page on a public website, its upload file functionality is not working on ...
1
vote
1answer
37 views

Lightning pageReference state no longer contains my parameter/attribute in Summer 19

Ran into an issue after the Summer 19 preview in my sandbox. I have a Visualforce page re-directing to a lightning URL Accessible component passing in a parameter, here is the controller code: ...
2
votes
1answer
60 views

All createComponent() calls fail if one fails

In Lightning Experience, calls to createComponent() or createComponents() will return as failures if there is an error during the creation of any one of the individual components. The error messages ...
1
vote
1answer
19 views

Lightning Experience configuration converter doesnt show VF pages after Scanning org

Its shows this message after scan is complete instead of showing list of vf pages. Your org doesn’t have any Visualforce pages, or none of your Visualforce pages fit the criteria for this list view. ...
1
vote
0answers
22 views

Issue with setting lightning:map center attribute in Summer 19 preview

Wondering if anyone else has come across this and may have a solution/suggestion. I have a customized mapping component our service people are using, and while preparing to work on something else for ...
2
votes
1answer
36 views

Event listener being attached to lightning component everytime it loads

I have an iframe inside a lightning component that calls window.top.postMessage("data", "*");. When my lightning component loads it adds an event listener of message to listen to this post window....
2
votes
1answer
54 views

<aura:html tag=“style”> not working after summer 19 release

I applied the below code to increase the width of quickAction lightning component <aura:html tag="style"> .slds-modal__container { width : 60% !important; max-width : 80% !...
1
vote
1answer
61 views

issue with Summer'19 release

Guys I could see that the comfy and comfort views for lightning experience have been changed. If you could see the below screenshot I have use a lightning select in a modal popup(custom lightning ...
1
vote
1answer
48 views

LWC: How to call a community page on button click in LWC?

How to call different community page from LWC page on button click that exists on a community page without passing the URL? navigateToWebPage() { // Navigate to a URL this[...
1
vote
2answers
47 views

Dispatched event not firing in parent aura component

I am following this guide to communicate between my LWC and my aura component. But for some weird reason it still doesnt work. myComponent.cmp <aura:component implements="force:hasSObjectName,...
1
vote
1answer
27 views

Can an Aura action override redirect to the standard lightning action?

I need to override the New Case standard action with a custom Lightning (Aura) component, but I only need to do so for some record types (3 of 6). Is it possible within a Lightning Component to ...
0
votes
1answer
20 views

Setup: add more tabs LEX

So by now we're all familiar with how LEX looks. Here's a snapshot of the Setup page. We get 2 tabs: Setup and Object Manager. Switching between them loses your place. Say I was inside an object and ...
10
votes
2answers
1k views

How to pass query parameters in URL in Salesforce Summer 19 Release?

The requirement was to open a Lightning App page and pass some query parameters in the URL. These query parameters were then used to query data and display in a Lightning component present in the ...
4
votes
0answers
67 views

Why I can't login to Lightning Experience? (only Classic is working)

As of today I can no longer login to newly created DE Orgs spun with the Environment Hub. Login works sometimes directly after creation for some minutes or does not work at all. It just shows an ...
0
votes
2answers
34 views

Reset lightning:input textbox Field Value to Null

I am trying to create a button which will update a field value to null (RESET it). However, it's not working and not even giving any error. So when I click on the button, nothing happens. lc.cmp: &...
0
votes
1answer
55 views

Hide Standard Page Header in Custom Lightning App page

Is there a way to hide the page header in a custom Lightning App shown below ? This banner is not available in the Edit page section. I have selected 'One region Template' and added just one ...
0
votes
1answer
25 views

Create and Navigate to an Account record Detail Page

I am trying to create Lightning Code with will create an Account Record and navigate to its record detail page... However, I keep getting error as "Cannot Read property setParams of undefined" ...
0
votes
0answers
20 views

Date format is not matching with the input format of the date type input field in lightning

Hi the input format of the date is not matching with the manipulated format of the date in lightning component. I wanted to auto populate the end date based on start date i.e end date = start date + 1....
1
vote
1answer
33 views

Remove Import action from Recently Viewed list view (LEX)

We have a list view that we use in our AppExchange product. Somehow Recently Viewed list view has Import button that seems broken and is useless for us - we have our own Import button! Is there a way ...
0
votes
1answer
41 views

Is it possible to set the “Related Record” Lightning Component to open in the Classic style?

So I have a few "Related Record" components on my lightning pages like this, but I would like the components to have the Classic view. (As its much tighter and feels faster). Therefore keeping the ...
0
votes
3answers
38 views

Reusable components in lightning?

I have a requirement in which i have to create a lightning component which can be used in any lightning APP in Salesforce org. Example : Created a component which display address info based on ZIP ...
2
votes
1answer
41 views

Unable to switch to Salesforce classic from lightning

I have assigned one permission set to user to enable lighting experience. Please note Hide Option to Switch to Salesforce Classic is unchecked (false) and also at profile level this checkbox is false....
0
votes
0answers
20 views

How to close the visual-force page opened as an iframe in the lighting view

I am calling a visualforce page on click of a button (URL type) as displayed below: On click of a button below page is opened. Now I am not able to Close this page to go back to the record page. I ...
0
votes
0answers
18 views

Pre Chat form labels not visible in website

I have the Snap-in code in my website, but currently its not displaying any label in the Pre Chat form. When I use the same Snap-in code in my developer's org website I can see the prechat from label. ...
1
vote
1answer
22 views

What causes record pages to not show up for users?

I created a new contact record page for my users using the page editor and activated it as the org default. None of the changes I've made (adding lightning components like single related lists) show ...
0
votes
2answers
27 views

Mandatory error message not displayed on field when only a single field in mandatory

I am using the following piece of code to display required error message var allValid = component.find('smaField').reduce(function (validSoFar, inputCmp) { inputCmp....
1
vote
2answers
40 views

Lightning action(Email & Task) buttons not showing on Lead

I have the following configuration set and still Email and Task buttons not showing in the chatter lightning Lead Object: 1- Deliverability = All Emails 2- Task Has a record type 3- Feed Tracking ...