Use class in embedded web area with $4d
With 4D 20 R9, 4D introduces new commands that allow developers to define an object context for $4d, ensuring only specific functions are exposed. Previously, using $4d meant exposing 4D methods to the web area, but now, you can define and use class functions instead. This improvement allows for better organization, encapsulation, and security when integrating 4D functionalities into web areas.
4D View Pro: Import callback ensures custom functions are fully resolved
Importing documents is a common task when working with 4D View Pro. However, when these documents contain custom functions, it can be challenging to determine when all calculations are completed before performing actions like printing or saving. To solve this, 4D 20 R9 makes sure that the callback formula of import commands is done only after all custom functions have been fully dealt with. This improvement gives more control and reliability when working with imported 4D View Pro documents.
Warnings on Deprecated Language Elements
With the release of 4D 20 R9, deprecated language elements now generate warnings, helping you keep your code as modern and efficient as possible. Let’s dive into the details.
4D NetKit: Use your web server host ports to retrieve your OAuth 2.0 authentication response
When using OAuth 2.0 authentication with 4D NetKit, you must define a redirect URI to indicate where the OAuth 2.0 server should return the authentication result. With 4D 20 R9, you can now use your host web server’s address and ports to retrieve your authentication responses. This enhancement streamlines the authentication process, prevents port conflicts, and improves security.
Edit and Debug Component Methods and Classes in 4D from the host project
When working with your own component, switching between the host and component environments just to debug or enhance your component code can be inconvenient. With 4D 20 R9, you can now edit and debug component shared methods and classes directly within the host project, as long as the components are included with their source code.
Follow 4D version : A Smarter Way to Manage your Dependencies
Great news! When adding a dependency from GitHub, you now have access to a brand-new rule: Follow 4D version. This powerful addition ensures your dependencies stay in sync with your 4D environment effortlessly, reducing compatibility issues and making your workflow smoother than ever.
4D 20 R9 Beta Starts Today
Beta testing for 4D 20 R9 starts today, introducing AI-driven tools, enhanced security, and much more—all designed to make your workflows faster, smarter, and more secure.
- AI Integration with 4D AIKit: Unlock advanced AI capabilities right in your 4D project—generate text, analyze images, categorize content, and automate complex tasks to boost productivity and innovation.
- AI Writing Assistant for 4D Write Pro: Enhance your writing process with real-time suggestions to generate ideas, fix errors, and improve clarity. Spend less time editing and more time creating polished documents.
- New TCPListener class: Build a TCP server, manage incoming connections, and control server-client data interactions with ease.
- Secure Web App Integration: Use OTP and session restore features to connect your web apps securely to third-party systems. Create safe, user-friendly interactions with minimal hassle.
- And that’s just the beginning — There’s much more to discover!
Download 4D 20 R9 now (Exclusive to 4D Partners)
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
