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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Remove blank line at the end of the CSV file

(0) ShareShare
ReportReport
Posted on by 1,455

Dear Experts,

I am using the CSV Buffer to export the data into a CSV file. After it got downloaded, there is one Blank Line at the end of the File.

For Ex. If there are 10 lines of data, the file contains 11 lines(the last line will be Blank Line).

Does anyone face the same issue? Or anyone have the Idea on the issue.

Or is there any way to remove this additional line?

I am using Business Central SaaS with the latest updates.

Any suggestions would be much appreciated.

Regards

Avinash B

I have the same question (0)
  • Suggested answer
    Renni Profile Picture
    960 on at

    You could try the data exchange mapping and set a transformation rule to remove the blank line

  • Verified answer
    Binesh Profile Picture
    7,887 on at

    Hello,

    Use XMLPort to export in CSV.

    CSV Buffer will add a new line after writing all the data, it's standard behavior as shown below.

    pastedimage1594750057774v1.png

  • Avinash B Profile Picture
    1,455 on at

    The issue got resolved by using XMLPort.

    By using CSV Buffer, there will be always an extra line at the end.

    Thanks for all your suggestions.

    Regards

    Avinash B

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans