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

  • ravuri suresh Profile Picture
    246 on at
    RE: how to import custom text file in business Central

    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

  • ravuri suresh Profile Picture
    246 on at
    RE: how to import custom text file in business Central

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

    Import-issue.PNG

  • Suggested answer
    mahmoud_algindy Profile Picture
    277 on at
    RE: how to import custom text file in business Central

    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

  • Verified answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: how to import custom text file in business Central

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

    stoneridgesoftware.com/.../

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: how to import custom text file in business Central

    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/.../

  • ravuri suresh Profile Picture
    246 on at
    RE: how to import custom text file in business Central

    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
    89 on at
    RE: how to import custom text file in business Central

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 304 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 219

#3
Sagar_Dangar_MCP Profile Picture

Sagar_Dangar_MCP 180

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans