Directory file management in merged server projects
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.
ORDA and 4D Write Pro : The power couple!
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.
4D Write Pro – Elevate your documents’ layout with linked paragraphs
The layout of documents is a vital topic in many businesses, and there are many parameters to consider. To have even more precise control over the appearance of documents, it is now possible to link paragraphs together.
ORDA – Optimize performance with full control over REST requests
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.
Disabling explorers on merged servers
You may want to restrict administrators from accessing the Data Explorer and the Runtime Explorer in your deployed merged servers. 4D v19 R5 enables to do so.
Here is everything you need to know.
4D View Pro: Populate your sheets with a data context
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.
A Seamless Way to Manage Parameters
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.
Access your component classes from your host project
Components can now publish classes! And even better, if your application is still in binary mode, you can now benefit from classes and object-oriented development by using a component (in project mode) to create your own classes and use them from your (binary mode based) application.
4D for Mobile: What’s new in v19 R5
With every release, the list of 4D for iOS and 4D for Android features is growing bigger. And this feature release is no exception. Without further ado, let’s see what 4D v19 R5 has in store for you:
WHAT’S IN IT?
For 4D for Android and 4D for iOS Editor
- Goods news! The interface of the editor is fully compatible in dark and light modes.
For 4D for Android (already available in 4D for iOS):
- Turn your application into a barcode scanner to fill in a text input,
- Allow to sign directly in the application delivery, an intervention report, an estimate,
- Interact with different applications by touching a field on the screen:
- an address to automatically display a map showing the location,
- a phone number to call or add to contacts,
- a mail to open the mail app,
- a URL to open an URL in the default web browser.
- Create your own Kotlin formatters for your specific needs.
4D View Pro: What’s new in v19 R5
4D v19 R5 comes with a new version of SpreadJS, v15, and a Ribbon update that is compatible with it. Let’s discover the new features offered by this new version that will help accelerate your 4D View Pro development.
Contact us
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