The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Create Bell Icon in Lightning Page

As per Spring 19 we can send custom notification using Process Builder. any one have an idea how the notification working in back end? I have done POC for standard functionality bell icon its ...
0
votes
1answer
13 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 ...
0
votes
0answers
6 views

UI Theme Detection: Unit test code coverage

Since Winter '16, we have had the ability to add conditional logic to our Apex controllers and Visualforce pages based on the UI theme the user is currently working with (i.e. Classic vs. Lightning ...
0
votes
0answers
9 views

SF Agile Accelerator LEX

Has anyone ever experienced the dragging of tasks or work in the Work Manager becoming disabled?
1
vote
1answer
34 views

Salesforce Lightning Web Component URL [on hold]

How can you pass parameters to a Salesforce Lightning Web Component using a URL?
-1
votes
2answers
34 views

Custom Lightning Components - Pass record related information from one community page to another

How to pass value from one community page to another page in custom Lightning Components: variables:  explanation bId  -> recordId accessIssue ->record write information (true/false) values   ...
0
votes
1answer
13 views

community cloud record detail page of Contact not showing quick actions( Email , Log A Call , New Task , New Event)

In Community Cloud for record detail page , i have used "Record Information Tabs" component which display Details, Related and Feed tabs. For Case object Under the feed tab all activities(Post,Log A ...
0
votes
0answers
17 views

Make the default lightning new modal bigger

I have a rich text field on an object and I would like it to show 50 lines so that all of the content put in could be seen. In Salesforce classic you hit new and you get a window like I like this ...
0
votes
0answers
20 views

Is there any replacement for navigation mixin 'edit' for lightning communities?

IN LWC is there any replacement for navigation mixin edit for lightning communities? As salesforce developer docs saying edit is not supported in lightning communities.
0
votes
1answer
25 views

Query String is not added while navigating in lightning

Hi All, I'm trying to navigating to place order page from order details page but the query string is not displayed in the URL section.I'm getting the URL like below: https://sf.force.com/lightning/...
0
votes
0answers
13 views

Salesforce Lightning - Actions/RETURL

We have alot of returl usage in buttons on related lists that default values when creating child records. I understand that in Lightning they are removing this function. I also Understand that you ...
0
votes
0answers
31 views

How to Display, Edit, and Add contact and Role fields in a component?

The scenario is I want to display Opp contact, edit and add new fields of that contact in single component. Ex: I am displaying a Contact Name, Role. I want to edit the existing one as well as when ...
0
votes
0answers
31 views

lightning:overlayLibrary popover styling

my popover is showing a white diamond instead of a blue arrow after specifying slds-nubbin_left class in cssClass attribute. Please see below my code. Component code: <aura:component > ...
0
votes
1answer
49 views

How to access parent object fields fron child object instance in wrapper class in salesforce?

Apttus_Proposal__Proposal_Line_Item__c(Child) having lookup to (Parent)Proposal obj(Apttus_Proposal__Proposal__c). private class xyz{ public Apttus_Proposal__Proposal_Line_Item__c ...
0
votes
2answers
24 views

Add fields to the user search results in Salesforce setup

I am trying to add new fields to the user search results in setup. For an example, I need to add Profile of the user. But I cannot find a way. Adapting the search results layout doesn't help in this ...
1
vote
0answers
11 views

Content viewing app - tech advice

We have a requirement to provide a fairly rich interface as part of a community, which allows for browsing and viewing videos. We must also provide some analytics for the product team. Which will be ...
0
votes
1answer
27 views

window.location.pathname alternative in Lightning Experience

In a Salesforce Community's knowledge article detail page, I am using window.location.pathname in lightning component controller to retrieve the page url (I want to later pass the url to the Apex ...
0
votes
2answers
64 views

LWC: How to iterate over a list of SObjects

I'm trying to create a lightning web component that will iterate through existing objects, however, I'm not sure how to get it to render. Here is the Controller public with sharing class ...
2
votes
2answers
22 views

Restrict Content Document access

Can I set No Access to Content Documents at the Profile level? I am working in LEX, with the understanding that there is no way to hide the Upload Files button without customization. So, I thought I ...
1
vote
0answers
42 views

Salesforce lightning - unable to click the menu using selenium web driver

This is the salesforce application (Lightning mode), I want to automate the below cases using selenium webdriver using java. case 1: want to click the menu case 2 get the href value from tag HTML ...
0
votes
0answers
23 views

Custom Notification

Is there a way to force the bell icon to open whenever a new notification has been added? Please see the sample below.
3
votes
2answers
1k views

Invalid property [hideChatterActions] in component [force:highlightsPanel]

Invalid property [hideChatterActions] in component [force:highlightsPanel] while we deploy the lighting pages from sandbox to production. How we can get rid this error ?
0
votes
0answers
9 views

Identify theme of active tab whether it is lightning or classic

I am trying to redirect on a url based on the active theme by pressing a button it is running fine but when i have two tab opened at a time one is classic and other is lightning and when i am pressing ...
0
votes
1answer
34 views

Change master label of lighting component

I need to change the label of a lightning component. By label of lightning component I mean the name of the component you read in the app builder. With LWC I can edit the file component.js-meta.xml ...
0
votes
1answer
32 views

recordId is empty when overriding edit button in lwc?

I needed a custom popup for creating and editing a record. To achieve this I have created a LWC which will create and edit the record. I had wrapped this component with an aura component. and ...
1
vote
0answers
80 views

Issue/bug with standard spinner

since last week i've this problem on the org and i'm still not able to solve it. Here's the details: In every standard action like creating or editing an account using the standard buttons Edit and ...
0
votes
0answers
27 views

RecordType standard UI issue when clicking Save and New Button

I have overridden standard edit and new page with a custom lightning component which will redirect to standard lightning record page or custom lightning component by different recordtypes. The ...
0
votes
1answer
22 views

Auto populate fields on quote creation

Is there any way to auto populate Quote name field with parent opportunity name when click on new button.I know that It is possible in classic by url hack but how to achieve it in lightning.Any ...
0
votes
0answers
11 views

Is it possible to add Notes and Files to an new Task or Event in Lightning?

Is there any way to add Notes and Files when user tries to create a new Task or Event in Lightning. But in Salesforce Classic we could see the attachment in the UI, when user tries to add any ...
1
vote
0answers
15 views

Layout field values not updating on initial browser refresh after update from modal

I have a lightning component which is a modal being called from a button on the record view. You can update fields from this modal and save. After the save, the record is saving fine in the database, ...
0
votes
0answers
35 views

backgroundContext not working for Edit NavigationMixin LWC

I have overridden standard edit page with a lightning controller which will redirect to standard lightning record page or custom lightning component by different recordtypes. The problem i am facing ...
1
vote
0answers
32 views

WorkspaceAPI OpenSubTab Focus not working

I am having an issue with the focus feature in the openSubtab method of the workspaceAPI and was wondering if this is working as intended or not. I am following the developer documentation from this ...
1
vote
1answer
36 views

Page title of VF page in Lightning Experience

I have overridden the Standard New button with the VF page. I am getting the page title of VF page in classic view, but coming to Lightning experience, it is showing the "New X (where X refers to ...
0
votes
0answers
32 views

handle Cancel event in force:editRecord

I have overridden standard edit page with a lightning controller which will redirect to standard lightning record page or custom lightning component by different recordtypes. The problem i am facing ...
-1
votes
1answer
59 views

LWC not refreshing related list count after creating new record

On contact object, the standard new button is overridden with a LWC component. From account object i try to create contact. Before creating contact count is 1 After creating a contact, it sill show ...
0
votes
0answers
17 views

File preview issue of ContentVersion data that is copied from Attachment Body blob

I've created my own custom Solution object for SF Lightning use. I'm trying to migrate existing SF Classic Solution's Attachment Body blob data to ContentVersion versionData blob data. Below is the ...
0
votes
1answer
29 views

Fetch Value from template tag in javascript in lightning web component

Please refer to below markup. <lightning-record-edit-form key={field.key} object-api-name="Callback__c" layout-type="Full" > <div class="slds-grid slds-wrap"> <template for:...
0
votes
0answers
61 views

How to refresh Primary tab in lightning component

I'm facing with the following issue: Iv'e created lightning component (launched by quick action), then when pressed - opens new sub tabs (opportunity record and vf page). What i'm trying to achieve ...
0
votes
1answer
29 views

Global activity timeline / show combined activity on all records

I'm looking for a way to display everything that's been going on in my org on the home page in an activity-history kind of view. Essentially like the facebook news feed, where you see everything ...
0
votes
1answer
47 views

How to navigate to a lightning component from quick action

I have a custom object named New/Renewal Tracker in that object there are many quick actions button what i want to do is clicking on that quick action button, want to change a picklist value e.g if i ...
0
votes
1answer
35 views

how to set default value with force:inputField?

Cant set default value for the lookup <aura:component controller="OverrideNewMaterialController" implements="lightning:actionOverride,flexipage:availableForRecordHome,force:hasRecordId" access="...
1
vote
1answer
31 views

Where to find connected VS Code apps in setup

I tried finding the connected VS Code apps in Connected Apps OAuth Usage and Manage Connected Apps but could not find it. I have below queries: Where to find which all VS Code apps (and which systems)...
2
votes
1answer
64 views

Salesforce lightning component - Close original sub tab and open new Sub tab

I'm trying to accomplish the following: I have quick action that fires lightning component. This quick action is under opportunity and what i'm trying to achieve is the following: Once the button is ...
0
votes
0answers
60 views

Parsing error: Expecting Unicode escape sequence \uXXXX in Salesforce Lightning

I have created a lightning component and I'm querying in the JavaScript controller. While I'm saving I'm getting the following error. Parsing error: Expecting Unicode escape sequence \uXXXX Orginial ...
2
votes
1answer
35 views

Why I See Different Views with same Lightning Component

I'm designing opportunity Edit page with a lightning component using lightning:recordEditForm and Lightning:inputField <lightning:recordEditForm recordId="{!v.recordId}" ...
0
votes
2answers
44 views

Reload record detail lightning page on edit

Is there a way to reload the Lightning page after saving the record detail? I have embedded a custom Lightning component on the Lightning page and trying to reload the page to use the updated field ...