ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / User Groupware
  • Overview
  • Implementation
  • How to?
  • Customize the login UI: The integrated elements
  • Full customization: The integrated elements
  • Example of customization
  • Getting the improvements made to the User Groupware
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The User Groupware in automatic mode offers many possibilities. If you want to set the management of users and rights more precisely, WINDEV allows you to customize everything (analysis, windows, code and more)!
Implementation

How to?

To implement the User Groupware in custom mode, you must:
  1. On the "Project" tab, in the "Project" group, click "User Groupware".
  2. In the description window of the current project configuration, in "User Groupware: Disabled", click "Change".
  3. In the window that appears, enable the User Groupware. You can configure the User Groupware for your application in the different tabs of this window.
  4. In the "Options" tab, select the desired customization mode:
    • Customize login UI (log in, register).
    • Full customization (expert mode).
    Different elements are integrated, depending on the customization mode chosen.
  5. Validate. The User Groupware is integrated into your project.
  6. An administrator account will be created during the first execution of application or site under the "supervisor" name. Then, the corresponding password can be specified.
Caution: The project no longer takes advantage of the improvements made to the User Groupware, once the latter is customized. Therefore, it is recommended to switch to "custom" mode with great care and only if you want to make important modifications. Otherwise, it is recommended to use the User Groupware in automatic mode. To get the improvements made to the groupware, see "Improvements".

Customize the login UI: The integrated elements

When a project uses the user groupware with a custom login interface, an internal component named "WDGPU_WD" is automatically integrated into the project.
This internal component contains all the customizable elements used by the groupware:
  • the login window ("WIN_GPU_WD_Login"),
  • a set of procedures proposing several useful functions.
All these elements can be modified.

Full customization: The integrated elements

When a project uses the user groupware with full customization, an internal component named "WDGPU" is automatically integrated into the project.
This internal component contains all the elements used by the groupware:
  • the login window ("WIN_GPU_ExportPassword"),
  • the configuration window ("WIN_GPU_Main"),
  • queries
  • the groupware analysis,
  • a set of procedures proposing several useful functions,
  • a class for context management.
All these elements can be modified: you have the ability to add an item into the "GPU_User" file or to implement checks on some controls for example.

Example of customization

the user groupware can be customized to remember the country of each user.
In this case:
  • a "Country" item is added to the "GPU_User" file,
  • a "Country" Edit control is added to the user details window (plane 2 of the "WIN_GPU_Main" window),

Getting the improvements made to the User Groupware

If you customize the User Groupware, you can still take advantage of the improvements made to the User Groupware: perform a comparison between your project that includes your modifications and the same project that includes an internal component without modification.
To do so:
  1. Create a copy of your project.
  2. In the "copy" project, delete the internal component named "WDGPU".
  3. Then, ask to check this component back in via the window for configuring the groupware (open and re-validate the window to force the integration of the internal component).
  4. Compare the projects: on the "Project" tab, in the "Other actions" group, expand "Compare" and select "Compare two projects...". Ask to compare the current project and the "copy" project.
  5. The "Management/Resolution of differences" window allows you to see all the differences between the elements from your modified internal component and the ones from the "standard" internal component.
You can then easily retrieve the improvements of the "standard" internal component you are interested in.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 06/08/2023

Send a report | Local help