Salesforce Lightning includes Lightning Experience, Lightning Design System, Lightning App Builder, Lightning Components and Design System React. These enable anyone to quickly and easily create modern enterprise apps on Salesforce.
Questions tagged [salesforce-lightning]
1279 questions
15
votes
6 answers
Salesforce Integration INVALID_SESSION_ID using Postman
When hitting https://login.salesforce.com/services/oauth2/token, using Postman.
POST https://login.salesforce.com/services/oauth2/token
Response:
I receive a token, but when I try to do something as simple as GET /limits,
GET…

j_quelly
- 1,399
- 4
- 16
- 37
14
votes
4 answers
How to get Proxy object content?
I am working with lightning web component and apex class. This is new for me.
I am trying to get the content of a Proxy object generated by an Apex class.
But when I console log it I have a result like this :
Proxy { : {}, : {…}…

Kamoulox
- 311
- 1
- 3
- 11
6
votes
3 answers
The requested resource does not exist [error] in Salesforce. What is wrong with Salesforce?
I execute a SOQL request to get all available record ids of the SObject 'ObjectPermissions'.
Then I use the request to GET /services/data/v48.0/sobjects/ObjectPermissions/{id} to fetch all the necessary info for a specific record.
As you can see…

Pavlo Mykhailyshyn
- 203
- 1
- 6
- 20
6
votes
2 answers
How to apply some simple styles to tds of "datatable" of lightning web component in playground?
Working in playground of lightning web components. I have following files and code:
basic.html
…

Imran
- 1,094
- 1
- 21
- 41
5
votes
3 answers
Lightning Web Component Specialist Super badge: Challenge 7
I am having trouble solving the Challenge 7 I have the required imports as well as required functions in the JS file. Still #Trailhead giving error:
We can’t find the getLocationFromBrowser() function in the component boatsNearMe controller. Make…

Somya Tiwari
- 145
- 3
- 8
5
votes
1 answer
How to upload files and attachments to the sobject record using REST API?
Salesforce has two different UIs and in accordance with it, it has the possibility to store attached files differently.
Two files were uploaded via the classic UI and they are marked as 'attachments'. Other files were uploaded through the new UI and…

Pavlo Mykhailyshyn
- 203
- 1
- 6
- 20
5
votes
1 answer
How to download a report as a CSV directly from Salesforce Lightning?
I am creating a Python script for downloading a report from Salesforce as a CSV.
My script is working perfectly fine for Salesforce Classic. However, I need to get it working for Lightning Experience. I'm using the simple-salesforce Python package…

Yanic
- 123
- 1
- 8
5
votes
5 answers
Pass value to lightning-input tag in LWC
Does anyone know how to pass checked value to checkbox in Lightning Web Component?
My code looks like:
import { LightningElement, track } from 'lwc';
export default class MyComponent extends LightningElement {
@track isChecked;
…

lizalav
- 51
- 1
- 1
- 3
5
votes
1 answer
VueJs not displaying SVGs
I'm creating a single page application using VueJs and I'm facing a problem that all my SVGs are not being rendered. I'm using webpack-simple CLI and I'm using SLDS(Salesforce Lightning Design System) as CSS framework, which is providing me all my…

Vinicius Damiati
- 71
- 1
- 6
5
votes
0 answers
Web workers are not working in lightning container due to SalesForce's CSP
I'm trying to use web workers in lightning component. Using them in lightning component directly fails due to LockerService. Another option of using them inside the newly available lightning:container fails due to CSP rules. Don't know if it matters…

ipetrovych
- 81
- 3
4
votes
6 answers
Getting an "Only absolute URLs" error while trying to open Salesforce org with sfdx:open in VS Code
Warning: Deprecated environment variable: SFDX_JSON_TO_STDOUT. Please use SF_JSON_TO_STDOUT instead.
(Use node --trace-warnings ... to show where the warning was created)
Warning: The "force org open" command has been deprecated. Use "org open"…

JVSPS MADHAV
- 41
- 1
- 3
4
votes
1 answer
LWC and what it provides from a React developer's perspective
I'm a React developer for front-end stuff and I've recently been given the task of evaluating whether or not Lightning Out (LO) or Lightning Web Components (LWC) can be used in our React web app for communicating with Salesforce.
We have some users…

Marc Fearby
- 1,305
- 1
- 13
- 28
4
votes
0 answers
How to handle Unsaved Changes in LWC component?
I am trying to implement unsaved changes functionality in the LWC component. Tried various approaches including using javascript & jquery and tried to fire it onbeforeunload but things don't seem to work. The same works on the HTML page but not as…

Rajesh Kamath
- 41
- 2
4
votes
2 answers
How to add onclick functionality in lightning web component data table URL column
I have created a lightning-datatable in LWC and added a custom column that displays a URL. Now, I would like to add onclick event in the URL field and want to pass row information to the javascript method.
The idea is to render the component markup…

Rajneesh Ranjan
- 61
- 2
- 2
- 4
4
votes
0 answers
how to add button to lightning list view
is it possible to add new action along with edit/delete values in drop down near every object(image below)
I followed this topic topick
the only decision I have come up with is like in this article click here
since winter 17 relese we can add…

ketchyn
- 504
- 3
- 6
- 16