Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Barcode Add-on (recoding records)

Featured Replies

I am having a hard to getting my head around how to make this work. The ad on works great and I can get it to regenerate a code in the client via one record at a time. However if we decide to change the settings of the barcode and want to "regenerate" them all? I thought ok cool I Will just run a loop through all the records and call the script. however because it sets the web viewer those are called as scripts to be ran after the main and just "pile up" waiting to be ran once the script with the loop is done. any ideas on how to get around this?

What happens if you insert a short pause into the loop before going to the next record?

 

  • Author

The script gets fired to run after the script that contains the loop is finished…..

Then I don't know. I am still on v.18 so I cannot use add-ons, but I managed to reproduce the issue using a script run via the FMP URL protocol. Inserting a pause in the looping script solved the problem.

What exactly does your looping script do to trigger the other script?

 

  • 3 weeks later...
  • Author

The loop script simply calls the add on script on each record. It then calls a script that sets a webviewer, that fires off another script. However that script just gets stacked to the end of the primary script.

  • 3 months later...
  • Author

Anyone figure this out yet? 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.