Hi, all.
I'm trying to develop a script to download a file by its ID.
My scenario involves using Power BI, and I need to set up a data source linked to the document.
So I’ve thought of two approaches for this, and I’m trying to apply them in a cloud vault environment:
-
Using a VBScript to export the file. I found a similar question, but when I tried to apply the solution, it didn’t work for me. Example VB script for downloading file by ID - API - Forums - M-Files Community
-
Using a PowerShell script (
.ps1
) to export the file to Blob Storage — or, if possible, to a local path on my computer.
I've already tried both approaches, but I'm getting errors in each case.
Maybe there's a similar solution for this situation. Could you help?