Product

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.

Tips

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

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:

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:

Product

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!

Tips

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:

News

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.

Product

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.

Product

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!