Product

Evolution of the diagnostic log

Automatically translated from English

Year after year, feature after feature, the diagnostic log has grown into a massive file on busy servers. With 4D v19R5, we included a new database parameter allowing you to choose the log level of the diagnostic log file. It will help you control the diagnostic log size by logging only what you really need.

Product

New Windows system rendering engine for Web Areas

Automatically translated from English

Web areas can display various types of web content within your forms: HTML pages with static or dynamic contents, files, pictures,… You can choose between two rendering engines for the web area, depending on the specifics of your application:

  • the embedded rendering engine
  • the system rendering engine

 

The advantage of the embedded system is the cross-platform portability. No need to adapt to some specifics of a platform. Moreover, it allows you to access 4D methods. 

The advantage of the system browser is the security updates that are available right away. There’s no need to wait for the next version of 4D. We recommend it for accessing the public Internet site. 

Windows has announced that “Internet Explorer 11 is retiring on June 15, 2022“. So since 4D v19 R5, if you use the system rendering engine, 4D uses Microsoft Edge WebView2. This change allows you to benefit from a modern browser with the latest features and security updates. For example, Microsoft Edge can be used to display PDFs.

Product

4D View Pro: Print Interface

Automatically translated from English

4D View Pro is a powerful tool in many fields. Its razor-sharp capabilities enable users to easily store, organize, and manipulate data. 4D v19 R5 brings a new ability to the product.

To make it easier for your customers to set up printing, the Ribbon has now a new addition; it supports print settings with a Page layout tab and a Page setup dialog. This dialog includes tabs for the Page, Margins, Header/Footer, and Sheet, allowing users to manage many options in the VP SET PRINT INFO command.

Here is everything you need to know.

Product

Directory file management in merged server projects

Automatically translated from English

Projects introduced the new directory.json file containing users, groups and permissions. It allows authentication, restrictions, permissions on several parts of the application, through settings or code. Let’s see the new improvements about this file usage in merged server projects.

Product

ORDA and 4D Write Pro : The power couple!

Automatically translated from English

4D Write Pro documents often contain formulas returning data or calculations depending on the database. Thanks to the use of contexts, associating that data with documents is now child’s play!

In this blog post, we’ll see how the combination of 4D Write Pro documents with data retrieved using ORDA makes the code clear and easy to maintain.

Product

ORDA – Optimize performance with full control over REST requests

Automatically translated from English

With a previous version, you discovered how ORDA REST requests had been automatically optimized to increase performance when working with a remote datastore and client/server configurations.

You learned that you can use contexts to take advantage of the automatic ORDA REST requests optimization.

That was a significant step, but now we offer to have complete control over the behavior of your REST requests. Since performance is a strategic concern, you must be eager to discover this new feature!

And that’s not all; new tools are now available to help you understand and debug your issues.

Keep reading for a complete presentation.

Product

4D View Pro: Populate your sheets with a data context

Automatically translated from English

4D View Pro offers you a new way to load your data and create your templates: the data context. It allows you to create your document with placeholders and fill them by setting this data context.

With just a few lines of code, you can display objects or collections without authorizing them first with VP SET CUSTOM FUNCTION! Let’s delve into the details. 

Product

A Seamless Way to Manage Parameters

Automatically translated from English

In the declaration of a function or method, you explicitly define its parameters. Then, when calling that function or method, you can pass fewer parameters to it if some are optional. Or, if you used the declaration with ${n}, the number of passed parameters is variable. In this case, you use the Count Parameters command with a loop over the arguments. This code works flawlessly. Still, it’s a little bit heavy.

You asked us for a lighter way to handle parameters, and we listened. Starting with 4D v19 R5, we provide you with a new command, Copy parameters, allowing you to write a seamless, more elegant, and easier-to-read code.