Zum Hauptinhalt gehen

Suche

Suche

Field Mapping Issue

Kommentare

2 Kommentare

  • Avatar
    Ian Cummings
    Moderator
    I presume you are transforming this XML into BarTender XML Script. Can you show us what that transformed BT-XML looks like?
    0
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1314343636' post='455']
    I presume you are transforming this XML into BarTender XML Script. Can you show us what that transformed BT-XML looks like?
    [/quote]


    Thanks Ian for replying. I am not sure about that either. We drop our XML into a folder being polled by Commander and it picks it up and renames the file to .txt

    on our commander setting, we just have it as a "transform trigger contents Oracle XML to bartender xml script"

    Hi Ian,
    I think this is what you are looking for. Below is a sample. Right now, we have expanded to 1024 fields and most of them are empty. And if we don't export the empty fields, the BTW file does not pick up the correct field anymore. Do we need to remap the fields since we have based the BTW on the old layout of only 300 fields?

    [BarTender Command] Command Handler: BarTender1 - C:\PROGRA~1\Seagull\BARTEN~1\8.0\bartend.exe /XMLScript=<?xml version="1.0"?><XMLScript Version="1.0"><Command><Print JobName="Shipping"><PrintSetup><IdenticalCopiesOfLabel>1</IdenticalCopiesOfLabel><Printer>\\USHQS001\USHQP072</Printer></PrintSetup><Format>c:\test_btw\generic.btw</Format><RecordSet Name="Text File 1" Type="btTextFile" AddIfNone="true"><Delimitation>btDelimMixedQuoteAndComma</Delimitation><UseFieldNamesFromFirstRecord>true</UseFieldNamesFromFirstRecord><TextData>
    <![CDATA[
    "field 1","field 2","field 3","field 4","field 5","field 6","field 7","field 8","field 9","field 10","field 11","field 12","field 13","field 14","field 15","field 16","field 17","field 18","field 19","field 20","field 21","field 22","field 23","field 24","field 25","field 26","field 27","field 28","field 29","field 30","field 31","field 32","field 33","field 34","field 35","field 36","field 37","field 38","field 39","field 40","field 41","field 42","field 43","field 44","field 45","field 46","field 47","field 48","field 49","field 50","field 51","field 52","field 53","field 54","field 55","field 56","field 57","field 58","field 59","field 60","field 61","field 62","field 63","field 64","field 65","field 66","field 67","field 68","field 69","field 70","field 71","field 72","field 73","field 74","field 75","field 76","field 77","field 78","field 79","field 80","field 81","field 82","field 83","field 84","field 85","field 86","field 87","field 88","field 89","field 90","field 91","field 92","field 93","field 94","field 95","field 96","field 97","field 98","field 99","field 100","field 101","field 102","field 103","field 104","field 105","field 106"
    "BRIEFLY STATED INC DIV# 17", "11905 Landon Drive", "", "Mira Loma", "CA", "91752", "BRIEFLY STATED INC DIV# 1", "156", "", "", "LAS VEGAS-LA EXPRESS", "", "08880570000076908", "LVLA", "007690", "", "", "", "", "3553", "WalMart.com", "702 SW 8TH ST", "", "BENTONVILLE", "AR", "72716", "", "", "", "", "", "", "", "", "", "", "3553", "WALM30", "", "", "72716", "", "", "WalMart.com", "702 SW 8TH ST", "", "BENTONVILLE", "AR", "72716", "", "8800004503", "00035", "00035", "0007", "STD", "99", "", "", "", "", "2", "", "", "", "", "", "", "", "", "", "1", "1", "08/14/09", "09/23/09", "1", "", "sa", "", "", "", "0000888057800027250", "00008880578000272504", "2", "099338400392", "PLEATED FRONT SLVLS. PULLOVER", "002496740", "", "", "", "EA", "1", "0080002379", "08/25/09", "15:54:20", "11296314", "", "", "", "1", "", "1007007BM-40OPW", "40OPW", "", "S", "2", "099338400392"
    ]]>
    </TextData></RecordSet></Print></Command></XMLScript>
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.