DynCon365 / SharePointDragAndDropPCF

A PCF control to drag and drop files to SharePoint libraries.
MIT License
8 stars 4 forks source link

Refresh Files grid on upload complete #11

Open dtpinformatica opened 1 month ago

dtpinformatica commented 1 month ago

I'm trying to refresh the files grid on upload complete anyone can help me?

I Tried to change SharePointUploadControlVM.ts 30 this.controlContext = serviceProvider.get<ControlContextService>(ControlContextService.serviceProviderName); to 30 this.controlContext = serviceProvider.get<PCFControlContextService>(ControlContextService.serviceProviderName);

and added to PCFControlContextService.ts

  notifyOutputChanged(): void {
    this.notifyOutputChangedCallback();
  }

but if i define a Changed Callback on PowerPlatform it isn't fired

can anyone help me?