Forum Discussion
Abhishek_117 - I think the answer you're looking for is already an option in the CSV Parser snap. In the "Header size error policy", select "Trim record to fit header". This will ignore any extra columns in the input data.
Hope this helps!
- Aleksandar_A3 years agoContributor III
Hi @manohar,
You can try by using Mapper Snap with the following expression for the attachments:
sl.range(0,$docname.length).map((x,ind) => {"docname":$docname[ind],"id":$id,"docext":$docext[ind],"docid":$docid[ind]})
Try with this, and let me know if this helps you.
BR,
Aleksandar.wow!! you make it look so simple. thank you very much for your help.
Manohar
Related Content
- 2 years ago
- 2 years ago
- 5 years ago
- 3 years ago