Search code examples
azure-iot-central

How can I view a hierarchical folder structure in Azure IoT Central device Files list?


Our devices upload daily files and we need them organised in a YYYY/YYYY-MM/YYYY-MM-DD folder structure but the devices Files page list in IoT Central only seems to display files and does not display folders.

The folder structure is created in BlobStorage but it seems the Files page just doesn't display folders at all.

Is it possible to customise the IoT Central apps Files page (or create a new one) to allow display of a hierarchical folder structure as well as files.

Link to reference for uploading files that show in IoTCentral https://learn.microsoft.com/en-us/azure/iot-hub/file-upload-dotnet#upload-file-from-a-device-app


Solution

  • The files view will always show all the blobs for that device, recursively. There's no folder display support in IoT Central.

    The closest thing to it is being able to filter, once you put the view in list mode. In my example, I have a device that has some images on the root folder, and an image in a YYYY/MM/DD folder. You can switch the view to List: enable list view

    Then you get a filter option: select filter

    You can filter on the path of a file: filter on path

    So yeah, no folder display support, but you can filter on a path.