btXML error on execution Bartender Integration
Hello Bartender community,
I'm working on an issue which I hope you guys can help me with. I'm reworking an old way of working with Bartender, where we use BTScript XML files as source to automatically fill our labels. The 'XML' file contains information about the printsettings, but also contains 'substring'-tags with the values that need to be put on our labels. An example:
<?xml version="1.0" encoding="utf-8"?>
<XMLScript Version="2.0">
<Command Name="Job1">
<Print>
<Format CloseAtEndOfJob="true">C:\BartenderLayout_path\label.btw</Format>
<PrintSetup>
<Printer>Printername</Printer>
<IdenticalCopiesOfLabel>080</IdenticalCopiesOfLabel>
</PrintSetup>
<NamedSubString Name="MATNR">
<Value>123456789</Value>
</NamedSubString>
<NamedSubString Name="MAKTX">
<Value>some value</Value>
</NamedSubString>
<NamedSubString Name="MATNR_END_PR">
<Value></Value>
</NamedSubString>
Within our currect bartender templates, we used 'named datasources' to link our label fields to the divered NamedSubStrings within that XML file.
The old integrations then use 'search and replace' tasks to do some changes like changing the printervalue for example.
With the 'new' way, I want to use the 'print document' task instead of the 'Print BTXML'-task.
I've completely configured this task, but I'm receiving this error while testing the integration:
'The 'template.btw' print job did not complete due to the following error: Er is een fout opgetreden tijdens het verwerken van het BTXML-script:
Kan de batchdatabase van BarTender niet samenvoegen met document "lib://Production Labels/SAP Triggered/QAS/Internal Labels/template.btw" omdat geen "btXML"-databaseverbinding werd gevonden.' So in English this should be 'Cannot merge the batch database from Bartender with the document because no btXML-database connections were found.'.
I do not have a clue where to look for answers now. The only database we have, is the xml file that is read by the integration. I've also changed the printersettings inside the bartender template to point to a tag inside of the XML-file.
How can I overcome this issue? I do want to improve the way we work today, with usage of Librarian and a simpler way of configuring the integration.
Thanks a lot for your help/feedback/advise!
greetings from Belgium!
Jeremy
Please sign in to leave a comment.
Comments
0 comments