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.

Filter by
Sorted by
Tagged with
1
vote
2answers
53 views

Icon is not displayed in lwc

icon does not appear on page <span class="slds-icon_container slds-icon-doctype-xml" title="Description of icon when needed"> <svg class="slds-icon" aria-hidden="true"> <...
0
votes
1answer
869 views

Case Custom Button Lightning to Update Status

I am trying to update case status field on lightning detail page. We are not using case feed. I think lightning components cannot be added on case and Work Order detail page. FYI: Actions on Case ...
0
votes
1answer
21 views

How to save record from a different object using nested recordEditForm

I have managed to get fields from two different objects to display in one lighting component but I am having a few problems off the back of this. When saving it will only save the main record and ...
2
votes
2answers
1k views

Issue with hideCheckboxColumn in lightning:datatable

I am facing some issue with table rendering using lightning:datatable. If i use hideCheckboxColumn = true, table is rendering properly - No issue <lightning:datatable data="{! v.mydata }" ...
3
votes
1answer
151 views

Will Force.com stop working on salesforce Lightning?

I would like to know if the October 2019 switch from salesforce classic to lightning. Will the force.com pages stop working?
0
votes
0answers
17 views

Flow is not loading in Flow Builder

We have a custom app that creates a flow through apex and there's url redirect button once the flow is created. I am getting below error when i click on the redirect button. I can see the flowId (...
1
vote
0answers
15 views

Enable Lightning runtime for flows

I have a Softphone Layout that needs to call a lightning component from a flow. I wanted to call the lightning component from a Visualforce page so I could set the finish location. When I try to ...
6
votes
1answer
3k views

Difference between lightning:button & ui:button

I was going through the SLDS document and couldn't understand the difference between various UI components provided by SLDS vs Lightning components. For instance, <ui:button> & <...
0
votes
2answers
24 views

Aura iteration is not holding on particular selection value resetting to first value every time loop is started

<lightning:select label="Permissionset Names" onchange="{!c.doInit}" > <option>None</option> <aura:iteration items="{!v.set}" var ="d"> <option>{!d....
1
vote
1answer
44 views

How to upload Files as Guest Community User

According to Spring 19, it should now be possible to upload files as a Guest Community user. But if you try either of, <lightning:fileUpload> . <lightning:input aura:id="fileId" onchange="{!...
2
votes
1answer
21 views

Record edit form not accessible by a user

This question is the extension of THIS question. Posting again (with simplified code) as I am blocked in this issue. Even for very simple form as below I am getting [object object] error. <...
3
votes
1answer
35 views

Is it possible to return a value from a Lightning Component to a flow?

I have a screen flow that calls a Lightning Component (Lead Search). The component allows a user to filter for certain records (opportunities, accounts, and leads). The controller APEX class returns ...
0
votes
0answers
13 views

GetTabInfo or TabUrl of Closed Tab in Lightning

<aura:handler event="lightning:tabClosed" action="{! c.onTabClosed }"/> ({ onTabClosed : function(component, event, helper){ var workspaceAPI = component.find("workspace"); ...
0
votes
1answer
28 views

You might just need to refresh it. Assertion Failed!: Provider type not supported : false Failing descriptor

Iam facing following error with my code: This page has an error. You might just need to refresh it. Assertion Failed!: Provider type not supported : false Failing descriptor: {c:Picklistversion2} ...
0
votes
1answer
26 views

Component.find not working for lightning:input

I need to enable the text boxes based on the value selected in combobox - Below Picture - Based on the Combobox changed I am trying to enable the corresponding input boxes, which is not working ...
0
votes
1answer
17 views

How to invoke a visualforce page from a Lightning component?

I need to know how to be able to call a visulalforce page from a Lightning component by a click of a button. Here is my js controller: gotoURL : function(component, event, helper) { var urlVf =...
0
votes
2answers
37 views

Reference Elements in Child Lightning Component from Parent

I want to be able to reference an element in a Lightning component that's nested in a parent component. Child component (named "MyChildComponent") <aura:component> <lightning:input aura:...
0
votes
2answers
352 views

How to insert ContentVersion with preview in files?

I can insert an image, but it's without preview. I can open the image after downloading, but a need preview. It writes in files "No preview available". How to fix that? Here is my code. js: ...
0
votes
1answer
19 views

Theme4u Console not getting returned by Quick Action

I am trying to determine whether the user is in Lightning Console when they select a Quick Action (Lightning Component) but it comes back as regular Lightning UI no matter if the user is on a Console ...
0
votes
1answer
19 views

lightning console dataTabid changes dynamically only after page refresh

In lightning console app, the tab id of the primary tab changes dynamically after refresh (F5), is there a way to capture this? for eg: I have two primary tabs opened : First account : Note the data-...
0
votes
1answer
338 views

How to modify inner html value in lightning component?

I want to set inner html value dynamically from custom label . <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1"> Lightning controller : var hideElement = ...
0
votes
0answers
33 views

Metadata Retrieve issue Salesforce

When i try to access other org metadata item list after authentication getting the following error .. Web service callout failed: WebService returned a SOAP Fault: INVALID_CROSS_REFERENCE_KEY: ...
0
votes
1answer
344 views

Is it possible to enable lightning on a profile but have new users default to classic?

I couldn't find anything on this option. I would like to enable all users in a profile to have lightning available for use but still default users to classic until the conversion is made. I ...
0
votes
1answer
14 views

How to get value of inputSelectOption in controller lightning

I have a lightning component which fetches all the recordtypes of an object. The user kan select the desired recordtype from a picklist. How do I get the selected label or value in my controller. I ...
0
votes
2answers
36 views

Passing parameter in getRowActions

JS Noob here. I am currently following lwc datatable documentation to create a datatable with actions. The constructor has an argument as 'data' which I want to pass in getRowActions method. The '...
0
votes
0answers
5 views

How to add a 'Detach Article' in standard Knowledge Component in Lightning

I am unable to see 'Detach Article' option on drop down on Knowledge search bar.However I can see 'Detach Article' quick action in buttons,link & Quickaction of Knowledge object. How to add '...
1
vote
0answers
172 views

Trigger native Add Products action from Custom Component

On an Opportunity, you have the ability to Add Products to it in an Opportunity Line Item. This opens a search modal that pulls the Products in the Pricebook that you can select, then sends you to ...
0
votes
2answers
31 views

In LWC How to redirect back to case list view page after opening a record creation popup by clicking on 'New' overrided button. LWC

I have a requirement to override 'New' button for record type selection CASE object, on recordType selection for one of the record type(1 out of 4) i need to open custom LWC component. for 3 remaining ...
0
votes
1answer
1k views

How to get Reference field value for lightning:datatable data attribute

I'm creating the lightning:datatable dynamically and passing the data by querying from contact object, and I have a parent Account.name field in the SOQL query and I have specified the field Account....
0
votes
1answer
25 views

not able to access the variable values after using the continuation class

private class StateInfo { Account acc {get; set;} StateInfo(Account acc){ this.acc = acc; } Contact cont {get; set;} StateInfo(Account acc, ...
0
votes
1answer
35 views

HTML Source bug sending Rich Text field in VisualForce Email Template

Background We are using Lightning. I need to create an email template that a user can use on a custom object's Activity > Email tab. The object records meeting minutes and includes a rich text ...
1
vote
0answers
410 views

In Lead conversion, existing Account and Opportunity standard and custom field values are not visible in lead convert page

Created Lead with company name which is already available in the Account. Then I converted the lead to Account and Opportunity. In lead convert page I selected the existing Account, In Account compact ...
3
votes
2answers
745 views

Hyperlink formula field not visible in List view for lightning

I have one hyperlink formula field- HYPERLINK("/apex/Submit_Forecast?id=" +Id & "/view", Name ) I added this field in All list view of object. It is working fine in salesforce classic but ...
0
votes
1answer
33 views

Lightning report display problem when using Edge

I have a Lightning report with two group by fields and various fields in the details. The report is producing the correct data but does not display correctly when using the Edge browser. For ...
1
vote
1answer
80 views

How to avoid scroll to last focused element on Toast close

I'm using a Toast for showing whether a search has successfully completed or not when clicking the "Search" button. My problem is that, when it shows the list of results and I'm scrolling along it, ...
5
votes
1answer
1k views

force:recordEdit UI not working properly

I am playing with force:recordEdit and it's looks like there is some issue in UI. Here i have attached the code and UI screenshot. In this example i have used hard coded id of contact record for ...
6
votes
2answers
3k views

window.onload() and LockerService

When calling window.onload() and LockerService is enabled, I get this error: aura_proddebug.js:17569 Uncaught TypeError: Cannot use 'in' operator to search for 'target' in undefined at Function....
0
votes
1answer
30 views

A parameter to an Aura Action is undefined. But not always. Why?

I have a particularly strange issue where one, and only one parameter to an Aura Action is undefined. Worse, it seems to be nondeterministic when it is undefined, and when it actually works. Relevant ...
0
votes
1answer
18 views

Embedding YouTube Playlists [on hold]

Anyone tried embedding a YouTube playlist on a Salesforce Lightning page? I’ve tried embedding the playlist URL into a Lightning component and all I am able to display is the first video in the ...
0
votes
1answer
13 views

Lightning Community Custom Theme/Component/Content Language change (text/button label)

Any one has idea on how to change language based on profile language for text and button labels for a custom component in lightning communities? I tried to add language to the community page but it is ...
0
votes
1answer
929 views

ReferenceError: c is not defined at HTMLAnchorElement.onclick

When I am creating a list at js controller side I am adding hyperlink to 1 value, So while displaying the list on table that column will look like href. lstApplications is wrapper list returned from ...
0
votes
0answers
10 views

Will Increasing Email Characters to 131k introduce Lag

Will increasing the Email Characters to 131k introduce lag within the org either in loading the email record page or within other object records?
0
votes
1answer
21 views

Package a list of packages is it possible? [on hold]

Hi so apparently I have made some progress on the org and packaged the features . Assuming that I have features : foo and bar. and packages : foo-package and bar-package can i package both of them to ...
0
votes
1answer
19 views

Retrieve currentRecord from aura:iteration to controller.js

I am quite new in lightning and I need an hint in order to resolve a problem. What I would like to achieve: in a table component, for each record I would like to see a column with different icon ...
0
votes
3answers
33 views

Appending Value in hyperink in LWC

As in LWC values cant be appended directly in view for example : <a href={xyx.abc} target="_blank">link to create</a> ====> <a href="abc"+{xyx.abc} target="_blank">link to ...
0
votes
0answers
26 views

Identify when lightning:recordEditForm finish to load inside aura:iteration

I have a situation where I need to dynamic create lightning:recordEditForm and identify when it finish to load all the forms. The bellow structure works to display as I expected but it may take some ...
1
vote
1answer
348 views

Save Template disabled when sending email in Lightning

When I try to send an email, I want to be able that after a proof-read, I do want to save the existing template, not as a new version. Even if I am an administrator I can't save the template. Is ...
1
vote
1answer
22 views

How to get field level help through wire in LWC

<lightning-helptext class="customIcon" content={helpText}></lightning-helptext> How to fetch help text of a specific field in JS as we do in apex/VF using $ObjectType....
1
vote
1answer
339 views

Get component in helper class from current context in Lightning

As we all know helper methods in Lightning usually have the following signature: openAffiliationCreateDialog : function(component, event) { ... } My question here, is it possible to stop passing ...
0
votes
1answer
140 views

Refresh standard page in Lightning Experience

I have a formula data field on an object which is not reflecting updated values when viewing it in Lightning. This is directly related to the known issue https://success.salesforce.com/issues_view?id=...