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
18 views

Fix the Lightning component on app page

I need to fix the position of 1st component on top & 2nd component at the bottom of page.Both shouldn't be scrollable (As i want them as buttons). If any other component is in between that should ...
0
votes
0answers
11 views

Email author url for lightning experience view

How to navigate to email editor with some parameters when user click on custom button on record detail page. I have VF page which redirects to email composer. Button working in classic but in ...
1
vote
1answer
29 views

Formula field with BR() function in lightning calendar

I created a formula field to show two field values but in separate line. Here is the formula field with BR() function Field1& BR() & Field2. I created a calendar for a user and It is coming in ...
1
vote
1answer
19 views

Lightning Styling not working on VisualForce Page

I have a complex VF page that needs a lot of updates, so I've created a copy of it to work on. Apart from the name, all else is identical - it even (for now) points to the same controller. In Setup, ...
0
votes
1answer
24 views

Hyperlink is not showing in lightning in trigger code but working for Classic

Here I'm just written code for finding a duplicate record and displaying link through the hyperlink but it's working fine in the classic but lighting it showing directly code. Please just check images ...
0
votes
1answer
32 views

Salesforce lightning collapsable Issue by creating custom lightning component for Activity Timeline

I have created a activity timeline custom component also added a collapsible section in my component but when i am clicking on one section it is opening all the section same is happening at the time ...
0
votes
2answers
32 views

Record type selection on according to the field selected

We have an object (Object A) having 2 record types. Another Object(Object B) has two lookup fields of Object A. There are two record types of object A. Whenever a user comes on any record and selects ...
1
vote
1answer
23 views

Component Visibility in Flow's Screen with Number data type

I'm trying to set up a filter to manage a component visibility in a flow's screen component. In particular, I want the field to be available to the user for the insert of data only when a particular ...
0
votes
0answers
19 views

on clicking any pencil icons to update the record, the currency data fields that are in SEK change to SGD

on clicking any pencil icons to update the record, the currency data fields that are in SEK change to SGD (User's local currency). On saving the records the currency changes back to SEK. This should ...
2
votes
1answer
52 views

LWC lightning-card border not shown with slds-card_boundary

Playground example https://developer.salesforce.com/docs/component-library/tools/playground/KLHs3GU9 I have a Lightning Web Component template with a lightning-card in an App Page. <template>...
0
votes
0answers
10 views

Open a record in sub tab within console app using Flow

I have lightning flow in which I have link which contains record url. When click on record url it is opening to the new tab. But I want open it in sub tab of console application.
0
votes
0answers
23 views

date format displays different in recordeditform

I am creating a form for contact object update. I am using recordeditform to display the field values. in that i am using the below field <lightning:inputField fieldName="Birthdate" /> when ...
0
votes
0answers
20 views

How does Potential Duplicate Component and Duplicate Record Sets work?

TLDR: Can we retrieve duplicate records in 'View Duplicates' using Apex or SOQL. Details I am planning to create a list view with a column of 'View Duplicates' link or button. Similar to below image ...
0
votes
0answers
19 views

How to add the hover to the Kanban view when you move the mouse over one record?

We can config the hover in detail page in the compact layout/ mini layout. However, for the kanban view, I think we will need to build the all Kanban in Lightning Component. Please correct me if you ...
1
vote
1answer
17 views

How to migrate the create new component from classic home to lightning home page

As part of migration from classic to lightning, need to migrate the create new component from classic home page to lighting home page, seems need to create a picklist button in lighting home page. Am ...
0
votes
1answer
38 views

Lightning File preview is not working - *.csv File

I have tried using the following 2 approaches to preview a file from a Lightning quick action modal window. 1. <lightning:fileCard fileId="{!f.ContentDocumentId}" description="{!f.ContentDocument....
0
votes
1answer
33 views

How to map case and category while import articles in lightning knowledge using article import

In classic there are multiple article types. I have taken backup and need to import them again to lightning knowledge using article import tool. I am able to import articles using csv file and ...
0
votes
0answers
10 views

Salesforce Keyboard shortcuts

Can we use any keyboard shortcuts in Salesforce Apps? Not Console apps. I only found from: https://help.salesforce.com/articleView?id=accessibility_keyboard_shortcuts_lex.htm&type=5 e -> edit / -> ...
0
votes
1answer
15 views

Send Survey Notification from Standalone Application

As per Winter 20 release, we can automate "Survey Invitations" from Process Builder. But there is one use case for me. Is there any possibility to automate the same "Survey Invitations" from ...
0
votes
0answers
14 views

Report on where record is pending at in salesforce reports

I have approval process on Knowledge. When submitter submit knowledge record it is pending at approver. I want report where knowledge record is pending.
0
votes
1answer
20 views

How to call helper method when we change any field?

I need to execute a helper method in lightning component whenever i change status field in record. Can anyone suggest me an idea how to call helper method when we update any record?
0
votes
1answer
23 views

Unable to view aura component in lightning experience.Do I need to enable any setting to view components in Lightning Experience?

<p>Message of the day: {!v.message}</p> <div> <lightning:button label="You look nice today." onclick="{!c.handleClick}"/> <lightning:button label="Today is ...
0
votes
0answers
13 views

Need to remove the Notifications from the notifications list in the Salesfoce Lightning

Need to remove the Notifications from the notifications list in the Salesfoce Lightning once users Acknowledge it.
1
vote
1answer
67 views

Salesforce: Drag & Drop not working in lightning web components or drop events are not triggering

I have a Lightning web component to drag one div into other dropzones (div). But the ondrop & ondragover events are not firing. Here is my code <template> <div class="draggable" ...
0
votes
1answer
64 views

How to get selected records from list view

I'm using a Lightning Aura component and lightning:listView. I wanna get the selected record from lightning:listView when I select the record like below img. Successfully I get the selected record Id ...
3
votes
0answers
29 views

Closing popped out utility bar from cross button

I have a utility bar which is having features to search for articles. I am using it to pop out from the bar to and independent utility window, when I use the pop-in button to take it back into the ...
2
votes
0answers
23 views

Why LEX is sometimes rendering <slot>-elements (shadow DOMs) on same flexipage for one user but not for the other user?

The core question is reduced and skipping the "Why do I ask this and what do I want to achieve?". Read the "Background notes" at the end, if you want to know the ugly truth... Core question Why LEX (...
0
votes
1answer
22 views

Adding custom functions to Lead “control bar” drop down list

Apologies if the question title is vague, I'm unsure what the correct name for this particular object/control is. I've attached an image to demonstrate more clearly. The "Send SMS" is a custom ...
1
vote
0answers
22 views

Low bandwidth tools

Does anyone know a good mechanism for measuring or reporting on page sizes? I have a low bandwidth (humanitarian client) use case and trying to evaluate my pages, hi-res imagery or other page size ...
0
votes
2answers
34 views

Salesforce lightning refresh a child component

I have a lightning component with 2 buttons, one of the 2 buttons(add button) calls a 2nd component and displays a table on the screen. Once info is populated into the table it can be submitted or the ...
1
vote
0answers
38 views

how to capture onchange field value in record edit from LWC

I am trying to clone a record by using recordeditform in LWC. On quick action click i am populating record fields. If a user is changing value on Text__c field and keeping name field as it is, how to ...
2
votes
1answer
32 views

Adding Lightning list view buttons?

Everything I have found says to go to setup>objects>Custom Object>Search Layouts> list view layout to add buttons to the list view page of a custom object in lightning experience. I have confirmed ...
1
vote
1answer
57 views

Convert String to date from LWC to Apex

I am trying to clone a record by using recordeditform in LWC. from LWC i am passing all the values to Apex. while cloning in Apex i am getting error Illegal assignment from String to Date How to ...
1
vote
0answers
26 views

Sforce.console.closeTab() not working from Visualforce Page embedded in Lightning page

I have embedded a visual force page in a lightning component, which has a functionality to close the current console tab: I have embedded the VF page using using an iframe. Visualforce Page Code: &...
1
vote
0answers
14 views

Question on URLFOR SPACE

I am using a URLFOR function in the URL field. When i am entering 'X Y' for the query string parameter, the output of the URL is https://www.google.com?X+Y=777 instead of https://www.google.com?X%20Y=...
0
votes
1answer
107 views

Error: Cannot find module '@salesforce/sfdx-lwc-jest/config' while testing my LWC from vs code

I have started my practice on LWC testing While i'm run this command:"npm run test:unit" i am getting this error:Cannot find module '@salesforce/sfdx-lwc-jest/config'. Error body is: Error: Cannot ...
0
votes
0answers
13 views

Editing Stage path Tool-tip value

When mouse hover on opportunity stage path a tool-tip is appearing.I need to edit the text appearing in the tool tip.
1
vote
2answers
83 views

LWC @wire dynamically change the value being passed to the getRecord for fields on initial load depending on the object the component is placed on

Hey folks so I've developed a component to pull a related opportunity Id from a case record and do some other non important things. Now the ask is to get said component to work for some other Objects ...
2
votes
0answers
23 views

'Create a Record' Action Navigation

Scenario: I currently have an Action associated with the Account object that creates a new Opportunity, with fields mapped to that new Opportunity, from the Account where the user clicks the Action. ...
0
votes
0answers
15 views

parent field iterate in for loop lightning

Hi can anyone help me here, in quoeLineData[i][skey] i might get parent field as well, for example test__c.check__r.Name , How to get this parent field ?? I can get anyfield of test__c in quoeLineData[...
1
vote
0answers
30 views

How to pass parameters from one lwc page to next lwc page on Salesforce1 mobile app?

I am trying to get lightning navigation service state parameters on next page but it is not working that way on Salesforce1 mobile app. Although it is working fine on chrome browser as web app. @wire(...
0
votes
0answers
19 views

salesforce lightning console how close primary tab in aura component?

closeFocusedTab : function(component, event, helper) { var workspaceAPI = component.find("workspace"); workspaceAPI.getEnclosingTabId().then(function(response) { var focusedTabId = ...
0
votes
0answers
14 views

Mobile UI issue in lightning buttonMenu Aura Component

I just notice that Lightning:buttonMenu aura component size bigger in the mobile after winter 20 Salesforce release. Is it any way to control the size as previous because it's breaking our UI. Its ...
0
votes
0answers
18 views

While converting classic notes to Lightning enhanced Content Notes getting UNSAFE_HTML_CONTENT error on versionData field.!

We are migrating from Classic to Lightning, In this process we are converting classic Notes to Lightning supported Note (ContentVersion). We have a batch which does this job, getting below error: ...
1
vote
1answer
23 views

Unable to subscribe platform events using “lightning:empApi” in lightning component via ligthning application

My Requirement:- we want to display the notifications without reloading the page and without any streaming API. if any change happens on the record from a custom lightning page. I have done some R&...
0
votes
0answers
14 views

Can I add custom menu items to the 'Gear' menu in Lightning Experience?

There is a custom menu in Salesforce Classic that I'm in the process of migrating to LEX. I've created a lwc that has <lightning-button-menu> with all the menu items and I placed it on a home ...
2
votes
1answer
98 views

Why @wire(CurrentPageReference) pageRef; is causing following JS error

Line: "@wire(CurrentPageReference) pageRef;" in lwc is causing following js error in console log. What is the fix? Error: [LWC error]: Invalid event type "WireContextEvent" dispatched in element <...
0
votes
1answer
52 views

Lightning Usage/Adoption Reports and Metrics (e.g. most viewed pages, switches to Classic, etc.)

Salesforce's native "Lightning Usage App" app (Summer '18) includes several reports with metrics around page views, load times, mobile activity, etc. I find the "Most Viewed Pages" usage report below ...
0
votes
0answers
12 views

How to debug lwc running in iOS salesforce1 mobile app?

I am working on a Salesforce app and it is working fine in chrome smart devices mode(Salesforce1) but when I use this app from iOS mobile it is not working fine. Now I want to debug it running on iOS. ...
0
votes
1answer
16 views

How to disable/remove the quick create in the Lightning Experience's Lookup Field?

Follow the article... URL: https://help.salesforce.com/articleView?id=000325372&type=1&mode=1 The "Show Quick Create" has been deselected. However, the "+ New ..." still displays in the ...