New answers tagged

2 votes

LWC @Wire - Apex method is not a known adapter

LWC, and JavaScript in general, is case sensitive. Your typo appears to be: import getUncategorizedDocuments from '@Salesforce/apex/OnboardingReviewDocController1.getUncategorizedDocuments'; Because ...
user avatar
  • 438k
0 votes

Are we able show Violcity Component from Custom Lightning Web Component?

You can embed the OmniScript LWC into your own LWC by referencing the tag of the element, c-type-subtype-language. <c-es-search-products-english prefill={prefill}></c-es-search-products-...
user avatar
  • 2,822
0 votes

Issue with @AuraEnabled(cacheable=true)

Apex method with @AuraEnabled(cacheable=true) and a wire method in LWC is actually fine. Because wire adaptor use browser cache to store the record data coming from @wire. By default @AuraEnabled is @...
user avatar
1 vote

LWC My Track list is not rendering after retrieving new data using APEX

Since you have marked the apex method as cacheable, and the one parameter isn't going to change (assuming this is being used on a Lightning Record Page), the client side will maintain a cache of the ...
user avatar
  • 28.1k
0 votes

Can't pass null arguments in wired function

We are seeing the same behavior with a Lightning Web Component in a flow, in that the reactive variables included in the wire definition simply will not fire in the event a value is null. This is ...
user avatar
  • 1

Top 50 recent answers are included