Questions tagged [create-lwc-app]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
45 views

How to fetch new data in Lightning-record-form? LWC

I am facing an issue with getting the latest data on a simple search and update form that i have made in LWC. All i am trying to do is to search a case, get the details and then update it. It works ...
2
votes
2answers
73 views

Getting this error in the LWC Component? How can we resolve it?

<template for:each={fields} for:item="fields"> <tr class="slds-hint-parent" key={fields.id}> <td role="gridcell"> <div class="slds-truncate">{fields.value1}​</div> ...
0
votes
0answers
22 views

What is Equivalent of $A.getReference(“$Label.c.” + customLabelName) in LWC? [duplicate]

In Lightning Component we can get the custom label value dynamically by passing parameter using below - $A.getReference("$Label.c." + item); What is equivalent in Lightning Web Component ? How to ...
0
votes
1answer
54 views

Lightning Web Component dynamic action button name

I'm trying to get a dynamic lightning button using Lightning Web Components, what I currently have is a wrapper class which builds the necessary data I need and outputs it neatly in a table. This is ...
5
votes
1answer
158 views

How to bypass immutable proxy objects when using an external and old jquery library in LWC

Please note I'm fairly new to LWC and even SalesForce (like barely 2 weeks into it). I'm trying to use SlickGrid with LWC, note that this jQuery lib was created over 10 years ago, and I got that ...
1
vote
1answer
80 views

How to set a unique class for each item in an iteration? (LWC)

In a Lightning Web Component, I am displaying a list of images. I want to change how the image is displayed on mouse over (hover). How can I determine which item from the list triggered the event? ...
0
votes
0answers
38 views

Can I use lightning out on Heroku to show LWC?

I have created a LWC in my Salesforce Org. This LWC uses Salesforce org data like account, contacts etc. Now, I need to show this LWC on Heroku app. Can I use Lightning out to do this? Or is there ...
0
votes
0answers
49 views

Hook into before unload of salesforce standard tab in lighting web component

Is there any way to detect and execute some JavaScript method before unload of salesforce standard tab inside LWC.
3
votes
1answer
56 views

Difference between create-lwc-app and SFDX cli

Hello Salesforce community, I'm not sure where to ask the question so I'll ask it here. I'm beginner with LWC and Salesforce (but senior as frontend developer). Can you explain me the difference ...
0
votes
2answers
232 views

Prepopulate values in lightning record form lwc

I’m trying to create one lwc component, where I need to prepopulate some values including lookup in lightning-record-form. Is it possible to do this in lwc?
2
votes
0answers
38 views

Run LWC open source app on HTTPS instead of HTTP

Hi I am playing with LWC open source and want to host it on HTTPS, default it is on HTTP. I ran the below to run app on http; npx create-lwc-app my-app cd my-app npm run watch App runs ...
2
votes
1answer
133 views

lwc-services is not recognized as an internal or external command

I am trying to run a hellow world app in LWC open source and after "npx create-lwc-app my-app" when I cd in the dir and run "npm run watch" I get the below error. E:\Development\LWC\workspace\dev>...
0
votes
1answer
149 views

How to create a custom lightning web component for Knowledge Articles to show article title and article body only?

I have been trying to create a lwc that will only show the article title and body within our community. so far I am running into some trouble with the lightning record view form commnd and assigning a ...
4
votes
1answer
119 views

lwc : npx create-lwc-app not working

I am running the command and getting the following error : npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! network request to http://registry.npmjs.org/create-lwc-app failed, reason: ...
0
votes
0answers
65 views

LWC OSS Application deploy

Iam trying to deploy LWCOSS application in github pages unable to complete it. Steps I followed 1 . npx create-lwc-app testLWCOSS 2. cd testLWCOSS 3. Update package.json home page 3. npm run ...
1
vote
1answer
154 views

How to view new LWC?

I want to play around with the new Lightning Web Component announced earlier today. I have Node.JS downloaded and I'm running a local server, but I'm unable to see anything at the address '0.0.0.0:...