News

4D v18 R4 is Here

Automatically translated from English

I’m very happy to announce that 4D v18 R4 is now available!

4D v18 R4 is one of the best feature releases ever delivered, with 20+ new features added to 4D’s ever-growing list.

From the 4D language that keeps getting better, to new capabilities 4D for iOS offers for building enriched apps, to the implementation of 4D Write Pro features you’ve requested. PLUS a whole new set of 4D View Pro commands to give you further control over your documents.

Without further ado, here’s a sneak peek of what’s in store for you:

Tips

Tableau and 4D: Deploy your WDC to Github Pages

Automatically translated from English

In the  How to connect Tableau with 4D blog post, you learned how to create a web data connector (WDC) to request data from 4D and visualize it in Tableau Public.

Now it’s time to host our WDC! Since it only uses HTML and JavaScript files, Github Pages is the best option to store them. This allows others to test your connector directly in their Tableau software. In this blog post, I’ll show you how to proceed.

Bonus: I’ll also show you how to debug your WDC in Tableau Public using Chrome. Let’s get started!

Tips

How to connect Tableau with 4D

Automatically translated from English

In 4D Webinar – How to Connect Tableau with 4D, William Taylor (Technical Account Manager, 4D US) gave an overview of the Tableau tool and how it could be used to visualize your 4D data. In this blog post, we’ll dig into the technical details to give you a deeper understanding of how it works. This will allow you to build, for example, a visual showing the highest invoice total with nothing more than 4D REST and Tableau!

Product

4D Write Pro interface widget: Import & Export

Automatically translated from English

You asked for a way to import and export different document formats via the 4D Write Pro widget and once again, 4D listened!

In addition to the 4D commands that already allow you to import and export documents in different formats, such as export .docx format with 4D v17 R4 and PDF format with 4D v18 R4. Now, 4D Write Pro can import and export different document formats via the widget from the toolbar and sidebar.

 

Product

Pro list box features are now FREE!

Automatically translated from English

Interested in building list boxes that can automatically adapt the height of each row to its content so that the full text or picture can be displayed? What about using object arrays in columns (this allows entering and displaying various types of values in the rows of a single list box’s column).

These are very cool features, right? Previously, you needed to have a valid 4D View Pro license in order to use them. Well, not anymore!

4D v18 R4 lets you access these features for FREE! No additional licensing is required, they’re now included in the standard product.

Product

List boxes: Setup movable rows (or not!) by code

Automatically translated from English

List boxes are powerful form objects. They’re easily created and manipulated, and most importantly, they can handle any kind of data. Additionally, they can be fully set up by programming … everything from inserting or deleting rows and columns, to defining or modifying tons of properties using the 4D language. With 4D v18 R4, another important property has been added to the list. Can you guess which one? Hint: read the title again.

Product

4D View Pro: Enable, Disable, or Force calculations

Automatically translated from English

4D View Pro automatically recalculates the formulas in your worksheet when you change data they depend on (e.g., entries, formulas, names, etc.).

But what if you want to make your UI more interactive and trigger the calculation of formulas whenever you want? 4D v18 R4 makes it possible thanks to three new commands: VP SUSPEND COMPUTING, VP RESUME COMPUTING, and VP RECOMPUTE FORMULAS. These commands let you suspend and resume the calculation of all formulas in your document, or force their recalculation.

Product

Support of Cross-Origin Resource Sharing (CORS)

Automatically translated from English

Have you ever created an HTTP data request only to get hit by a red “access to HTML request has been blocked by cors policy” error?

When your site is on the same domain as the web service server, there’s no problem. However, this isn’t the case when performing a cross-origin request. Access is denied due to browser security preventing HTTP requests to another domain. The result? A CORS policy error.

To help you explicitly allow certain cross-origin requests on your server, 4D now supports the CORS protocol. Accessing data with cross-origin requests just became easier!