Aller au contenu principal

Recherche

Recherche

Batch printing using REST

Commentaires

2 commentaires

  • Avatar
    Peter Lykkegaard

    You can use database overrides, the articel says cloud but works fine on prem too
    How to Use Database Overrides in the BarTender Cloud REST API – BarTender Support Portal

    Works like a charm, please follow the article to the letter as I didn't and failed

    The property "name" is actually the expected data format, "Text" means a CSV data load
    Replace with "JSON" if you use this format, please remember to escape your apostrophies in the "VariableValue"

    "DatabaseOverrides": [
        {
            "Name": "Text",
            "Type": "VariableName",
            "DataSourceVariableName": "EventData"
            }
        ] 
    0
  • Avatar
    Jonathan Pugh

    You can use database overrides but that means that the data source with the mappings needs to be defined in the BTW template. If you dont have a data source defined in the template this will not work.  I get that this should work with having a data source mapped, but is much easier for a basic user to design their own templates with just using the variable names for the objects in the template. I guess there isn't any way to do this with Bartender. I would have hoped that sending the BTXML file there would be support to send multiple distinct prints per batch but that doesn't seem to be the case unfortunately.

    0

Vous devez vous connecter pour laisser un commentaire.