Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Save report in BC File Storage via code

Posted on by 289

Hi everyone, 

I am attempting to create some automation in BC where the Sales Invoice report is printed and saved in storage (something cloud hosted such as sharepoint/onedrive but not local) without showing to the user the Save As dialog box that comes up asking the user to select where to save the file. The whole process should be run in the backend without user intervention. 

At the moment I have not found a way how to skip the Save As dialog box. Anyone can provide some ideas? 

Thanks in advance! 

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,339 Super User 2024 Season 2 on at
    RE: Save report in BC File Storage via code

    Hi, I think using Microsoft Graph API is also a good choice.

    https://simplanova.com/blog/how-to-access-onedrive-using-graph-api-in-business-central/

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Save report in BC File Storage via code

    Hi

    You can try Azure blob storage in that case.

    Try this link

    www.navwithnav.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,228 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans