Catch errors everywhere
Error management is often a constraining part of development in all languages. In 4D, if you forget to call an error-handling method in a new process/worker or use components that don’t handle errors, the built-in 4D error dialog can appear to the final user. 4D developers would like to catch all errors in all contexts to avoid displaying this built-in 4D error dialog.
Let’s see how we can manage this behavior with 4D v19 R8.
4D for Mobile Tutorial – Define filter queries
For a mobile application, data is usually filtered to preserve storage space and provide direct and quick access to essential data.
With 4D, you have two types of filters.
- A static filter to filter the data for a table. For example, limit to tasks with the status ‘in progress.’
- A dynamic filter depends on the user’s information. For example, return only the user’s tasks.
This tutorial will show you how to use and combine these two filters.
Tips & Tricks for your 4D Apps – January 2023 Edition
by Add Komoncharoensiri, Director of Technical Services at 4D Inc
Here we go with another set of tips and tricks.
The 4D Knowledge Base is a library of information about 4D technology where weekly tech tips and monthly tech notes are actively published. If you missed the last tips on the KB, that’s fine; here is a compilation from the past few weeks.
This blog post covers 25 tips:
4D for Mobile Tutorial – Your first application
The 4D mobile application generator allows you to create mobile applications for Android and iOS. In the documentation, you have several tutorials to help you get started and even go further with advanced apps.
The first example is simple and allows you to create a contact catalog. All the details can be found here.
And if you prefer, here are all the steps in the video:
Create your Native Mobile Application with 4D
4D for Android and 4D for iOS allow you to configure, design, build, and deploy native Android and/or iOS apps based on a 4D database. Once generated and deployed, mobile clients can connect to the 4D Server and interact with new or existing data without additional requirements.
4D for Android and 4D for iOS are included in a single integrated 4D component. You can create a mobile project and decide to build it for Android, iOS, or both.
4D handles the complexity and generates an Xcode project in Swift or an Android project in Kotlin. Then, you can reopen them with Xcode and Android Studio and continue to work on them.
This blog post is a compilation of features available in our mobile solution that enables you to build a complete app that goes all out!
A Tailor Made Native App: Place Orders with 4D for mobile
4D v19 R6 and v19 R7 brought two interesting features to 4D for Mobile. Sessions and displaying web pages served by the 4D server in your native mobile app. But did you think about the possibilities you get when combining them both?
This blog post will show you one of these possibilities. We are going to see how to build a simple app that enables mobile users to place orders with their central purchasing office to consolidate their stock:
4D for Mobile Licenses
We got many questions on the 4D Forum on how licenses work using 4D for Mobile, and this is an excellent time to remind you of the process through this blog post that answers the most frequently asked questions.
Filter Access to your Data with a Complete System of Permissions
Filter access to data is a must-have feature to prevent malicious access to your application.
So far, you could expose or not expose as a REST resource a dataclass and some of its attributes. It was already a convenient means to restrict access to your data. Still, we’re thrilled to deliver in the v19R8 a powerful and fully customizable system to protect your data from unauthorized users. A system to protect your data depends on who is accessing it and which data is accessed.
Sections are Coming to 4D for Android
In a data list, the results are usually sorted on a relevant field to help the user find the desired data quickly and easily. Another trick to make the reading clearer is to group the results by adding sections.
Something that is possible since 4D v19 R8. Let’s delve into the details!
Microsoft 365: Copy, Move, Reply and Delete emails with the Microsoft Graph API
To access the data in Microsoft 365 like emails, Microsoft is deprecating Basic authentication for IMAP and POP3 and is increasingly promoting the Graph API.
From v19 R8, you now have new built-in commands in 4D NetKit to natively automate Microsoft 365 emails operations, such as copy, move, reply and delete emails.
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy