FileMaker Magazine Posted July 21, 2022 Posted July 21, 2022 The world of JavaScript libraries is so rich and full that once you start using some of them you start to ask yourself "Should I even try this natively with FileMaker?" When it comes to something like QR codes we don't even have a native option to create them. Currently, there's no GenerateBarcode() function. There's also the situation where you're using one of these fabulous JavaScript Libraries and you want to loop through a found set of records. The problem is... — You try to use your new cool JavaScript library on a range of records. Creating a QR code for a collection of records. Just a few hundred or a few thousand is all you need. There's a few problems with this situation however. One of them is that you MUST know how the FileMaker.PerformScript() function behaves within a Web Viewer. If it's not ready to go, then you'll get an error (which you can't even see unless you use a JavaScript debugger). The second issue is that FileMaker will simply stack any script calls until you get to the last record of a record loop and then execute them all on the last record. This is why you need to know the two critical things which must be set for successful loop based JavaScript use with a web viewer. Fortunately, we'll walk you through these critical issues and show you everything you need to keep in mind for using JavaScript, a Web Viewer and a Record Loop. Click the title or link to this article to view the video.View the full article
Recommended Posts
This topic is 867 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now