Loading

How to remove the header from a CSV using DataWeave

Дата публикации: Mar 2, 2024
Задача

GOAL

If you are processing a CSV file and you need to remove the header, DataWeave will not remove it automatically. This article explains how to do it.
Действия
In order to remove the CSV header, you need to set the flag header=false in the DataWeave output section. The following DataWeave transformation receives a CSV in the payload and returns the same CSV but without the header:
%dw 2.0
output application/csv header=false
---
payload
Номер статьи базы знаний

001115849

 
Загрузка
Salesforce Help | Article