Skip to main content

Notifications

Announcements

No record found.

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

Silent import of file into a Business Central SaaS table

Posted on by 674
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 674 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 73,696 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
     

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans