ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Overview
  • Integrated User Groupware
  • Implementation
  • The integrated elements
  • Use example
  • Custom User Groupware
  • Implementation
  • The integrated elements
  • Retrieving the evolutions 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 groupware in automatic mode offers several possibilities. If you want to configure the management of users and rights in a more precise way, WEBDEV propose 2 customization levels:
  • integrated User Groupware: you customize the identification mode of the user.
  • custom User Groupware: you customize all the elements of the User Groupware.
Integrated User Groupware

Implementation

To implement the integrated user groupware, you must:
  1. Open the window for configuring the User Groupware: on the "Project" tab, in the "Project" group, click "User Groupware".
  2. In the "Integration" tab, check "Enable the integrated User Groupware mode".
Remark: The integrated User Groupware can be used in automatic or custom mode. If you are using the integrated User Groupware in automatic mode, the project will benefit from all the evolutions made to the User Groupware.

The integrated elements

When a project uses the User Groupware in integrated mode, an internal component called "WDGPU_WB_CNT" is automatically included in the project.
This internal component contains all the elements used by the groupware to customize the connection:
  • various pages,
  • page templates,
  • a control template,
  • a set of procedures proposing several useful functions.
This internal component contains a control template ("TPLC_GPU_Connection") that is used to manage the connection. Simply include this control template in the desired pages (or templates) via Drag and Drop.
After integration, you have the ability to customize this control template:
  • by overloading the controls and/or the processes for small modifications,
  • by modifying the control template for more important modifications.

Use example

An AWP site proposes a public section and a private section. To access the private section, the Web user must identify himself.
The User Groupware was implemented in integrated mode in this site. In the menu, a "Specific access" option is used to display the identification page.
The "TPLC_GPU_Connection" control template was included in the menu to manage the user authentication.
Custom User Groupware

Implementation

To implement the User Groupware in custom mode, you must:
  1. Open the window for configuring the User Groupware: on the "Project" tab, in the "Project" group, click "User Groupware".
  2. In the "Integration" tab, select "Custom User Groupware".
Caution: As soon as the User Groupware is customized in a project, the project will no longer benefit from the evolutions made to the User Groupware. 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 retrieve the evolutions made to the groupware, see "Evolutions".
Remark: the custom User Groupware can be used with the integrated mode.

The integrated elements

When a project uses the custom User Groupware, an internal component called "WDGPU_WB" is automatically included in the project.
This internal component contains all the elements used by the groupware:
  • the groupware pages, for the classic mode and for the AWP mode,
  • the groupware analysis,
  • the queries,
  • two sets 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.

Retrieving the evolutions made to the User Groupware

If you customize the User Groupware, a solution allows you to retrieve the different evolutions 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_WB".
  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 evolutions of the "standard" internal component you are interested in.
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment