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!

Guest Post

How to create a simple “TimeStamp” class in 4D

Automatically translated from English

by guest author Tiran Behrouz, 4D developer (Vancouver, Canada) 

The introduction of ORDA in 4D v17 was a game-changer. Now with the introduction of classes in 4D v18 R3, we will witness a paradigm shift in 4D programming. We can now take advantage of object-oriented programming concepts such as polymorphism, composition, and inheritance to write our own class libraries. In this video, I demonstrate how to code a simple TimeStamp class using 4D and ORDA. 

Product

New declaration syntax for an intuitive autocompletion

Automatically translated from English

Have you ever wondered about 4D’s autocompletion feature or asked yourself why 4D suggests all functions used in the code? Since an object is a very generic type, 4D only knows what it’s really storing at runtime. However, that doesn’t help much when you’re writing your code.

4D now offers a new, alternative syntax which will greatly enhance autocompletion when declaring your variables.

Product

Download your emails in MIME format with POP3

Automatically translated from English

Do you need to store all business emails, for example, for legal or fiscal purposes? These documents must be stored as they are. That is, how they were received … in their original, unconverted formats. 4D v18 R3 answers this need by providing you with a new method allowing you to get emails in their original MIME format.

Product

ORDA: an up-to-date datastore without restarting

Automatically translated from English

We’re thrilled to announce that 4D v18 R3 includes an enhancement that will have a huge impact on the developer’s experience. A feature many of you have requested, and 4D delivers!

When you work in 4D standalone mode during the development phase (writing and testing your code), you’re no longer required to restart your database in order to have an up-to-date datastore (ds) when the structure is updated!

Now you don’t need to restart the database each time you need a new attribute or a new table in your code! It’s all automatic!

When you call the ds command, you get an up-to-date datastore object. This means that several versions of this datastore object are handled at the same time … depending on when you updated your structure … without breaking running processes.

If you work in client / server mode, this works fine for code running on the 4D Server.

For remote clients, you simply need to restart the client requiring the structure’s update.

Product

Project Databases: Method documentation is back

Automatically translated from English

When developing an application, it can be very useful to have quick access to the details of a method (e.g., an explanation of what it does, its syntax, and a definition of the parameters passed to it). This becomes even more important when using a compiled component. You can’t look at the content of the method, so you can only rely on its documentation to understand how to use it.

The Explorer’s dialog has been enhanced and documentation is now available in 4D v18 R3 for project databases.