Bartender "Action" to pull data from Kinetic into a label

Has anyone used a Bartender action to call a Kinetic REST API and then populate values from the return into a label?

It seems like Bartender 2022 has all the pieces to do this, but I haven’t been able to piece enough of the documentation together to make it work yet.

The flow I’m planning is:

  1. Prompt for PONum and POLine in a Bartender form.
  2. Use a Bartender Action to call a Kinetic BAQ via REST API using the PONum and POLine values as parameters.
  3. Use the json return values to populate values in the label.

Where does the Bartender form come from?

I’m a bit confused on the workflow, could you explain like I’m 5?

It’s a Bartender data entry form configured when the label is configured. When you print the label from Bartender or the Bartender Print Portal, the user is prompted to fill in the data fields.

Interesting.

So I assume your users are logging into the print portal and selecting said form.
(Or that’s the plan?)

Yes, we often use the Bartender Print Portal to print labels that pull data from Kinetic. The labels I’ve created in the past use ODBC connection to our database, but there are some shortcomings with how Bartender pulls ODBC data. We can make those labels a lot more efficient if we can pull the data using REST API.

We’ve never bothered with the print portal, as we currently don’t have a need like that.
I’m throwing down my :popcorn: though!