hougaard / BCCL_support

BCCL Support Repository
3 stars 0 forks source link

Automatic use of field captions #10

Open cahan0506 opened 3 years ago

cahan0506 commented 3 years ago

The only work-around, I see is to do a lot of MappedName attrributes in the "mapping file"

hougaard commented 3 years ago

Not sure I understand, the MappedName must point to the column in the inputfile, it can be anything, unrelated to the field name or caption.

Please describe the scenario?

cahan0506 commented 3 years ago

I thought that you easily could import/export all fields in a table maybe using a fieldnumber range. If use need to map every field anyway, it makes no sense.

Still - you have an example like: BCCL -t tables -s name=Customer*

maybe it would be easier for some users to search by using captions because that is what they normally see in the user interface.

BCCL -t mapping -s table-18 -o table18.mapping.json Here you create a mapping file based on fieldnames. Maybe fieldcaptions could be included as well or used as default in mappedName.

hougaard commented 3 years ago

Maybe when generating the mapping file from the Request Builder...