How can I display a folder structure in the IoTCentral devices Files tab ?

Duncan Groenewald 0 Reputation points
2024-05-10T00:42:11.9066667+00:00

We need to use a folder structure to organise the files we are uploading from our IoT devices to Azure Blob Storage. To do this we are using a folder structure as shown below when uploading using the device SDK and this works fine, with the folders being created correctly inside each device IDs storage folder.

string filename = @"2024\2024_05\2024_05_01\logfile.txt";

var`` fileUploadSasUriRequest = ``new`` FileUploadSasUriRequest

{

    ``BlobName = filename

};

FileUploadSasUriResponse sasUri = ``await`` deviceClient.GetFileUploadSasUriAsync(fileUploadSasUriRequest);

Uri uploadUri = sasUri.GetBlobUri();

This all works fine and the correct folders are created and the files are uploaded correctly.

The problem is that the IOT Central device Files tab seems incapable of display the folder structure in the device ID folder and as a result shows no list or hierarchy of folders//files.

The files are in the correct place because you can set a filter and enter the folder path, e.g. "2024\2024_05\2024_05_01" in the filter field and a list of files with their full folder paths will be shown.

Is there a way to update the Files component such that the hierarchical folder structure will be shown.

Thanks

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
356 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,138 questions
0 comments No comments
{count} votes