infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Headers a CSV file
shikher arya1
Hi,
I want to make a CSV file with Headers using VRL in Cloverleaf.
For Ex-
FirstName, LastName, Age, City
Allen, Volpe, 43, NewJersey
I tried using tagged field by modifying the Global Properties of VRL but the output came like this:
FirstNameAllen, LastNameVolpe, Age43, CityNewJersey
Kindly suggest!!
Thanks
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
Several ways to do this:
* If your incoming message/file contains a header record as well, you can use that record to send your own header.
* Maybe you can determine when the first actual record is being received/processed and send a header record before that first actual record.
* If this csv file is processed at certain regular times, you can copy a file with only the header record as the receiving csv file. Then Cloverleaf will add all the actual records to this file.
* First process all your actual records and put them in a csv file. Then at a certain time, another Cloverleaf process takes this file and adds a header to it. You can do this with a tcl-proc.
It all depends on your input and your needs which option is best.