File manager with Azure storage provider

Hello,

I try browse an Azure Blob storage folder with FileManager but not working. Probably some of my settigns are wrong. I created a picture (please see attached file for large resolution): the colored underlines shows what I set where.

- pink line: the account name

- green line: the account key

- lightblue line: the container name (blobName in constructor parameter list)

- yellow line: is the first forder from the container root 

- orange line:: is the second-leves folder from the container root

I would like to browse the content of:

<container>/first folder (yellow)/second folder (orange)

My attached image parts:

- above: the Azure Portal settings
- center: the Visual Studio code
- bottom: the file structure from Azure Storage Explorer

When I start my application, it shows that the folder is empty, but should be contains files:

Image_8739_1732901309824

What I making wrong? Thank you very much for help!


Attachment: storage_e0169bb1.zip

4 Replies

VM Vishwanathan Muruganantham Syncfusion Team December 4, 2024 09:43 AM UTC

Hi SZL,


Greetings from Syncfusion support.


We have reviewed your query and understand that while using the nested folder as the file path, it shows "no file found." We have tried the same structure and did not face any issues; it shows the proper files under the nested folder. If we misunderstood your query, please share a video demonstrating the issue, any custom code used in the provider read action, and the FileManager sample. These details will help us provide a prompt solution. We have attached a screenshot for reference.

Screenshots:

Sample: attached as zip file.

Provider: https://github.com/SyncfusionExamples/azure-aspcore-file-provider

Regards,
Vishwanathan


Attachment: FileManager_26d9504c.zip


SZ SZL replied to Vishwanathan Muruganantham December 4, 2024 05:40 PM UTC

Thank you for help, I found the problem. I copied the code snippet from your demo site and some part of controller was missing:

Image_1875_1733334013990


After add this code, it works fine.


I have an another question if it is not problem. Simplified: I have a database and a table with two columns: Filename, IsProcessed.

I can send ajax calls to controllers that can check the file is processed or not.

How can I indicate to the user whether the file has been processed or not? I thinking about lot of things, but not know what is possible, for example:
- Processed file name can be bold
- Add a new column into FileManager in View with a boolean or text type, for example: OK, NOT OK
- Change the icon of the processed files in list view.

Is there any way to indicate this in this control?


Thank you very much!



SZ SZL replied to SZL December 4, 2024 06:44 PM UTC

Hi, I found the solution with 

onFileLoad event and jquery.


Thank you! Have a nice day!



KG Kalpana Ganesan Syncfusion Team December 5, 2024 06:02 AM UTC

Hi SZL,


Glad to hear you found the solution. please contact us for further assistance.


Regards,

Kalpana.


Loader.
Up arrow icon