[CSVUtil] Encapsulating custom header within double quotes
Forge component by Wei Zhu
Application Type
Traditional Web

Hi Team,

I am using ExportRecordList2CSV action from the CSVUtilExtension forge component , please find below screenshot for the property details:

I am using custom header which is of type text in the below case its 4.

below ss is of csv file opened with notepad:( The EncodeMode is "quote" its working for the other fields but not for the custom header)

I want to encapsulate the header value 4 within double quotes. Something like this:

Need assistance in fixing the above issue. 


Hi Gurpreet Bhui,

please use  """"+CustomHeader+"""" for this action.

it will solve your problem.

Also you can check attached oml.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.