Product

Calculations in collections

Automatically translated from English

Calculate average, total or price (including tax) are common tasks in any business application. Collections are an easy way to aggregate your data in a consistent way. With it, this type of calculation becomes very simple, because there are collection methods that do everything for you!

Events

4D Summit Advanced Training 2018 – Innovation at its finest!

Automatically translated from English

In this year’s 4D Summit Advanced Training, you’re going to learn about a lot of new innovative concepts that will be revealed during the Keynote and the MasterClass.

Not only sugar syntax, but accessing data in a very different way. Not only will these cutting edge features will allow you to take your applications to a whole new level, but they will also help you attract new talent! However, if you’re still skeptical and trying to decide if it’s worth booking a whole day dedicated to this new version, well the answer is: YES, it’s definitely worth it!

Product New constants for the command Get 4D files

Easy access to log files

Automatically translated from English

Log files can be extremely useful for troubleshooting. They’re also a big help for finding the root cause of an incident. Logs let us track of where a problem occurred, and when. Before, with the Get 4D folder command, you could easily access the folder containing all the logs. Now, 4D v16 R6 makes easy to find a particular log file, thanks to the enhancement of the Get 4D file command.

Product

Backup and Security

Automatically translated from English

There’s a saying about not sweating the small stuff, but when it comes to security, it’s often the little things that have the biggest impact.

On the “Backup” page of Database Settings, you’ll notice an option for an automatic restore of the last backup if your database is damaged. To provide you with the best level of protection for your data, this option is now checked by default for new databases, right out of the box. 

Product

Combine and sort collections

Automatically translated from English

4D v16 R6 opens a wide range of possibilities to manage collections. Merging two collections into one, cloning or just ordering a collection is as easy as calling a method. It saves valuable time, for example, when you need to concatenate two collections, keep only the distinct values, or sort it.

Product

Convert collections

Automatically translated from English

4D v16 R6 provides advanced capabilities to manipulate collections, thanks to 40+ methods to be used with Object Notation. By using them, you’ll be able to write your code in a more efficient way. New code is great, but we also kept in mind that this new code needs to easily integrate with your existing code. This is why we’ve introduced dedicated commands to convert collections to arrays or strings, and vice-versa.

Product

Using path elements in objects

Automatically translated from English

4D is making your developer’s life easier with two new commands to effortlessly manage file or folder paths. Save valuable time with the Path to object command which, in a single line of code, extracts the extension, the file name or the parent folder. Then you can modify and recombine the different object attributes to compose a new path with Object to path.

Product

Insert or remove elements from a collection

Automatically translated from English

Adding and/or removing elements to and from collections are common programming tasks that developers often encounter. 4D v16 R6 provides over 40 collection methods, including methods specifically dedicated to the addition and removal of elements in a collection. With these methods, you can easily create a stack (FIFO) or queue (LIFO), add new elements at any position, and much more…

Product Create dynamic forms

Discover the power of dynamic forms

Automatically translated from English

You’ve told us how much you want a feature to dynamically build forms fully adapted to your end users’ needs. Well, we heard you, and 4D v16 R6 now opens new opportunities with dynamic forms! Provided as a preview in 4D v16 R6, dynamic forms allow you to programmatically build your forms in an object or load them from a text file. But this only scratches the surface of what we’ve cooked up for you…