Deleting multiple files

I am experiencing an issue when deleting multiple files from the FileManager component.

In the 'success' event when the action is 'delete', only one file is being returned in the 'files' array of the args.result property.  I use this array to then update a database table but obviously this isn't happening correctly.

Is there a setting that I may not have set or is this a bug in the returned values of the component?

Also the component doesn't always refresh the view correctly and deleted files can remain in the file list.  Clicking on 'refresh' will update the view but this is misleading for customers.  Do I need to make a call to refresh the component in code, or should this happen automatically?

Regards

James Cullis

1 Reply 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team June 11, 2021 11:02 AM UTC

Hi James, 
 
Greetings from Syncfusion support. 
 
We have validated your reported query in File Manager component. We have prepared a simple File Manager sample with physical file provider in latest package version. But unable to reproduce the issue in our end. We have deleted multiple files and printed the result files and recorded the same in the below video. 
 
 
You can find the sample from below link. 
 
 
 
Run the service provider first, then run the sample. We understood that you have been facing some issue with File Manager, but in order to reproduce the issue in our end we need more details from your end. Please share the below details. 
 
1.      File service provider used in your sample. 
2.      Package version used in your sample. 
3.      Whether you have performed any changes in your service provider. 
4.      Whether you are using our online hosted Url in your sample. 
5.      Share your component related code snippets. 
6.      If possible, reproduce the issue in our provided sample. 
 
This information would help us to isolate the exact cause of your reported issue and provide you the prompt solution. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Indhumathy L 


Marked as answer
Loader.
Up arrow icon