Questions tagged [lightning-experience]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Treegrid doesn't persist selectedRows

I'm using lightning treeGrid in my lightning Component but once I collapse Grid and re-expand it, selected values are no longer selected. Component: <aura:attribute name="gridData" type="Object" /...
0
votes
0answers
10 views

Overriding New button on Opportunity in Lightning page

I have created a button - 'New' on opportunity. User is clicking it from account ->Opportunity Related list to create a new opportunity. My Component and Controller is like this -> -----------------...
0
votes
1answer
16 views

How to control LWC component's read/edit access for different User's?

My requirement is to control LWC component's read/edit access for different users. Some users may be given read only access, while some have to be given Edit access for the same component..!! I ...
0
votes
0answers
11 views

When redirect using sforce.one.editRecord or navigateToSObject after Save (standard) prevent it from redirect back to the previous LWC/VF

I try to google for this case but still not able to figure out. Maybe I use the wrong key word. The background : I am using LWC in Visualforce page and because Navigation does not work so I use ...
0
votes
1answer
15 views

How to prefill values of a new record in Lightning?

I know that this question covers the same subject, but the answers are not thorough enough, they just refer to the Salesforce documentation and that should be it. But the documentation is not clear ...
1
vote
2answers
46 views

How to get return value from helper class to controller class?

I want to have the value of Helper class's function who calls Apex method and return the state to controller from where it is being called? For eg. below is the code : DummyController.js ...
0
votes
0answers
14 views

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 Label2 For Lable1 I want to show tooltip label1 and for Label2 -- tooltip label2. I ...
1
vote
1answer
30 views

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 ...
1
vote
0answers
21 views

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 ...
0
votes
0answers
16 views

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 ...
-2
votes
1answer
24 views

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.
0
votes
2answers
37 views

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 - All-2020-03-18-06-50-...
0
votes
2answers
19 views

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]...
0
votes
0answers
17 views

Display View icon inside an encrypted lightning-inputField and on the click of that icon, unmask all the encrypted values in LWC

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 ...
0
votes
0answers
21 views

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-...
0
votes
1answer
16 views

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 ...
0
votes
0answers
10 views

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 ...
0
votes
0answers
25 views

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 ...
0
votes
0answers
16 views

Salesforce User Timezone reverted back

I am faced with a problem where I changed the user timezone on 28th Feb,20 to (GMT -04:00) hours. But today I checked the user timezone and found that it has been reverted back to the previous ...
1
vote
1answer
59 views

Mask Characters of Lightning-input-field while typing - in LWC

I am using lightning-record-edit-form to design a form layout for creating records. In that form, for one of the field, I want to mask the characters while typing. But looks like there is no such '...
0
votes
2answers
31 views

Confused with how lightning record pages work

I logged in as System Admin and switch to app named "Acme Console"(blurred the actual name in screenshot but let's just assume that is the app name). I navigate to Order record detail page and click ...
1
vote
1answer
66 views

Open particular note in enhanced note editor in lightning experience

I am looking for a way to open a note linked to a record in enhanced note editor on a button click (see attached). Has anyone come across a similar requirement? Is there a way to achieve this?
0
votes
0answers
22 views

Get record type Id from record type Name/DeveloperName in formula

Is it somehow possible to derive record type id from name in formula? I'm trying to create New button (List Button type) by specifying its url: /lightning/o/MyCustomObject__c/new?recordTypeId=...
0
votes
1answer
14 views

Salesforce Lightning Custom Object Calendar Sharing with users

We want to create Salesforce Lightning Custom Object Calendar and make it available for all the sales reps. How do I do it rather than asking each user to create their own.
1
vote
1answer
21 views

Marketing Cloud Connect features in Lightning Experience

I'd like to know if now it's possible to use Marketing Cloud Connect features in Lightning Experience? thank you very much
0
votes
0answers
16 views

How to convert apex:inputField to lightning experience while migrating whole org to lightning

Applying slds to existing cf pages applied lightning stylesheet=true, apex:slds and handling other CSS but apex: input field for lookups populating the classic window while clicking in search 🔎 icon ...
0
votes
1answer
17 views

trying to validate data in component and throwing error on component

I am trying to validate data that is if posting country is other than india and selling country is india then users has to compulsorily choose USD as a pricelist. Have written a logic something like ...
1
vote
1answer
28 views

'Sorry to Interrupt' error popup in lightning experience error in all the sandboxes. What this error mean?

I am facing this error after login and whenever I try to do anything after login such tab click or user icon click. I cleared browser history and data of chrome but still same issue.
2
votes
2answers
64 views

How to refresh a method that is called imperatively and annotated with Cacheable = true in LWC?

I have a method which I am calling imperatively in LWC but it is annotated with Cacheable = true at server end. How can I refresh the result of that method ? I know with @wire adapter we can refresh ...
0
votes
1answer
21 views

unable to get field value from database.query method

I am using database.query method to retrieve 2 fields from account. But when i tried to fetch get the values of that fields i am getting null value. Can someone help me. Here totalValueFieldName is ...
0
votes
2answers
51 views

Donut chart in lightning component

Can someone suggest me to create a Donut chart in the lightning component? Here in a custom object, I have a field having values that are like 1 to 100 %. Based on the percentage I want to show in ...
0
votes
0answers
41 views

Display base64 data in Iframe Not working in lightning experience

We have a requirement to show google drive contents(pdf,txt,docs,xlsx,images) in a modal in lightning experience. Below is what I did so far: 1) Get the base64 content of the drive file using Apex ...
0
votes
1answer
37 views

In Salesforce Lightning client side is stateful and server side is stateless, what does this actually means? [closed]

I know a bit about stateful and stateless web services but how does it work in salesforce lightning?
0
votes
0answers
18 views

Activities: Assigning Tasks to a Queue(Spring 20) Visible to non Members of the Queue in Activity Composer Lighting component

I am trying the new feature of spring 20 "Assign the Tasks to the Queue". Assign to Queue The issue I am facing here is the Activities are shown to none members of the Queue in the Activity Composer ...
0
votes
0answers
18 views

Conditionally show list button and detail button in lightning app builder page

We used visualforce pages to override View buttons on various objects and included apex:inLineEdit tags in them so that we could leverage standard page layouts. When page is loaded, with the ...
0
votes
1answer
37 views

Calling @wire functions sequentially [duplicate]

Is there any way to call multiple @wire methods sequentially? As per the documentation, all the wire methods will run asynchronously, but what if I want to execute multiple wire methods sequentially, ...
0
votes
0answers
32 views

Email Author in Lightning Experience : URL Hacking, Spring 20

Is there a way to open the Email Author Layout with pre defined email template in Lightning Experience. I know that earlier we don't have the possibility to do this since LEX was not supporting the ...
3
votes
2answers
72 views

Salesforce Lightning Enhanced Notes in Component

Is it possible to open out of the box "Salesforce Lightning Enhanced Notes" editor on click of a link / button so that we have more control over our lightning UI screen. If we see on below screenshot,...
1
vote
1answer
21 views

How to get rid of the column sort on a related list

Is it possible to get rid of this related list column sort? The reason being is that if the related list records are being sorted by a specific column then the sort button in Classic does not work in ...
0
votes
1answer
47 views

How to edit the NEW modal dialog?

On Services. When I got to the Account tab there is a "NEW" button. Hitting this button will pop up a modal with a couple of fields. How do I edit this modal? I would like to add an iframe to it.
0
votes
1answer
29 views

Split records from the response.getReturnValue() to different objects like Account, Contact, Opporunities in the helper

From the controller i am returning list response, which it is having Account, Contacts, Opportunities. Attaching the response image. I need to split different objects data and assign it to different ...
1
vote
0answers
21 views

Odd Lookup Issue in Saleforce Classic

I have an odd issue where a user cannot add a campaign to an opportunity in Salesforce classic. The related lookup search returns no results, though the org wide search returns records, and the user ...
0
votes
0answers
21 views

lightning:Iteration to split 3 objects records and show in lightning data table

I want to split the data from a single method, which is of the return type of account, contact, and custom object. I have 3 data tables. I want to show all those 3 tables with different objects. Is ...
7
votes
1answer
35 views

Record Type description not shown when creating a record in Lightning Community

I created an object with record types and put a description on the record types. This works as expected when I am creating the record as an Internal User and the description is displayed appropriately....
0
votes
0answers
27 views

Replicate “Merge Contact” Related List button behavior on Account Detail Page in Lightning

We are migrating to Lightning from Classic, we found that "Merge Contact" button is not available in Lightning on Account Page. I see that there is standard component Named "Potential Duplicate", ...
0
votes
1answer
91 views

Download data as Excel File in Aura Component

I have a Lightning Component that renders data in a table. I currently have the logic that downloads as a CSV file. For some users,Excel is not auto formatting the file to display as Columns. So they ...
0
votes
0answers
26 views

How to handle when Lookup defaultFieldValues parameters for e.force:createRecord are null

If the record has the RecentAccount__c lookup field populated then the new record creation modal pops up perfectly without error. Otherwise, if the record does not have the field populated it throws ...
0
votes
1answer
168 views

Modal Pop up on standard Lightning record detail page

I have a requirement that when a standard account record is opened, a pop up should be displayed with few fields of account like phone, name, type with ok button. When ok button is clicked, the pop up ...
0
votes
1answer
24 views

split lightning card into 3 columns

I want to show account related records in 1 lightning card by side to side. I tried to use lightning card, but not able to do that. Can someone help me an idea to show 3 objects related records side ...
0
votes
1answer
30 views

Address search for Lightning Scheduler is not working in Community

I'm creating a lightning scheduler for the Guest user. I have a standard lightning Scheduler for Guest User flow on my public Community page. But the Service Territory search page is not working. ...

1
2 3 4 5
33