web stats
CSV Transformer Removing Quotes - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-22-2014, 12:19 PM
zap_me zap_me is offline
Mirth Newb
 
Join Date: Apr 2013
Posts: 10
zap_me is on a distinguished road
Default CSV Transformer Removing Quotes

Hello All,

I have a Mirth 3.0.3.7171 channel that reads a csv, queries MSSQL for patient email addresses, then writes a new csv with the queried emails. It all works with one exception... the final data file doesn't have the double quotes (") and I can't figure out where they went or how to get them back.

Here is some dummy data I have been reading:
"48","48","Abbey","Jeff"
"AETNA","379","Aetna","CapPlanOffsetAccount"
"22","22","Anderson","Lucille"
"35","35","Barton","Dana"
"677","576","Bassett","Don"

And here is the final data after Mirth transformer:
48,48,Abbey,Jeff,jabbey@aol.com
AETNA,379,Aetna,CapPlanOffsetAccount,
22,22,Anderson,Lucille,retiredlady@email.com
35,35,Barton,Dana,donna@kind.com
677,576,Bassett,Don,dbassett@aol.com

As best as I can tell my transformer javascript isn't causing this. When I remove the transformer code I am still missing the quotes. If I change the Destination Template to Raw I get the quotes back but the output doesn't include the emails. I changed all the Data Types to Delimited Text and used Default settings.

What am I missing that would allow the final, encoded, transformed data to include quotes around all the elements?

Thank you!

Last edited by zap_me; 08-22-2014 at 12:36 PM.
Reply With Quote
 

Tags
csv, encoded, quotes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation