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
1 answer

LWC Jest Test showing show error in Azure Devops Pipelines

When i running Jest test for LWC in azure pipelines i got strange error Cannot find module 'c/myComponent' from 'force-app/main/default/lwc/myComponent/__tests__/myComponent.test.js' 1 | import { createElement } from 'lwc'; > 2 | import…
Cezu
  • 82
  • 10
0
votes
1 answer

How to setup remote site origin programatically in salesforce during the app installation

I'm developing the salesforce app using salesforce LWC components, I have requirement where I should process the salesforce data from an external system, for this I'm sending the data to the external api, say 'https://myapi.com/contact', but when I…
0
votes
0 answers

Difference between Salesforce application connecting as Site through community vs Pushing into AppExchange

I am a beginner in salesforce and learning salesforce development by using lightning web components. As part of learning we are developing a small scale salesforce LWC application. When we were exploring about the deployment of application , we went…
Mr.DevEng
  • 2,651
  • 14
  • 57
  • 115
0
votes
0 answers

How to send oAuth code from Visualforce page to LWC Components Which are on 2 different Windows Using Post Messages?

I'm new to salesforcce developement tried integrating two salesforce org's using oAuth Webserver flow i'm getting the callback code to a vf page but when i'm sending the code using post messages to Lwc it's throwing following error Can any one…
0
votes
0 answers

How to pass a data to omnistudio flexcard from LWC while using NavigationMixIn.Navigate

I have a requirement where I have to call a omnistudio flexcard from LWC and pass a row data on click of an id in a datatable. I'm trying to use navigationmixin.navigate to navigate to particular flexcard am able to navigate successfully but unable…
0
votes
0 answers

Reduce submission time in LWC and Apex

I am utilizing 4 Lightning Web Components (LWC) in a parent component with a public URL. Users navigate through multiple tabs to fill out a form, and upon reaching the last page, they submit the form. However, the submission process takes more than…
0
votes
0 answers

VisJS Timeline Drag and Drop Placeholder

I am currently creating a Timeline with VisJS. The Timeline is relatively equal to this example: Timeline | Drag & Drop

Timeline Drag & Drop Example

mxwe
  • 1
  • 2
0
votes
0 answers

LWC DataTable with 10 Account Records with checkbox and Submit Button

I have LWC component with 10 Account Records with checkbox and submit button. My Question is Whenever I select multiple Account Records and modifies Account field values and click on submit button then it should send the latest data to apex and…
0
votes
0 answers

What is the problem with this code snippet?

I wrote this code as JS controller of a component to invoke a VF Page but here it is showing that This error This page has an error. You might just need to refresh it. Action failed: c:DataProcessor$controller$downloadDocument [sendDataProc is not…
0
votes
0 answers

How to use jsPDF html() method in LWC

I'm trying to figure out how to use jsPDF html() method in LWC. To use a pure jsPDF is relatively easy, but I didn't find an explanation on how to do it with the jsPDF html() method. I did a search. Trust me. I uploaded jsPDF and html2canvas to the…
Alex
  • 1
  • 1
0
votes
1 answer

How to pass values from JS to HTML tags in lightning web component?

I am trying to pass color to the existing style of HTML tag from Javascript. However, it's not working as I am trying. Please help. Actual HTML