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.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 views

Fetch value using the key in lwc

I have a question regarding iteration in the js file of an lwc component I have a array of the following JSON format [{"key":"0036F00003hXBGAQA4","value":"...
0
votes
1answer
64 views

lightning:input type=“time” displays millisecond value when editing object

I am building a lightning component to create/edit custom objects. I've been able to do this with force:inputFields in the past but unfortunately ran into a component error that the new recommended ...
0
votes
0answers
19 views

Hide Owner field column in File object list view

I have a requirement to show the file object as a related list to the community users. Can we hide the owner field in the list view?
0
votes
1answer
294 views

How to create custom related list quick links in lwc

I am trying to create a custom related list quick link inside a LWC. I have 2 objects A and B. From the apex I am returning the list of B related record but how can I display it like a related list ...
0
votes
1answer
25 views

Inline VF page does not appear during Record creation

I have created an inline VF page and added to the page layout. Inline VF page display correctly when Record is in View or Edit mode. But when I try to create a record, inline VF page does not appear. ...
0
votes
0answers
19 views

device specific UI also adjusting based upon screen

I am facing issues while adjustment of a aura component which contains 3 more inner component. Here compoenent 3 is the main component and other are inner. the overall architecture is looks like: but ...
0
votes
0answers
9 views

Inline help text not working in Visualforce Page when rendered in lightning experience

We are using a Visualforce page in the lightning experience. We have a strange scenario where when we redirect from apex class to this VF page, the inline help text of input fields are not visible on ...
0
votes
0answers
17 views

How to use link type- email in Rich Text Component and display on lightning home page layout

Salesforce classic version allows you to open email address upon click on link in home page components. How to achieve similar functionality on lightning home page layout. I tried with using rich txt ...
0
votes
0answers
16 views

How to access the translation for the close button title?

On standard visualforce page there is a close button, when we hover it, it displays a tooltip "Close this window", if the user's language is not English, it will display in other languages. ...
0
votes
1answer
36 views

Not able to access the the fields of account object inside “html” using JavaScript property,

I am trying to access fields of account from the property "accountData" inside HTML file. by using the "." operator ie, accountData.Phone however I am getting error "Cannot ...
0
votes
0answers
45 views

Can I remove the hover effect on my lightning close button?

I create a close button like this: <button class="slds-modal__close slds-button slds-button_icon slds-button_icon-inverse" onclick={handleClose}> <lightning-icon icon-name="...
2
votes
1answer
71 views

LWC Datatable not being rendered?

I am really having a weird issue where I am trying to simply render a couple of records on a LWC table. I am getting all the wired data right and I believe all is setup correct. Don't know what I am ...
0
votes
1answer
47 views

Event not getting fired from a lwc custom lookup component

I have used a custom lightning datatable which has a component displayed as a lookup customLightningDatatable.html import LightningDatatable from 'lightning/datatable'; import lookupTemplate from './...
1
vote
1answer
144 views

Close flow screen after the Flow finishes

Calling a flow from Quick Action wasnt refreshing the screen , so I calling the Update Screen action from the https://unofficialsf.com/the-update-screen-flow-action-component/. Quick Action updates ...
0
votes
0answers
16 views

Custom button on lightning on List View navigates to unknown page

I followed the documentation and created VF page and placed it in list view layout. The VF Page just has a remote action, which does a sync to records. <apex:page id="SyncHelpRecords" ...
0
votes
1answer
23 views

lightning controller get string value

using substringAfter and substringBefore in lightning component controller but string value i am not able to get and it is throwing an error that substringAfter and substringBefore is not a method. ...
0
votes
0answers
23 views

WhatId and WhoId missing on Task object

WhatId and WhoId went missing on the Task object for scratch organization even for System Administrator user. I don't know of any update recently made that could have this impact, but when i try ...
0
votes
0answers
11 views

How to set Lightning Event in dynamic Lightning Component

I create a Lightning Aura Component with Lightning Event. Please see follow code. <aura:component > <aura:attribute access="global" name="flowName" type="String&...
0
votes
0answers
44 views

RefreshApex in LWC not working

For some unknown reason ,on click of the button I am getting the result as [object Object].On click of the button i need to display the Record information . Below is my code:- HTML template:- <...
0
votes
1answer
65 views

How to display image inside another image in LWC

I am trying to display an image in background and on top of that another image will be displayed.How can I do this in LWC?
0
votes
0answers
30 views

Skip Record Type Selection Page Using Ligthning Component

I am pacticing on Lightning Component nowadays and I came across one problem in which I need to override the New button of Task object using Lightning Component such that it bypasses the record type ...
0
votes
0answers
158 views

Rich Text Area in Lightning Datatable

I have a lwc component having a standard lwc datatable. However, my datatable has an url field which needs to be displayed as a url. However, that particular field is coming up as the following format ...
0
votes
1answer
18 views

Where can I find a named report?

I have the following XML from a layout file: <layoutItems> <reportChartComponent> <cacheData>true</cacheData> <contextFilterableField>ACCOUNT_ID</...
0
votes
0answers
19 views

Visual force webpage for classified ads within the company?

Our company has old furniture, desks, computers etc...That they auction off but before that, they are trying to recycle them and give departments opportunity to see if they are interested. We tried ...
0
votes
1answer
37 views

HTML for below image [closed]

How to put image inside another image. Currently I am using below code in html file in lwc but the problem is record id is coming inside the 2nd image.: <div> <img src={backGround} ...
0
votes
0answers
27 views

Rich text Area Issue- Apostrophe converting to some html tags

How to remove the html tags and get the original content in lightning because in classic it appears correctly but when i switch to Lighting it is adding &" something whenever i am writting &...
0
votes
3answers
77 views

Is IE-11 still supported Lightning Experience?

According to Salesforce Document about supported Browser, Salesforce will end IE-11 Lightning Experience at 2020/12/31. But today, when I login my Org with IE-11, I still can change to Lightning ...
0
votes
0answers
49 views

Where can we get appexchange before payment coupon codes?

I am about to submit my app for security review, in payment page i could see coupon code available. I would like to get one. so where can I get one coupon code ? Also from the security review video ...
0
votes
2answers
88 views

Datatable in lwc not getting updated using refreshApex method

I have a lwc html file code : <template if:true={sObjectRecordList}> <lightning-datatable key-field="Id" data={sObjectRecordList} ...
0
votes
0answers
240 views

Inline edit update in datatable for multiple rows in lwc

I have created a lwc where there is a lightning datatable html code <lightning-datatable key-field="Id" data={sObjectRecordList} columns={...
0
votes
1answer
32 views

Dragging and dropping mixed content

I have a related list component with drop zones that handles files dropped on it from the desktop. The back end for these files is OneDrive, not Salesforce. This piece of functionality is working fine....
0
votes
0answers
44 views

How to implement back button for mobile

Is here any out of box control available that can provide me back button functionality for salesforce mobile application built on (aura/LWC). Standard navigation provides the same, but in case am ...
0
votes
1answer
101 views

Open an Link from a LWC in a new Tab

I have a custom LWC that has a link on it for a customers website. It should open a new tab in the web browser with the companies website. It currently opens a new link with a salesforce url prefix. ...
0
votes
1answer
78 views

/services/data/v46.0/scheduling giving error: Service not found at: /services/data/v46.0/scheduling

When I try to call the URI: /services/data/v46.0/scheduling from workbench, I am getting the below error: [ { "errorCode" : "NOT_FOUND", "message" : "The ...
1
vote
1answer
55 views

Highchart not working in LWC getting TypeError: e.chart is not a function

I am trying to use Highchart js (https://code.highcharts.com/highcharts.js) in my LWC component for Chart, but getting error: TypeError: e.chart is not a function I am not able to figure out what ...
1
vote
1answer
52 views

lightning:input Date is behaving different in desktop and mobile

I have a simple lightning:input type="date" in aura component and it is behaving different in desktop vs mobile. Can someone suggest how o make it consistent across both. Preferred is I see ...
0
votes
1answer
37 views

Error in flow : An unhandled fault has occurred in this flow

i am new in salesforce . i am trying to create Salesforce Flow Where after creating a record it redirects to that particular record detail page.enter image description here
1
vote
0answers
41 views

Error in Firefox for lightning component

I have a lightning component that is working fine in chrome but In firefox, it's giving an error. What could be the possible reason for that? Error: TypeError: Action failed: c:OrderCreation$...
0
votes
1answer
46 views

System.DmlException:INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

I have a flow and aura in which I will insert first items into cart and then to Order in my scenario for community portal and sys admin its working fine. But when I test it with Custom Profile user ...
0
votes
1answer
28 views

Pass data fetched from one apex method to another in lwc

I have two js methods in my js file. One methods fetches a set of fields from an particular object, using an apex class method. @wire(getSObjectFieldNames , { sObjectName : 'Contact' }) ...
0
votes
0answers
25 views

Refresh a lwc component on record creation [duplicate]

I would like to understand if there is any alternative to force:refreshView in lightning-web-components. I have a small component embedded in Account Detail page which creates a new Contact. My ...
1
vote
1answer
49 views

Lightning Map: Allow user to drop a marker on map

I am planning to create a component (aura/lwc) that allows users to select a location by dropping a marker on the map. I tried to go through the Documentation, but couldn't find anything related to ...
0
votes
1answer
53 views

How to remove or hide the BCC option in the SendEmail page layout?

Requirement is to remove or hide the BCC option in the SendEmail (From) page layout. We don't want to allow users to click on the BCC option when sending an email from Salesforce.com. There is a ...
0
votes
0answers
35 views

Pass current loggedin user id in lookup field in lightning component

Eximanie Record field is a user lookup and i want to populate this lookup value as current logged in user, but it is showing still blank on lightning component. ({ doInit: function(component, ...
0
votes
1answer
133 views

Navigate Screens in Flows

I understand that I can use the following to be able to navigate to the Next Screen in a flow: var navigate = component.get("v.navigateFlow"); navigate("NEXT"); My concern is ...
0
votes
1answer
412 views

Display an Account name in lwc using getRecord

I have a custom lwc component createContactWithApex which calls another component <c-child object-name="Contact" field-name="Name" label="Contact" ...
0
votes
0answers
49 views

Lookup pop-up window in Lightning

I have a Visualforce page with a lookup field. When I press lookup button to search, a lookup window pops-up, but it is in classic salesforce page. How can I have a pop-up lookup window in Lightning, ...
0
votes
0answers
21 views

How can I show styled tooltips on HTML elements in a Visualforce page?

I'm attempting to work around a limitation of Lightning wherein helpText attributes don't render on Visualforce pages. Our original implementation was standard: <apex:pageBlockSectionItem ...
0
votes
0answers
19 views

Design question: Can an LWC on a record detail page be used to validate the record before it is saved?

We have a custom Object called Job__c. In Job__c's stanadard record detail page (Lightning) I am planning to also put an LWC which will do synchronous outbound REST API calls. So as the user types ...
0
votes
1answer
29 views

Need lookup functionality for lightning Datatable

I am working on inline editing in the lightning datatable & i want to enable the lookup functionality in one of the field of the object , like i have Task object under Task object there is "...

1
3 4
5
6 7
125