Skip to main content



No record found.

Business Central forum
Suggested answer

Importing csv/txt file using xml port via a job queue

Posted on by 165
Hi Techis,
Is it possible to import a .csv or .txt file using XML port through Job Queue for ON-PREM? without any manual intervention? assuming the file is in shared network folder??
if not , please let me know any work around.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,134 Super User on at
    Importing csv/txt file using xml port via a job queue
    Hi, just a idea, you can use Power Automate to first read files into BC, then customize a Codeunit to read the data, and then delete the file.
    Hope this helps.
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 14,611 User Group Leader on at
    Importing csv/txt file using xml port via a job queue
    Hi raj,
    To answer your question, yes, it's possible but that extension will require target = onPrem. (Not Suggested)
    If you setup extension as on-prem, customer will have to buy additional module for per user, per month.
    The other way possible is -
    • To Store file in an online file storage like - SharePoint, OneDrive or Azure Blob Storage.
    • If file is stored in online storage, then you can read file via job queue.
    • To import file using Job Queue you will have to call xmlport via Codeunit or report and those are only objects that can be used in Job Queue.
    Saurav Dhyani

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans