Barcode scanning for few items once by once to a list, then sync instead of syncing immediately

Hi all,

I wanna create an action or a behavior to invoke the barcode scanner, so it behaves like a supermarket checkout and I am successfully to do it after taking a reference of this article: Barcode Scanner action

Additionally, I would like to scan a series of barcode first, which means a list of items, then upload or sync all of the data manually instead of upload or sync the data immediately after scanning one item after one. Just like the photo shown below:

Sorry for my poor expressions and limited English level.

Thanks in advance.

Solved Solved
0 9 1,756
1 ACCEPTED SOLUTION

First note: Please consider to set the [Product Barcode] column to required.
And under UX --> Options --> turn on โ€œAdvance forms automaticallyโ€.
This will open up the scanner immediately without having to click on the scanner Icon.

To your question:
Under Behavior --> Offline/Sync --> enable โ€œDelayed syncโ€ and disable โ€œAutomatic updatesโ€.
This will queue up the scanned Barcodes. 2X_3_3b9d9059970401b21fcfdfb31473c9909fed87db.png
When you are finished with the series of Barcodes, you can manually sync.

Or: you can attach an Action to your form under Event Actions Form Saved.
This Action would automatically force a sync after you are finished with the series of Barcodes.
The Action should be โ€œApp: go to another AppSheet appโ€ with the Target:
CONCATENATE("#view=Your_Table_View&at=",NOW() + 1)
Under โ€œOnly if this condition is trueโ€ you can set a condition. For example you could Add another column at the end of your Barcode Form, letzt say [Sync] with one ENUM value โ€œSave and Syncโ€.
The condition in the Action would then be: ISNOTBLANK([Sync]).

Finally you will have:

  • Open the Barcode scanner
  • Scan a Barcode
  • Open the form again automatically
  • Scan as many Barcodes you like
  • At the last one click on โ€œSave and Syncโ€
  • The App syncs and brings you to the Table view.

View solution in original post

9 REPLIES 9
Top Labels in this Space