Announcement

Collapse
No announcement yet.

Trouble adding Column Names property for Delimited Text Data Type

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 05:26 AM. Reason: Added more information

  • #2
    Tried again without the quotes, but with underscores and this has worked.

    Comment


    • #3
      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.

      Comment

      Working...
      X