Cloud Pak for Business Automation

Cloud Pak for Business Automation

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  IBM BAW - BPMUI Toolkit - Data Export Control -Excel File Formatting Features

    Posted Thu September 11, 2025 12:04 AM
    Edited by Remya Raj Thu September 11, 2025 12:06 AM

    Hi All,

    Using BPMUI toolkit - Data Export control, can we export an excel file which includes row coloring and font coloring. Is it possible to customize the Data Export control and implement these features?

    Please suggest possible solutions for this use case. 

    Thanks. 



    ------------------------------
    Remya Raj
    ------------------------------



  • 2.  RE: IBM BAW - BPMUI Toolkit - Data Export Control -Excel File Formatting Features

    Posted 18 days ago

    Hi Remya,

    The default Data Export control in IBM BPMUI Toolkit supports exporting to .xlsx and .csv formats only. It does not natively support styling such as row or font coloring in the exported Excel files.

    You can extend the Data Export control using JavaScript and XML manipulation techniques.

    The exported Excel file is essentially a ZIP archive containing XML files (sheet1.xml, styles.xml, etc.). You can modify these files during export to apply styles.

    Use the customize function in the export logic to access and modify the XML structure of the Excel file.

    Example: You can target specific rows or cells and apply styles by setting the s attribute to a style index defined in styles.xml.

    customize: function(xlsx) {
      var sheet = xlsx.xl.worksheets['sheet1.xml'];
      $('row c[r^="A"]', sheet).attr('s', '25'); // Apply style index 25 to column A
    }


    ------------------------------
    Sravan Kumar
    ------------------------------



  • 3.  RE: IBM BAW - BPMUI Toolkit - Data Export Control -Excel File Formatting Features

    Posted 16 days ago
    Edited by Remya Raj 16 days ago

    Hi Sravan,

    Can you please provide more details on this, where exactly the custom function to be written to achieve row colouring and font colouring.

    ------------------------------
    Remya Raj
    ------------------------------