Stack Exchange Network

Stack Exchange network consists of 174 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]

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.

0
votes
0answers
8 views

How to create the Dynamic table in Lightning component

I am new to Lightning, I wants to make this below table dynamic, So once the searchResult will be having respected data i can show it dynamically by using Iteration tag. Column name and Rows should be ...
0
votes
0answers
5 views

How to use custom label during call of Lightning Component in VF Page

I am trying to use custom label during call of a lightning component in Visualforce Page. but its giving me blank value. can anyone please help me how i can do this, CODE: $Lightning....
0
votes
1answer
9 views

How to setup Salesforce Identity Provider to work with Twilio Flex

What is the process to setup Salesforce Identity Provider to work with a 3rd party like Twilio Flex? Whenever I try to login, I get this error: Incorrect HTTP Method
-1
votes
1answer
11 views

Best website's to practice & master APEX, VF, LIGHTNING coding? [duplicate]

Can someone tell me which are best sites to practice & master coding in APEX, VF & LIGHTNING. I am relatively new to Salesforce. I actually want some sample basic & medium level projects ...
0
votes
1answer
6 views

Change the div's css style in <aura:iteration>

I have a component: <aura:iteration items="{!v.objects}" var="obj"> <lightning:layout multipleRows="true" class="layoutBigCardsColumn"> <div class="slds-...
0
votes
0answers
8 views

Save Email Conversion

I'm trying to use the Lightning Experience UI to send an Email from a Record Homepage via the Activity tab. That way the email that sends from this UI is saving (in a not surprisingly way) in the ...
0
votes
1answer
18 views

How to currentdate.getDate() in JavaScript for Lightning Web Component?

I'm trying to write a test class to automate my several tests in register forms, but the JavaScript currentdate.getDate() isn't working for some reason that I don't know. I'm trying the following: ...
0
votes
0answers
18 views

get image from Attachments related to record and render into lightning:inputrichtext as a preview [on hold]

I need to display Images inside lightning:inputrichtext as a preview. The image will be related record from Notes and Attachment object. Is this is possible?
1
vote
0answers
20 views

I am clicking delete record and record are getting deleted but it does not refresh the table in LWC

import { LightningElement, track,wire,api } from 'lwc'; import getContactList from '@salesforce/apex/ContactController.getContactList'; import deleteContacts from '@salesforce/apex/ContactController....
0
votes
0answers
17 views

lightning component to sort task based on status then second priority is created date

I am trying to sort the lightning component of task based on status then by created date. When I click on sort by Status, it should update the second sort of created date by ascending. So in the below ...
0
votes
0answers
14 views

Any simple solutions for displaying photos in a related list on Lightning record page?

I'm looking for an elegant solution for displaying photos in a related list in the sidebar of a record page. Similar to this screenshot, but having the photo display the full width of the sidebar, ...
0
votes
1answer
19 views

Lightning component button refresh

I have a lightning component button that updates the status of a case when clicked in Lightning. Is there a function that I can use to have the page refresh when clicked because as of now, I have to ...
0
votes
1answer
14 views

How To Build Collapsible Lightning component of 3 level

How To Build Collapsible Lightning component of 3 level Level3 +Level2 Level1 level2 dependent on level3 and level1 dependent on level2 for ex:Bundle product--> Option Product --->Features one ...
0
votes
0answers
15 views

reload the lightning page after calling vf page from lightning controller

I have a lightning component from where I am firing a vf page. That vf page is downloading some data as excel file. I want to redirect to same lightning page after the calling the vf page. but it is ...
0
votes
1answer
31 views

Lightning design system(LDS)- what is possible?

We've implemented couple of lightning based projects involving medium usage of LDS. So far our approach is to build any UI is Check the requirements from business Consider possibilities within LDS ...
0
votes
2answers
27 views

String Split function is not working in the Lightning JS contoller

I am getting array of string from component's attribute to lightning controller, now I want to split that string to comma separated values and want to assign that to another component variable but ...
0
votes
0answers
6 views

setTabHighlighted() returns error “Error: Invalid option property `type`”

setFocusedTabHighlighted : function(component, event, helper) { var workspaceAPI = component.find("workspace"); workspaceAPI.getFocusedTabInfo().then(function(response) { ...
0
votes
1answer
24 views

How to send the div's style through button's onclick in <aura:iteration>?

Even the example from "Lightning Aura Components Developer Guide " doesn't work. I can't set the style to my div. It's because of iteration. How can I fix that? cmp: ...
2
votes
1answer
14 views

How to display Action colum when we convert VF Page into lightning page?

I have contact related list under the account. in Classic if I open any account the related contacts are showing with action column where we can check multiple contacts and mass update(Custom button). ...
4
votes
1answer
425 views

How to add a functionality to stop copy paste on an input field in lightning?

I'm making a form that includes two fields, Email and Re-Enter Email. I don't want the user to copy and paste the email id in the second field. I have to prevent right clicks on the re-enter field and/...
0
votes
0answers
24 views

Limitations with Cases in Lightning

From my understanding there is no 'Close Case' button for Cases in Lightning. Would it be possible to create a custom button that references a flow that could be present at the header along with other ...
0
votes
1answer
27 views

Increase size of Lightning Component to fit properly on a record page

The component I created on the right appears smaller than the activity card. I've tried several ways to increase it's size but have failed. Is there a way to make it look like the card below it? ...
0
votes
0answers
20 views

How to retrieve Parent Object custom fields in Lightning Data Services? [duplicate]

I have a custom field Entity_Id__c on Opportunity Object. I'm building a Lightning Component and want to use from Quote Object via Lightning Action as below : <aura:component implements="force:...
0
votes
0answers
15 views

Lightning:inputField Could not find picklist values for field using GlobalValueSet

I'm using the lightning components lightning:recordEditForm and lightning:inputField to compose a form for a Record Creation. the component works correctly as long as I do not use a picklist field ...
1
vote
1answer
20 views

unable to fetch latest attribute value in lightning

I have picklist in lightning. On onchange fuction it is getting a data from apex method and setting it in a attribute. And just after that when i trying to fetch the value of that attribute. I am ...
0
votes
0answers
13 views

Choose target location for force:createRecord event

I'm firing force:createRecord event from custom lightning component in lightning service console and it seems to always open a new tab or subtab with the record creation form in it. Is it possible to ...
0
votes
0answers
9 views

salesforce 1 IOS standard back button

On click of app on navigation menu, Parent component 'A' gets open,which inside init method redirects to another component B.On IOS, When click on standard back button, it redirects to component A, ...
0
votes
0answers
16 views

lightning:input press enter and hide mobile keyboard

I have a <lightning:input which is used to search for products. CMP <lightning:input onchange="{!c.handleSearchTermChange}" aura:id="searchTerm" label="Search Products" type="search" /> ...
0
votes
1answer
12 views

Knowledge Data Categories in Lightning Knowledge

I'm working on a knowledge conversion from classic to lightning. I've migrated a small collection of article types to record types and enabled lightning knowledge. The problem I'm having is related to ...
0
votes
1answer
15 views

<ui:inputradio is allowing to select multiple records

I have used "<ui:inputRadio>" tag for selecting the one record in the list of records.It is working fine when the all the records are loaded in one page. Its allowing to select multiple ...
0
votes
1answer
19 views

Dispaly an Error Message on unsuccessful POST function

I have a requirement where the user is updating a table and when he/she clicks on the Save button a POST service is called and the data gets saved. The requirement is now enhanced where by the user ...
0
votes
0answers
12 views

How to create Actions(Buttons, Links, and Actions) that opens visualforce page in same window and not as modal?

By default clicking on an Action(Visualforce Page) opens the page in Modal. However in Salesforce CPQ, clicking on 'Edit Line Items' action on Quote opens a visualforce page in same window. How do we ...
0
votes
0answers
14 views

Unable to view task information in Lightning as we can view in classic

We facing a Page cannot find error in Lightning view of a Task record. But we can see this task in Classic view. Please find the screen shot provided below. The above is the classic view. This is ...
2
votes
0answers
21 views

Hiding/Removing Quick Actions

I am in Lightning and I am trying to remove an option from the quick actions of a list view for Task Object. The object settings on task isn't available for me to uncheck 'Delete' option on a profile ...
0
votes
1answer
18 views

How to call VF on the Detail Button from Opportunity

Classic: document.location="/apex/CreateCaseRequest?oppid={!Opportunity.Id}"; I created a new Button for Lightning : did not work {!URLFOR('apex/CreateCaseRequest', null, [ SourceID = ...
0
votes
0answers
19 views

lightning:recordViewForm unable to display for guest community users

asking does recordViewForm in communities only work display if the user is logged into Salesforce? I can't seem to get my output fields to display for a guest user. They're displayed and fine for a ...
3
votes
3answers
407 views

Storable Action - System.LimitException: Too many DML statements: 1

@AuraEnabled(cacheable=true) public static String deleteContacts(List<String> contactIds) { List<Contact> returnList = new List<Contact> (); String query = ' SELECT Id,Name, ...
0
votes
2answers
25 views

iFrame in Lighning Component errored out

I have a lightning component with iFrame. I a getting the 'sameorigin' issue. am I missing anything? Lightning Component: <aura:component implements="flexipage:availableForAllPageTypes, ...
0
votes
2answers
33 views

how to access object values in lightning component

I want to render a table dynamically in lightning. I have a list of data of transaction (Custom object) and list of string which contains API name which data i want to render. I have created a child ...
0
votes
1answer
42 views

How can I call lightning component from Quick Action?

I have a lightning page.I click Edit Page. Now there are multiple sections in which Actions are added. Now I have to add a button / link which will call a custom lightning component. I have attached ...
0
votes
0answers
15 views

Dashboard in lightning is not displaying the x-axis month in correct sequence

We have a created a Dashboard in lightning however the dashboard is displaying the x-axis revenue data in wrong sequence ,Please find the below image. But, In classic it is showing the correct order, ...
0
votes
1answer
22 views

How to query pending server-call actions made from Lightning Controller?

I've been searching through the documentation but I couldn't find anything explaining how to query pending server-call actions made from my lightning component controller. I can debug using the ...
0
votes
0answers
18 views

Passing Component Attribute to Visualforce Page

I need to allow a user to save or print a PDF from a component. My understanding is that I need to utilize a Visualforce Page and embed the component into that page. I have that in place but I'm ...
0
votes
1answer
21 views

How to remove Lightning Component Button from a page under certain conditions?

I have a button on a custom object which was built as a lightning component. I want to remove the button once the custom object has a Status updated to 'Completed'. Do I do this in code or is there a ...
3
votes
3answers
496 views

How much do new Releases impact your orgs?

Recently I was asked to create an excel sheet for my company of all the relevant features Salesforce has added in the Spring Release 19' Now someone is asking me to go through one of our orgs and let ...
0
votes
2answers
32 views

Delete an array element using event.getSource().get(“v.name”)

I try to get index, but it's always -1. JS: close : function(component, event, helper) { let vacancies = component.get("v.vacancies"); //an array let vacancy = event.getSource().get("v.name"...
0
votes
0answers
18 views

Error in fetching record or record metadata in salesforce [closed]

running the same code is working fine in other browsers but the its throwing error in IE Edge
0
votes
1answer
19 views

Fetch current lightning URL

I want to understand if there is any way to fetch the current lightning component url in salesforce and navigate to it I am using window.location.href = window.location.pathname; in my lightning ...
0
votes
1answer
21 views

On record edit, fields value are not populating on modal

when click on the edit button modal is showing and in that modal fields values are not populating when i check debug and console.log record id is showing and set the contact value in attribute. Apex ...
0
votes
0answers
17 views

Dependant picklist in VF Page with or without using apex controller [duplicate]

I have a custom object and it has two picklists. One of them is dependant on the other. I'm supposed to put these on a vf page. The issue I'm having is that the values of the secondary picklist are ...