How to quote fields in flat file output

I am converting an internal format document to a flat file using a schema without record identifiers. How can I get certain fields in the pub.flatFile.convertToString output to be enclosed in quotes? When I write a format service to do this using pub.string.concat I get quoted quotes in the output, i.e., three quotation marks on either end of the field.

We’re using WM 6.1. Thanks.


Before you invoking convertToString why dont you set the quotes what ever the fields you want to in the ffValues itself and then do the convert.will this be ok?



Thanks, that did work. I ended up writing a service to set the quotes and using it as a transformer. I was thinking that there would be an option in either the FF dictionary or the convertToString service to do it, but this approach will work fine. Thanks for the suggestion.