web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

how to import custom text file in business Central

(0) ShareShare
ReportReport
Posted on by 246

Hi all,

I want import custom text file into table in business central.

Please tell me how to do.

Advance

Thank you

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Closest thing in standard to this is using data exchange definitions. This blog shows you can add an action to a page to call a specific data exchange definition and place the table in a chosen table: joshanglesea.wordpress.com/.../

    Resource on data exchange too: docs.microsoft.com/.../across-set-up-data-exchange

  • ravuri suresh Profile Picture
    246 on at

    Hi Josh,

    Thanks for response,

    i want do in Business central Extension, is it possibile  to import the custom file  in table.

  • Suggested answer
    JAngle Profile Picture
    133 on at

    Try an XMLport then. You will need a page action to call it. It's a more direct route. Here is a resource that might help with the XMLport: www.hougaard.com/.../

  • Verified answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    You need to create an xmlport , please check the below link for an example

    stoneridgesoftware.com/.../

  • Suggested answer
    mahmoud_algindy Profile Picture
    281 on at

    Hi Suresh

    There are many ways, one is a semisimple and the other require Coding

    I will start with the simple:

    1- You can use the Data Exchange Definition, using the built-in Import Payroll in the General journal explained here Import Payrolls in Business Central - Roberto Stefanetti Blog - Microsoft Dynamics 365 Business Central (robertostefanettinavblog.com)

    2- Use Edit in Excel.

    3- Use Rapid Start ( Conf. Packages).

    The other way is to implement an extension with AL code

    (39) Import data with the AL Excel Buffer into Business Central - YouTube

    File Handling and Text Encoding - Business Central | Microsoft Docs

  • ravuri suresh Profile Picture
    246 on at

    Thank you  suresh for your response, i have followed accordingly but i am getting issues after importing file.

    Import-issue.PNG

  • ravuri suresh Profile Picture
    246 on at

    Hi Suresh,

    now i am able to import file by using Upload function and by reading data from instream variable using readtext functions.

    Thank you

    Suresh Ravuri

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans