Reading files from Sharepoint Online
Hi,
Can Bartender read files from Sharepoint Online Library ?
We are creating files from PowerApps and are storing them in a Sharepoint Folder location. We need to somehow read those files and get them printed onto a local printer. If the files are copied on a local shared folder, we can get the solution working but we need to somehow get the files read directly from the sharepoint online location in order to cut down the time and extra effort/setup required to copy files from Sharepoint online to local folder.
Please advise.
Thanks.
-Irfan
-
Hi Irfan,
I know it’s been a few years since you posted this, but I’m curious whether you ever found a workable solution or workaround. I’m currently building a PowerApps Model-Driven App project and have run into the same challenge: needing BarTender to pick up files directly from a SharePoint Online library.
Right now, the only reliable option I’ve identified is using an on-premises data gateway and then triggering print jobs through the BarTender REST API, but this still feels like an indirect path. If you managed to solve this cleanly or found a better approach. I’d really appreciate your insight.
Thanks!
0 -
Hi Raj,
Instead of creating files directly in the SharePoint library, we opted to store them in a shared folder. On the PowerApps side, since we were using a Standard license (which won’t be an issue for you), we created records in a SharePoint list from PowerApps. Each record contained the full string that would go into the file.
We then built a flow (running under a service account with a Premium license) that triggers whenever a new record is added to the list. The flow reads the data from the column, creates a file in the shared location, and then Bartender picks up the file, processes the data, and prints it to the printer specified in the file.
Because we first store the data in SharePoint and then generate the file, there’s typically a delay of about 30–40 seconds before the print job completes, which is acceptable on our end. On the upside, it’s proven to be a reliable solution. If the Bartender integration goes down for any reason (network, gateway issues etc), the data remains safely stored in the SharePoint list, allowing us to easily retrigger the process. Also, we didn’t need to use the Bartender API, which simplified the setup.
-Irfan
1
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare