Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This tag is for questions related to JavaScript, CSS, or Markup when used in the Lightning Web Component (LWC) programming model, or for questions of interoperability between LWC and the original Aura-based lightning components.
3
votes
Accepted
Spring 20 LWC Cannot add a property x, object not extensible
My team has faced the issue as you with multiple LWC components on Spring '20 preview org.
We found a post from Salesforce employee on Salesforce Partners forum which states that the problem has bee …
14
votes
Accepted
How to pass URL parameters to a Lightning App page, to load LWC in context of a record?
There is native support for query parameters in LWC. To persist, their names need to have namespace added as a prefix. Default namespace is c__.
In this example:
/lightning/n/MyAppPage?recordId=someth …
4
votes
ContentDocument Preview in LWC in Communities. Is there a ConnectApi.ContentHub.getFilePrevi...
Unfortunately, I'm not aware of any standard approach, but as you said in the last paragraph - there is a way to create a custom file preview component, which reuses URLs from standard File Preview mo …