Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Silent import of file into a Business Central SaaS table

Posted on by 659
I have a working XmlPort that imports a CSV file into a custom table. At the moment it's called manually via a Page Action. A dialog appears and the user selects the file to be imported and clicks OK. Now, we want to remove the human intervention, drop the CSV file into a folder and call the XmlPort from a Job Queue. Presumably, the aforementioned folder will need to be cloud storage (Google Drive, Dropbox, OneDrive etc...) as SaaS doesn't have access to a local filesystem? How can this be done using AL?
Categories:
  • Nick Webb Profile Picture
    Nick Webb 659 on at
    Silent import of file into a Business Central SaaS table
    I followed your procedure and on completion it reported:
     
    This flow was turned off because the owner didn't have a premium license. Use the flow checker to get it running again.

    Your premium flows are turned off. Purchase, extend, or renew a Power Automate license or submit a request to your admin.
     
    Do you really need a premium licence, just to prove a concept?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,664 Super User 2024 Season 2 on at
    Silent import of file into a Business Central SaaS table
    Hi, here is a simple example of using Power Automate. You can also customize other APIs.
    How to automatically upload files from OneDrive to Business Central with Power Automate (No customization)
     
    The biggest problem when using AL is that you need to be able to access your data. For example, on OneDrive, you may use the Graph API. As long as it is accessible, you can set it in the Job Queue and let it run regularly.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,339 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,177 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans