Skip to main content

I am trying to launch a LWC component that has a datatable with inline editing. I am able to edit, update the data in the backend, save and close the Modal. But on relaunching the quick action without refresh of page I dont see the refreshed data in the data table. it is the old values. But on refresh of the page i see new value.

 

need guidence.

 

#Salesforce Developer #LWC Development 

3 Antworten
  1. 8. Nov. 2023, 07:47

    Hi @Tejashwini B ,

     

    TO solve this problem first you need to close the quick action and refresh the current page

    so first close the quick action component

    import { CloseActionScreenEvent } from 'lightning/actions';

    closeQuickAction() {

    this.dispatchEvent(new CloseActionScreenEvent());

    }

    https://salesforce.stackexchange.com/questions/356845/force-refresh-f5-of-a-page-after-lwc-quick-action