Forum Discussion
Olivier3232
Apr 20, 2020Copper Contributor
SPFx Extension BaseListViewCommandSet - Unable to refresh page
I created a SPFx BaseListViewCommandSet extension. My component puts the status of all selected rows. The update works well.
However, when I want to refresh the page (location.reload ();) at the end of the OnExecute method, the page does not refresh.
In debug mode, the page refreshes, in package deployed mode, the page does not refresh.
@override public onExecute(event: IListViewCommandSetExecuteEventParameters): void { //code ... location.reload (); }
Any Idea ?
Olivier,
No RepliesBe the first to reply