Questions tagged [lwc]

For questions about Lightning Web Components (LWC) - the UI framework for the Salesforce platform. When using this tag also include the more generic [salesforce] tag.

503 questions
0
votes
0 answers

Local Image Upload with TinyMCE and VisualForce page

I'm working with tinyMCE editor and I was wondering how to enable local image uploading? I'm using this editor inside of VisualForce page and iframe. I tried all examples provided in documentation but none of them work for me...
0
votes
1 answer

How to display hierarchail json as tree in lwc

I have a JSON object. [ { "label": "Lauren Boyle", "name": "Lauren Boyle", "expanded": true, "items": [ { "label": "Banoth Srikanth", "name": "Banoth Srikanth", "expanded": true, "items": [ …
0
votes
1 answer

How to get FROM and TO address updated dynamically in the "Create Email as quick action with LWC"?

I am trying to implement "Create an Email as a Quick Action" using…
0
votes
2 answers

Passing a variable to href in HTML

I want the 'id' variable between 'Contact' and 'view', how should i do it to make it accessible dynamically? Any simple solution that works? var id = 0x323214343;
0
votes
1 answer

Why is this code not passing the check challenge?

I'm currently studying for my first superbadge, and it's been quite an adventure so far! However, I've hit a roadblock on the second task (Automate record creation) and could really use some assistance... If anyone has any insights or tips regarding…
0
votes
0 answers

Salesforce LWC to screen flow events

Is it possible to trigger standard component event from a custom Lightning web component. Like a value change in flow textbox to update a label in LWC on the same page and instantly.
Hasan Zubairi
  • 1,037
  • 4
  • 23
  • 57
0
votes
1 answer

Unable to populate the Account.Name lookup value in data table

I'm unable to populate the Account.Name lookup value in a data table. Although its visible in console but not on the data table.
0
votes
0 answers

Worker error with using Mapbox GL CSP JS in Salesforce LWC

I am working with mapbox gl csp as per documentation from mapbox. It recommend using mapbox-gl-csp and mapbox-gl-csp-worker for using this library in environment with Strict CSP policy. In my case I am trying to put a map in salesforce LWC and I am…
Sandhu
  • 141
  • 2
  • 10
0
votes
1 answer

How to pass selected records i.e, list of records which isn't related to any sObject and Custom Object from LWC to Flow

I'm having a list of records which isn't related to any custom or standard object I need to pass it to Flow. how to pass the list of records from LWC to flow using in js-meta.xml and also help me what kind of flow resource I need to create so that I…
satheesh
  • 3
  • 2
0
votes
0 answers

TypeError: _client.ApolloClient is not a constructor getting error in jest case while mocking the apollo client

I am trying to mock @apollo/client in my jest file with LWC component.But not able to mock it properly i guess. here is the code below: import { ApolloClient } from '@apollo/client'; const mockClient = new ApolloClient({ link: new HttpLink({ …
jkvitlko
  • 11
  • 1
0
votes
1 answer

Lightning-combobox dropdown options not visible on UI

Dropdown options for the lightning combobox are not getting displayed on UI. All values are getting fetched through the standard method getPicklistValuesByRecordType in the Js file of LWC component. kindly assist me, where and what did I miss in the…
0
votes
0 answers

Unable to see datalabels on chartjs in LWC

Trying to display datalabels on the a pie chart using chartjs library in LWC. Tried both version pairs for chartjs and chartjs datalabel plugins libraries (V4.2.1- chartjs & V2.2.0 - chartjs-datalabel-plugin) & (v2.8-chartjs &…