question

Dan avatar image
Dan asked David Marginian Deactivated commented

getTagsForPrinter doesn't return tags

Hello, I am testing with an on-board Order printer on a sandbox Mini 2.

1605884130119.png

As you can see it has the "Dogs" tag associated with it. Creating an order via Register with an item associated with the Dogs tag and clicking "Print Receipt" successfully prints both the "Payment" receipt and the "Order" receipt. Now in our app, finding the (only) Order printer and calling getTagsForPrinter with the printer's uuid never returns any tags.

inventoryConnector#getTagsForPrinter(printer.uuid)

Here is a snippet of the code, showing it not returning any tags.

get-tags-for-printer-not-working.png

I have also tried rebooting in vain. Any ideas?


Edit:

Can confirm the same issue occurs on a Flex 1.

I have forked the Clover example repo to make a reproducible sample showing this function being broken in the inventory connector sample if anyone is interested. It appears as though interest in fixing this is low, especially as the original question from 2018 on the Tag#getPrinters() function returning null has never been resolved either.

I will see if I can get the data from the API.

PrintInventory
2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dan avatar image Dan commented ·

Shall I produce an MVP project to demonstrate this sdk call is not working?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ Dan commented ·

Does it work from the REST API?

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community