4D Blog

Home Tips Integrate your Own Administration Window for 4D Server

Integrate your Own Administration Window for 4D Server

April 26, 2023

Tips

When deploying their applications, some developers want to customize the built-in 4D dialogs to fit their needs. It is especially true for the 4D Server Administration Window where they sometimes want some information and actions to be accessible only for their team and not for their customer administrators.

Deactivate Administration tools access

After having offered the possibility to hide explorers access from 4D Server menus, as explained in this blog post, 4D v20 make it possible to hide the Administration menu item. It can be done using the following key during the build application process:
<BuildApp>
  <CS>
    <HideAdministrationMenuItem>True</HideAdministrationMenuItem>

When the key is enabled, the 4D Server Administration menu item is hidden, its shortcut is released, and the dialog is no longer displayed automatically when the 4D Server starts. The only way to display the built-in dialog is to call the OPEN ADMINISTRATION WINDOW command.

Create custom administration SYSTEM

Over the years, 4D has provided commands to get all the information in this dialog so that you can develop your own Administration system. You can define yourself the access strategy, the information displayed, the authorized actions and your own styling!

Useful commands

This list of useful commands is not exhaustive, but you can already take a look on:
Get system info, Get Application info, Get license info, Get process activity, GET MEMORY STATISTICS, GET ACTIVITY SNAPSHOT, Cache info, and so on.

Create a 4D-based Administration

Using the above commands, Thomas Maul has developed and shared a dialog reproducing the content and the behavior of the 4D Server Administration Window. He also added some features, extending the built-in functionalities of the 4D Administration Window.
Everything is explained in this blog post.
You can easily integrate this component into your applications and then display it on the 4D Server freely or with your own authentication system.
And note that from 4D v20, you can set up your own Help menu for the 4D Server, as described in this blog post. So, it’s easy to add access to this custom administration dialog!

Create a web-based Administration

In some configurations, you would prefer to develop a web-based Administration system to allow the administrators to access it without running a 4D application or when the 4D Server interface is not accessible, for example, in headless mode.
Some time ago, we delivered a web project doing this, and described it in this blog post. Knowing that this project needed to be include in your own projects, we recently have make it a component. The advantage is that the code is separated from yours. And as the Administration component runs its own web server, the administrator can now stop the host project web server.

The source code can be pulled from this GitHub repository. Feel free to collaborate on this project by adding pull requests on the repo.
blank

 

Hope that all these elements give you ideas and help you develop the 4D Server administration that exactly fits your needs!

We constantly strive to provide our users with the best possible experience, and we encourage you to share your thoughts and feedback on the 4D forum. Your feedback helps us better understand your needs and continuously improve our products and services.

Discuss

Tags Administration, v20

Latest related posts

  • September 15, 2025

    Find the right spot in your 4D Write Pro document with AI

  • September 2, 2025

    Intelligent 4D Write Pro document analysis with AI

  • August 25, 2025

    ORDA – Constructor and touched event – Detailed behaviour through a network

Avatar
Damien Fuzeau
- Product Owner - Damien Fuzeau joined the 4D Product team in February 2019. As a Product Owner, he is responsible for writing user stories and translating them into functional specifications. His role also involves ensuring that the delivered feature implementations meet customer needs. Damien holds a degree in Software Engineering from the University of Nantes. He spent over 23 years at his previous company, first as a developer (discovering 4D in 1997), and later as Engineering Manager and Software Architect. The company was an OEM partner of 4D and deployed enterprise software based on 4D for thousands of users across hundreds of servers. Damien is therefore well-versed in 4D development and deployment in multilingual environments.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor
Subscribe to 4D Newsletter

© 2026 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

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