PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → User Groupware
User Groupware
Débuté par DT, 05 juin 2003 21:00 - 4 réponses
Posté le 05 juin 2003 - 21:00
Hi All

WD7.5 204ou (AKA sp1)

If I read the help correctly I was expecting the necessary data files to
be created - sadly this is not the case
I have tried all combinations, automatic and custom with default and specific
paths for the datafile
What I do get is 7 screens, prefix GPW, but nothing else - no datafiles or
indexes and no HCreationIfNotFound entries in the project initialisation

Help text says.............

Groupware data files

Files of two categories are generated:

Data files that identify the users. These data files can be common to several
applications. By default, these data files are created in a sub-directory
of your project (\EXE\_GPW directory). You can specify a different directory
to perform tests on your application.

Data files used to managed user rights for the various windows of the application.
These files are specific to the application. By default, these data files
are created in a sub-directory of your project (EXE\_GPW directory) .


.......... the key word here is Generated:

Is my understanding correct or is there something else (besides defining
them myself) that I need to do

Regards

DT
Posté le 06 juin 2003 - 14:22
DT,

The files that were created for my application did not reside in the root
project directory, but rather under the EXE folder in a subfolder called
gpw_(project name).

HTH,

Marc




"DT" <derek.theobald@dolgader.co.uk> wrote:

Hi All

WD7.5 204ou (AKA sp1)

If I read the help correctly I was expecting the necessary data files to
be created - sadly this is not the case
I have tried all combinations, automatic and custom with default and specific
paths for the datafile
What I do get is 7 screens, prefix GPW, but nothing else - no datafiles

or
indexes and no HCreationIfNotFound entries in the project initialisation

Help text says.............

Groupware data files

Files of two categories are generated:

Data files that identify the users. These data files can be common to several
applications. By default, these data files are created in a sub-directory
of your project (\EXE\_GPW directory). You can specify a different directory
to perform tests on your application.

Data files used to managed user rights for the various windows of the application.
These files are specific to the application. By default, these data files
are created in a sub-directory of your project (EXE\_GPW directory) .


.......... the key word here is Generated:

Is my understanding correct or is there something else (besides defining
them myself) that I need to do

Regards

DT


Posté le 06 juin 2003 - 14:24
OK, I have just gone through the process again - still without success

The Exe directory is created as part of the project regardless of whether
or not User Groupware is used (I recall that Components if created are stored
here by default)
The Groupware directory is created as part of the Analysis again regardless
of whether or not User Groupware is used

The only difference I can see between the automatic and custom option is
that Automatic only creates one screen (Login) whereas Custom creates seven
Reviewing the windows created reveals that the links in all tables and fields
are set to 'none'

I have posed the questions to PCSoft support

Has anyone tried this on the US English 'k' or 'ou' releases?

Regards

DT
Posté le 06 juin 2003 - 16:39
What I did to initialize the user groupware is the following and
all works well in my app.:

1) check the 'Enable user groupware management' via the menu
Project --> User Groupware
2) select the 'custom' mode
3) uncheck the automatic launch
4) select 'Default directory'

Then you have to put the following code is your project opening process
nres is int = gpwOpen(,)
if nres <> gpwok then
//login failed
else
//Login was correct, first project window is started
end

Now if you want to customize the WinDev user groupware windows you have to
import them into your project, you can find these windows in the directory
==>
WinDev75\Personal\Models\GPW\*.wdw
It is also possible to import the datafiles into your analysis and manipulate
them, haven't done it myself yet but it should work. You need a password
to include the files and this password can be found in the help file.

Hope this helps,

Greetz
Posté le 06 juin 2003 - 17:26
No such luck here
Under the MyProjects directory
For project 1 I have an Exe\Groupware directory
For project 2 I have separate Exe and Groupware folders
I have also noticed an Exe directory off the root

All academic as none of the above contain data files and nothing has been
added to the analysis


"M. Beaven" <mabeaven@eidetik.com> wrote:

DT,

The files that were created for my application did not reside in the root
project directory, but rather under the EXE folder in a subfolder called
gpw_(project name).

HTH,

Marc




"DT" <derek.theobald@dolgader.co.uk> wrote:

Hi All

WD7.5 204ou (AKA sp1)

If I read the help correctly I was expecting the necessary data files

to
be created - sadly this is not the case
I have tried all combinations, automatic and custom with default and specific
paths for the datafile
What I do get is 7 screens, prefix GPW, but nothing else - no datafiles
or

indexes and no HCreationIfNotFound entries in the project initialisation

Help text says.............

Groupware data files

Files of two categories are generated:

Data files that identify the users. These data files can be common to several
applications. By default, these data files are created in a sub-directory
of your project (\EXE\_GPW directory). You can specify a different directory
to perform tests on your application.

Data files used to managed user rights for the various windows of the application.
These files are specific to the application. By default, these data files
are created in a sub-directory of your project (EXE\_GPW directory) .


.......... the key word here is Generated:

Is my understanding correct or is there something else (besides defining
them myself) that I need to do

Regards

DT