As the title states I’m wondering if there is any way that you might know of to generate reports from Business Central (Cloud Hosted) then export them as PDF’s to our companies SharePoint/OneDrive. I want this solution to be entirely programmatic, using Business Central AL code, and I don’t want the file to be moved to a folder restricted/controlled by one user.
Happy to provide any additional context or clarification, thank you in advance.
@pjllaneras thank you for pointing me in the right direction!
To whoever stumbles across this post looking for their own solution:
I ended up going with the built in SharePoint integration code units in BC most things you want to do with SharePoint in BC can be done with these code units:
I used the authentication functions to establish the connection between the 2 platforms then used that to initialize the SharePoint client code unit and this is where most of your procedures can come from.
I won’t be able to share any code (for obvious reasons) but feel free to reach out if you have any questions.