web stats
Trouble adding Column Names property for Delimited Text Data Type - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2014, 05:09 AM
seaston seaston is offline
OBX.3 Kenobi
 
Join Date: Feb 2010
Location: London, UK
Posts: 168
seaston is on a distinguished road
Default Trouble adding Column Names property for Delimited Text Data Type

I'm having trouble editing the data type properties for Delimited Text:

I want to add the following column names, but cannot get this to save in the properties

Code:
 
 "Record Type","Person ID","Employee Number","Title","Last Name","First Name","Maiden Name","Gender","Date of Birth","National Insurance Number","Hire Date","Termination Date","Current Employee Status Flag","Employee Address 1","Employee Address 2","Employee Addres Town","Employee Address County","Employee Address Postcode","Employee Address Country","Personal e-Mail","Home Telephone Number","Home Fax Telephone Number","Mobile Telephone Number","Office e-Mail","Pager Telephone Number","Work Telephone Number","WTR Opt Out","Applicant Number","Current Applicant Status Flag","Employee Address 3"
Any ideas?

I also tried using underscore, but this did not work either:

Code:
"Record_Type","Person_ID","Employee_Number","Title","Last_Name","First_Name","Maiden_Name","Gender","Date_of_Birth","National_Insurance_Number","Hire_Date","Termination_Date","Current_Employee_Status_Flag","Employee_Address_1","Employee_Address_2","Employee_Addres_Town","Employee_Address_County","Employee_Address_Postcode","Employee_Address_Country","Personal_e-Mail","Home_Telephone_Number","Home_Fax_Telephone_Number","Mobile_Telephone_Number","Office_e-Mail","Pager_Telephone_Number","Work_Telephone_Number","WTR_Opt_Out","Applicant_Number","Current_Applicant_Status_Flag","Employee_Address_3"
I'm using version 3.0.3

Simon

Last edited by seaston; 07-21-2014 at 05:26 AM. Reason: Added more information
Reply With Quote
  #2  
Old 07-21-2014, 05:37 AM
seaston seaston is offline
OBX.3 Kenobi
 
Join Date: Feb 2010
Location: London, UK
Posts: 168
seaston is on a distinguished road
Default

Tried again without the quotes, but with underscores and this has worked.
Reply With Quote
  #3  
Old 07-21-2014, 07:36 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road
Default

Remember that those column names will be used as the XML node names for each individual column. As such, the names need to be valid XML node names. If you have the Java console enabled on the client, you'll see this:

Code:
ERROR 2014-07-21 08:38:10,217 [AWT-EventQueue-2] com.mirth.connect.plugins.datatypes.delimited.DelimitedSerializationProperties: Invalid column name: Record Type (must be a combination of letters, digits, periods, dashes, underscores and colons that begins with a letter, underscore or colon)
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

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 04:06 AM.


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