Questions tagged [connected-callback]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
50 views

rederedCallBack - Cannot read properties of null (reading 'style')

There is something that it seems I am not getting right or i am not understanding I am using leaflet for Map features so I am using a renderedCallback but I am getting an error that my HTML is not ...
0
votes
0answers
21 views

How to identify page has been loaded in LWC component?

I have a lwc component and it is using pubsub. When page is getting loaded pubsub is firing again and again. And hence increasing the page load time. Is there any way we can prevent pubsub to fire on ...
5
votes
1answer
89 views

Is there a security hole in Salesforce's documentation?

I was looking at Salesforce's documentation for implementing an OAuth callback and I noticed they are accepting a "sfdc_community_url" from the client, which should normally only ever be a ...
1
vote
2answers
1k views

LWC Quick Action - recordId propertyindefined in ConnectedCallback context

I am trying to create lwc quick action, which was introduced with the Summer 21 release. I want to use the recordId property from the object that I am on, but the property is 'undefined' in the ...
5
votes
1answer
577 views

LWC multiple apex calls on initialization (Best practices question)

PROBLEM: I have a LWC component which needs to gather data from different objects on initialization event (Objects are: custom object, files and metadata type). This is what I have in place working ...
1
vote
1answer
310 views

Spinner not working properly in LWC

If i do this: 1 async connectedCallback() { 2 this.showSpinner = true; 3 await this.getTableInformation(); 4 this.showSpinner = false; 5 } Spinner starts but never ends. Still a ...