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.
2
votes
Apex class call from LWC
I'm having the same case where I want to access an instance of Apex controller class in LWC. Here's how I did it:
In apex code
@AuraEnabled
public static YourController getController() {
r …
2
votes
Accepted
Remove or Hide Aura component from published package
As far as I know, there is no way to deprecate an Aura component in a released package. But you can request for permission to delete it from your package:
https://help.salesforce.com/s/articleView?id= …
0
votes
Why does my custom LWC not show in the builder of my Digital Experience
Please try adding capabilities to your LWC's meta.xml like below
<capabilities>
<capability>lightningCommunity__RelaxedCSP</capability>
</capabilities>
According to the explanation, it should f …