Questions tagged [connected-callback]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Connected App Hook

If I have a connected app that is tied to a manage package, is there a way I can create a hook to retrieve metadata that has dependencies to that app from uninstalling until they are satisfied? App ...
  • 171
1 vote
0 answers

connectedCallback not firing when state is used in NavigationMixin

connectedCallback lifecycle event is not firing when state is used during navigation. If state is removed than connectedCallback is firing. This behavior seems strange to me. AM I missing some ...
  • 277
0 votes
1 answer

I want to create a callback, but cannot find connected app under the Apps section

I am trying to create a callback from salesforce to other platform. I read some documentation, but I can't find where is the "connected app", is it because my roles issue?
  • 101
0 votes
1 answer

Update custom LWC table if record is updated

I am new to LWC and here is my problem: I have table and values needs to be updated once the record fields are updated. Here is the code: 1.Apex Class public with sharing class LWCShowSpendigs { ...
  • 5
0 votes
0 answers

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 ...
  • 1
5 votes
1 answer

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
5 answers

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
1 answer

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 ...
2 votes
1 answer

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 ...