Tips

Use 4D Write Pro to Create & Print a Batch of Documents

Automatically translated from English

Whatever your business, you must create listings, inventories, tracking sheets, product sheets, invoices, and many other documents. These documents are usually printed or saved in PDF for archiving.

4D Write Pro is the ideal tool to create all your documents. Here is a list of several features available in 4D Write Pro that can help you make beautiful documents for printing:

 

Using these different features, here are some examples of documents produced.

Product

Microsoft 365: Get user information from Azure

Automatically translated from English

Many companies are using Microsoft 365 (former Office 365). Besides providing access to Office applications, Microsoft provides an Azure-based Active Directory, allowing users to log in to access services such as Microsoft Sharepoint or OneDrive using a Web Browser.

All Microsoft services use the same Single Sign-On, based on the email address. From 4D v19 R6, 4D NetKit allows you to join this concept, allowing users to log in to your application using their usual company credentials.

Besides allowing Single Sign-On, it will enable to retrieve information for the authenticated user such as email, department, and phone number. If permitted by the administrator, you can even retrieve such details on colleagues from the same company.

Let’s see how it works.

Product

Microsoft 365: Send Emails

Automatically translated from English

We know the importance of sending emails, and the fact that it’s a common task in today’s applications. Many people working with Office 365 have asked us for an API to send emails via the Microsoft Graph API. The OAuth 2.0 feature was a prerequisite for connecting to the Microsoft server and for introducing commands to retrieve user information. We are glad to proceed with email management, starting with the send email command.

Product

Support of larger integers than integer32

Automatically translated from English

While Reals are known to be unprecise, they are 100% accurate even for very large numbers, as long as they do not use a decimal point (=integers). 

Numbers up to 53 bit, or more exactly,  [-(2^53)+1, (2^53)-1], that is a range from −9,007,199,254,740,992 to 9,007,199,254,740,992, will be exactly represented.

Product

4D for Mobile: Say Hello to Aliases

Automatically translated from English

As you probably know, aliases have been available since 4D v19 R4. Aliases and computed attributes were a massive step forward for our development framework!

The days of defining business-related formulas in your 4D user interface are over; these concepts offer you a new way to separate your business logic from the UI, enabling you to improve performance by optimizing the parts separately.

And now, with 4D v19 R6, aliases are fully available and ready to use for scalars in your iOS and Android mobile projects as soon your aliases are defined on the 4D side.

Product

Developing Concurrently on 4D Server in Project Mode

Automatically translated from English

Since its release in 4D v18, Projects drastically expanded 4D’s capabilities by bringing compatibility with version control systems —among other things.

With excellent feedback, we couldn’t be prouder to see significant adoption of this feature among the 4D community. This pushed us to improve it to make it even better. 

Your feedback included a request for the possibility to work simultaneously on a single development server, as a team. Again, 4D listened, and we are thrilled to announce that with 4D v19 R6, you will be able to work on a development server in project mode!

Product

The Use of Formulas in Collections & Callback Commands

Automatically translated from English

When you use collections with a member method that needs a callback method, many of you have asked us for a more straightforward way.

You asked; we delivered!

Starting with 4D v19 R6, 4D allows you to use a formula to define a callback in the collection member functions, the EXECUTE METHOD IN SUBFORM, CALL FORM, and CALL WORKER commands. If you can reduce your code to a simple expression, you can pass it directly into the formula without using a method. 

Product

4D Write Pro: Disable Visibility of Empty Images

Automatically translated from English

4D Write Pro documents can contain images from different sources and in various formats. These images may, in some cases, not be displayed for totally reasonable reasons — such as invalid URLs, formulas returning empty images, formats not supported by the platform, etc.

However, they are always represented by a small empty rectangle showing their theoretical location. If you want to change this behavior, 4D v19 R6 is shipped with a new view option enabling you to make empty images completely invisible.