Articles in this section
Category / Section

How to Include Spaces in CSV Export Header Names in Bold Reports

Published:
Updated:

When exporting reports to CSV in Bold Reports, column headers are generated based on the textbox names by default. To make these headers more user-friendly, you can customize them by setting the DataElementName property for each textbox in the detail row.

Steps to Customize CSV Export Headers:

  1. Open your report file:
    Use any text editor or XML editor (such as Visual Studio Code or Notepad++) to open your report file.
  2. Locate the <Textbox> in the Detail Row:
    Find the <Textbox> element within the detail row of the table that corresponds to the field you want to customize.
  3. Modify the DataElementName Property:
    Inside the <Textbox> element, modify the <DataElementName> tag with your desired header name (including spaces, if needed).
    image.png
<Textbox Name="Textbox1">
 ...
 <DataElementName>Product No</DataElementName>
</Textbox> 
  1. Save and Reload the Report:
    Save the updated report file and reload it in the Bold Reports Designer.
  2. Export to CSV
    When you export the report to CSV, the column header will now use the value specified in DataElementName(e.g., Product No), instead of the raw field name.
    image.png

Customizing CSV export headers in Bold Reports enhances the readability and professionalism of your exported data. By using the DataElementName property in the RDL file, you gain full control over how column headers appear in CSV exports—ensuring they are clear, accurate, and aligned with business requirements.

See Also

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied