AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Groupware Usuario / Groupware Usuario - Versión de compatibilidad
  • How to customize the User Groupware?
  • Customizing the windows and the pages
  • Customizing the windows and the pages
  • Translating the windows/pages for the multilingual applications
  • Modifying the first window or the first page according to the user
  • Starting the login window/page from an application window or from a site page
  • Defining the rights on the menus
  • Define context menu rights
  • Defining the rights on the automatic menu ("?" menu)
  • Configure User Groupware data files
  • Reinitializing the data files
  • To reinitialize the data files of the User Groupware
  • Remarks
  • Modifying the data files
  • Managing the analyses
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 18, the User Groupware evolves. This help page corresponds to the User Groupware kept for backward compatibility. For help on the new version of the User Groupware, see User Groupware.
Customizing the windows and the pages

Customizing the windows and the pages

The login window/page
You may want to customize the login window/page that is displayed when starting your application. If this window or page is included in your project, the style or the skin templates used by your application can be applied to this window or page.
Caution: This window/page must not be renamed.
All User Groupware windows/pages
If you have chosen to integrate all User Groupware windows/pages, you can customize them all. However, only the login window/page will be viewed by all the users. The windows/pages for configuring the groupware can only be viewed by the supervisor of the application .
Caution:
  • WINDEV The GPWLogin and GPWSupervisorMenu windows must not be renamed.
  • WEBDEV - Código Servidor The GPWLogin_WB page must not be renamed.
For more details, see User Groupware windows and pages.

Translating the windows/pages for the multilingual applications

To use the User Groupware in a multilingual application, see User Groupware and multilingual feature.

Modifying the first window or the first page according to the user

To change the first application window or the first site page according to the user, gpwGetUserInfo must be called in the initialization code of your project. This option allows you to get information about the user such as his name or password for example.
Depending on his name, you have the ability to open a given window or a given page.
Example:
IF gpwGetUserInfo(gpwLogin) = "FP" THEN
	Open(WIN_Management)
ELSE
	Open(WIN_Menu)
END

Starting the login window/page from an application window or from a site page

When the User Groupware is included in an application, you can choose whether the User Groupware will be automatically started or not. This option can be modified at any time.
By default (automatic start), the login window/page is the first window/page of the application. It is run with the initialization code of the project.
In some cases, you may want to open a configuration window before the login window. To do so, you must:
  1. Select "Manual start".
  2. Open the login window or page anywhere in the code with gpwOpen.
Defining the rights on the menus
WINDEVWindows

Define context menu rights

To define context menu rights, all User Groupware windows must be integrated. Then, you can modify the window for managing rights (GPWConfigurationDetails.WDW).
To get the list of context menus, simply use EnumSubElement (with the enumFirst + enumContextMenu constants).
WINDEVWindows

Defining the rights on the automatic menu ("?" menu)

Some options of the automatic menu must be used with great care. These options are as follows:
  • Optimize access speed to the database
  • Save data
  • Save application
  • Repair the database.
The operating mode of these options with the User Groupware is as follows:
  • By default, these options are grayed if the user is not the supervisor.
  • To allow a non-supervisor user to access these options, modify the rights of the internal window named IW_MenuHWinDevHelp that contains the context menu.
Remark: This function has been implemented since WINDEV 10 version 100050.. If you already have customized the groupware and included the window for modifying the rights in your application, you must copy:
  • the GPWAssociationConfiguration.wdw window. This window is located in the "Programs\Data\Models\GPW\WD" directory of WINDEV.
  • the wdxxxgpu.dll file in the Programs directory of WINDEV.
Configure User Groupware data files
Two types of data files are used by the User Groupware:
  • Data files of users
  • Data files of rights
The location of these data files can be configured:
  • When including the User Groupware for test ("Workshop .. Configure the User Groupware").
  • WINDEV When creating the executable.
  • When installing the application (by the person that performs the setup).
  • Programmatically.
For more details, see User Groupware files.
Reinitializing the data files

To reinitialize the data files of the User Groupware

All you have to do is delete the data files specific to the User Groupware (file of users and file of rights). These files are automatically recreated when starting the application.

Remarks

  • If the user files are deleted (GPWUserConfiguration and GPWUser), only the supervisor will be able to start the application.
  • If the rights files are deleted (GPWElementConfiguration, GPWConfiguration and GPWElement), all the users will have all the rights on the entire application.
For more details, see User Groupware files.
Attention: It is not possible to delete the <None> group and the DEFAULT group.
Modifying the data files
The structure of the data files specific to the User Groupware cannot be modified.
Remark: These files contain confidential information and are therefore encrypted.

Managing the analyses

If a specific analysis is opened when configuring the User Groupware, gpwInitAnalysis (used to open the analysis of the User Groupware) must be executed again.
Reminder: When running, it is not possible to open several analyses simultaneously.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 11/01/2025

Señalar un error o enviar una sugerencia | Ayuda local