Skip to main content
6 events
when toggle format what by license comment
Aug 21, 2023 at 7:07 comment added RubenDG @Pam Sometimes anonymize or simply alter the code before posting it here goes against yourself, because even the slightest change may hide (or fix) the error, especially if it's about Javascript, which is case-sensitive. The first thing to do when debugging, is identify which line throws an error or doesn't behave as expected. If the apex method is called once the child dispatch the event, but the data on child component is not updated, try to hide the component before calling apex and showing it only after the promise is handled.
Aug 21, 2023 at 6:46 vote accept Pam
Aug 21, 2023 at 6:46 comment added Pam Thank you! Because I tried to call this.getData() already but the data is the same. I think my code has other personal problem.
Aug 20, 2023 at 16:06 comment added RubenDG @Pam no, in this case is not needed. Use it if you are in record page and update the record itself via apex. It was just a side note. The answer to original question, the TLDR is "call this.getData() instead of refreshApex in handleUpdateRecord method".
Aug 20, 2023 at 14:46 comment added Pam Hi @RubenDG, did you mean that I need to use notifyRecordUpdateAvailable to be able to refresh the data?
Aug 20, 2023 at 10:11 history answered RubenDG CC BY-SA 4.0