4D Qodly Pro offers all the tools you need to design, build and run web forms for your 4D application.
Fully integrated to 4D, it comes out of the box with Qodly studio. And just like 4D, its use is easy, accessible and nested in the 4D’s world.
To use Qodly Studio with 4D projects created with older versions, some project settings might need to be changed to support modern features.
That’s why, starting 4D 21, the access to Qodly studio from 4D has been enhanced to be no more than two clicks, to make your life easier, free your mind and let you focus on your business success story.
click and the door will be opened for you
When working with 4D, you may have already used the Qodly studio menu item.
Several settings must be enabled in order to use Qodly studio , and to run your 4D Qodly Pro pages
Those settings are detailed below for curious readers.
If some of those settings are missing, 4D will propose to enable them for you when clicking the Qodly studio menu item. Just click the Enable settings button to enter Qodly studio.

learn more about the required settings to USE qodly studio
Here is a summary of the required settings to enable 4D Qodly Pro in your 4D project
web admin settings
Start the WebAdmin server and enable HTTP or HTTPS
Qodly studio is served by an embedded web server component, named WebAdmin. This component is used by 4D and 4D Server to provide a secured web access to specific management features such as Qodly studio or the Data Explorer.
That’s why the Web admin server must be started on a HTTP or HTTPS port.
Enable access to Qodly studio
By default, access to Qodly studio is not granted. As a first security level, you need to allow access to Qodly Studio on the WebAdmin web server. This setting applies to the 4D application (4D or 4D Server) on the host machine. All projects opened with that 4D application take this setting into account.
Keep this option unchecked if you want to make sure no access to Qodly Studio is allowed on the application.
project web settings
Start the Web server and enable HTTP or HTTPS
While developping web Qodly pages for your app, you have the flexibility to render a current page or to preview the entire app in a browser window. In both scenarios, the page is rendered by the Qodly web renderer engine as it will be rendered in a production environment.
In this case, pages are served by the web server of your project which must be started accepting HTTP or HTTPS connections.
Enable scalable sessions
After deployment, web Qodly pages become readily accessible to end-users, who can render and interact with them directly in their web browsers.
At run time, your Qodly app will be executed in a browser, thus a session is required to handle web client requests. Qodly studio requires scalable sessions so that the user’s session is able to proceed simultaneously multiple requests from a web client.
Moreover, scalable sessions can be associated some privileges to protect your data from unauthorized users. Thus, you can implement an accurate and reliable authentication for your app.
Expose the project as a rest server
When developing a web-browser-access for your app with Qodly studio, you use the 4D Language featuring ORDA. Data is accessed through ORDA concepts and the business logic must be implemented in the ORDA abstraction layer.
At runtime, Qodly pages are generated and interpreted by the built-in renderer engine.The REST server of your app is then requested to serve data and execute the business logic.
Thus, your project must be exposed as a REST server.
Enable access to Qodly studio
To make your project editable by Qodly studio, you must Enable access to Qodly studio at project level.
Note: Be aware the Enable access to Qodly studio setting exists for both WebAdmin server and project web server. The first one targets the 4D application instance, the second one targets the project itself.
the forcelogin mode
The forceLogin mode is required to avoid consuming a 4D Client licence just for displaying a simple authentication page or if the authentication fails.
Thus, the Logout Qodly standard action is fully realised.
Don’t wait more to start with Qodly studio to offer your end users a web-browser experience when working with their favorite app!
