cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to drop only one field?

doug_fossler
New Contributor

Does anyone know of a way to drop one field out of twenty. So far the only way I have found is to use a mapper, uncheck the passthrough, and put all the other fields (19) in the Expression/Target path area manually which is a pain. Is there a way to alter the โ€œMapping Root*โ€ field to use $ - $unwantedfield ?

3 REPLIES 3

tstack
Former Employee

You can use a Mapper with Passthrough enabled, set the Expression column to the path to be deleted, and leave the Target Path empty:

image

The โ€œLeave blank to delete source pathโ€ text in the target field is supposed to guide the reader in this direction. I guess itโ€™s not working too wellโ€ฆ

doug_fossler
New Contributor

@tstack, this worked now, but I know i previously got errors saying I had to have a target path.

RLE
New Contributor

Just donโ€™t put the field at all in the list. E.g. where $unwantedField is, make that blank and leave Target Path blank.