Quantcast
Channel: Active questions tagged lightning-experience - Salesforce Stack Exchange
Browsing all 3019 articles
Browse latest View live

How to keep the width of the lightning:input responsive in Lightning Component

I have a lightning:input field inside lightning:layoutItem. My requirement is to increase the width of the textbox. So,I am using custom CSS where I am setting the width to 55rem. But looks like the...

View Article


Image may be NSFW.
Clik here to view.

Log a Call Text Cut Off

I made a new global action to be put into the Contact page (in the "Log a Call" section). However, the text is cut off. There is no option for me to resize this button to prevent truncation. Please...

View Article


Display value in based on header value in in slds table

I have a requirement where I have to form an html table using slds classes. In that table both the header values and table vales will be dynamic. Is there any way in which I can populate the...

View Article

How to check values of OutputField in lightning component on external objects

I am trying to check the value based on outputfield, Here everytime it is showing else condition values only. Basically the value might be either 0 or 1. Here is my code. <aura:component...

View Article

How to fetch the label of the lightning-menu-item in LWC [duplicate]

In my scenario, I want to fetch the label of the menu-item which is clicked.<lightning-button-menu alternative-text="Options" key={acc.Id} onselect={handleOnselect}> <lightning-menu-item...

View Article


Display View icon inside an encrypted lightning-inputField and on the click...

I have a requirement where I need a View icon inside lightning-inputField in a Lightning-record-edit-form. This field will hold masked values. When user clicks on the view icon, it should unmask the...

View Article

How to prevent e.force:createRecord event to navigate record after record...

I have a lightning component and in my component i have on button for new record its work fine but after record created it goes to record detail page. I want to prevent navigate event and close the...

View Article

Invoking one component from another component through Button

Getting below error while clicking on button This page has an error. You might just need to refresh it. Action failed: c:TestRateCard$controller$callMe [Cannot read property 'setParams' of undefined]...

View Article


Why my variable is list of list

In my LWC js file, I have one list variable, but when I assign values to it, it's becoming list of list.This is the current structure which I'm getting:**[[{"name":"Report -...

View Article


Lightning for javascript buttons

I have one custom button with Javascript code in Salesforce classic. In Lightning experience, i can not see this button as lightning doesnt support buttons with js code. What i need to do to convert...

View Article

navigateToURL not passing the isdtp url parameters from my component

Below is the simple code({ gotoURL : function (component) { var urlEvent = $A.get("e.force:navigateToURL"); var urlparam = "isdtp=mn"; urlEvent.setParams({ "url":...

View Article

How to Display Accounts of Logged In user on clicking Accounts Tab? [closed]

How to Display Accounts of Logged In user on clicking Accounts Tab using Lightning Aura Component instead of the Existing Account List? How to over ride that tab page in Lightning.

View Article

Image may be NSFW.
Clik here to view.

How to show error on child component field or lookup field in lightning...

and below is my controller and component<div class="slds-form-element slds-size--1-of-3"> <c:LookupSObject aura:id="processField" label="Process" pluralLabel="Processes"...

View Article


Image may be NSFW.
Clik here to view.

create a table in lightning component by filling data from Task object

I need to create a table in a pop-up message on the Account record page. The table in the pop-up message will always have 5 rows and 3 columns. The first row and the first column are strings which will...

View Article

How to increase the length of quick action popup

I have a lwc component, which is used in Quick Action, the standard quick action popup length is small, I want to increase its length. To increase the width I have used below code, but when I put the...

View Article


How to get source of lightning component

I have 2 quick Action buttons, which call same lightning components. How should I know on component initialization that which Quick Action triggered lighting component?

View Article

How to add a onmouseover Attribute method in lightning datatable

We are using lightning datatable for inline editing and i want that the data table records should be seen through popover . I am using below code :- i tried to add onmouseover method but its not...

View Article


Convert JavaScript List Button to Lightning

I have a js list button which opens up new record (on edit mode) and pre-populate fields. I'm trying to figure out - what is the best way to convert this button to be lightning ready, but also keep the...

View Article

Dynamically show tooltip for different fields lightning

I have multiple fields, I want to show different tooltips based on the mouse on hover of the label.Ex: Label1 Label2For Lable1 I want to show tooltip label1 and for Label2 -- tooltip label2. I tried...

View Article

Getting Session ID in Lightning

BackgroundI'm using Apex Wrapper Salesforce Metadata API to update some picklist values on the fly. (i.e. Every time a record is inserted/updated/deleted in Table A, I'm adding/subtracting picklist...

View Article
Browsing all 3019 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>