Creating a csv file without record identifier

Hello

I would like to create a csv file, but don’t want the record identifier to be output. I have a flat file dictionary, schema and xxxxxxxDT document defined. When I use pub.flatFile:convertToString service, I see the record name in the output string field. Is there a way to get the service to leave out the record name?

Yunus Aswat.

Did you gave RecordDefinition specific name? If you don’t want it to show up in the output then create as “recordWithNoID” as the record definition then convertToString won’t show up the column headers.

HTH,
RMG

Just settin default record of the schema will create recordWithNoId automatically in the generated Doc type. Map you data to this on as Rmg said.

Mapping to recordWithNoID solved the problem. Thanks.