4D for iOS: Turn your iPhone into a barcode scanner

Nowadays, barcodes and QR codes are everywhere. They make things a lot easier because they save time, increase efficiency, and reduce human errors!

As you’ve probably guessed, the 4D v18 R6 feature release will allow you to go directly to the right view by scanning a barcode or QR code. Let’s delve into the details and discover how this feature will improve the way you can navigate through your apps.

Filter to open detail form

The first option that this feature offers is very convenient!

Scanning a barcode or QR code will filter a list form depending on the code’s value. If a record matches the barcode value, this will directly open the record detail form.

In this example, scanning a QR Code allows to filter the employee list form and open a detail form if only one record is left after filtering the list. Here the text included in the QR Code is “David Smith”.

Open views using Deeplinking

Deep linking is a nice 4D v18 R5 feature that allows users to open a specific view in their app just by clicking on a URL.

Good news! You’re now able to display specific list and detail forms just by scanning a barcode or QR code whose values is URL Schemes or Universal Links.


In this example, scanning a QR Code allows you to go straight to a project using the Employee list form Search Bar. Here the text included in the QR Code follows a URL scheme : Time-Keeper://mobileapp/show?dataClass=Projects&entity.primaryKey=47.

This is how an URL scheme is built :


Activate barcode/QR Code search

How can I activate this feature? Nothing could be simpler!

1. Go to the forms section
2. Select a list form
3. Click on the magnifying glass
4. Enable the “Enable barcode scanner” option



In short, this feature will allow you to spend less time finding things and more time selling them 😉

Don’t hesitate to give us feedback on the 4D forum and check out the documentation for more details. See you there!


David Azancot
• 4D for iOS Product Owner •David Azancot joined the 4D Product team as a Product Owner in 2017. He's in charge of writing the user stories and translating them into functional specifications. His role also includes making sure that feature implementations meet customers' needs.David graduated with an MBA in Marketing, Internet and Mobility from the Leonard De Vinci Institute and began his career in 2011 with a mobile start-up company, later acquired by Madvertise (a mobile marketing group). Passionate about mobile interfaces, he was the natural choice to develop interactive mobile ad formats for the group in 2015. In parallel, David has been developing his own iOS and Android applications since 2012.