Setting Up a User Profile File [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
Setting Up a User Profile File
Each user can define how HP Desk looks and behaves by using the PROFILE
command. This will cause HP Desk to access a default user configuration
file USERCONF.MAILCONF.HPOFFICE and create a unique copy of that file for
that user.
You can also set up standard User Profile files containing values you
choose, which you can configure for individual users in the system
configuration. Alternatively, you can tailor the standard Profile file
to give all users of the system that User Profile.
The default User Profile can be different for different users. An
example of the use of this feature is to have a configuration file set up
which is for new HP Desk users, so that it may have the flags set to
indicate that help has to be displayed on entry to areas or screen edit.
This can be done by altering the defaults in the User Definition screen
in MAILCONFIG.
You may want to provide different Profile defaults for different user
groups. However this cannot be done using the HP Desk User Groups, but
must be done for each user in MAILCONFIG. Alternatively, file equations
can be set up for the users to point to different batch files other than
USERCONF.
To tailor a User Profile file
Use the VPLUS/3000 ENTRY.PUB.SYS program to edit the USERCONF forms file.
Do the following:
1. Log on to MPE as MGR.HPOFFICE,MAILDB.
2. Run the Entry program by typing RUN ENTRY.PUB.SYS.
3. As the forms file, specify USERCONF.MAILLIB.HPOFFICE.
4. As the batch file, specify either a new file in the MAILCONF group
of the HPOFFICE account, or USERCONF.MAILCONF.HPOFFICE to
overwrite the standard file.
5. To modify the existing USERCONF.MAILCONF file, first select BROWSE
mode.
6. To create a new batch file, modify and press ENTER to create the
first batch file from the defaults.
7. Tab through the form template to change the values just as you
would when using the PROFILE command.
8. Save the changes and leave the Entry program.
9. To bring the file into operation, you must specify the file for
individual users in the system configuration, by using the HP Desk
Configurator.
Note that when you are using Entry, be sure that you have selected BROWSE
mode. The default is COLLECT mode which causes an additional record to
be created. This has the effect of overwriting all user-prepared
Profiles when the file is used.
NOTE When re-installing HP Desk (during a software upgrade, for
instance) the file USERCONF.MAILCONF.HPOFFICE is overwritten. It
is copied beforehand to OLDUCONF.MAILCONF.HPOFFICE and the User
Profile modifications it contained can be restored by substituting
this file after installation is complete.
Altering the defaults will not automatically change existing User
Profiles, but set up new defaults for those users who have not yet set up
their own Profiles. This means that if you modify the file after several
users have already made Profile changes, the modifications will have no
effect on these users. (It is probably wise to keep a copy of the
original USERCONF batch file under a different name so that you can
always reset them if necessary.)
You can also alter the Profile and lock values into it. This would mean
that users could see certain settings but would not be permitted to alter
them. An example of this might be that you want to specify file
equations for printing and do not want the users to modify them. In this
case, you would modify the Profile batch file USERCONF.MAILCONF to set up
the required equations as already described and would then modify the
forms file USERCONF.MAILLIB using FORMSPEC.PUB.SYS to alter the
definition of the file equations fields in the second Profile form to be
display only. It is important that the structure (for instance the field
length and placement) is not changed because HP Desk is programmed to
understand the batch file format supplied with it.
Whenever a user types in the PROFILE command, a copy of the data file is
automatically placed in his Work Area as a hidden item, and this is used
by HP Desk to set up his personal Profile every time he enters HP Desk.
Note that there is no way to delete a user's personal Profile batch file
from the database other than with a database utility.
When the user edits their Profile within Desk, they are in fact using a
cut-down version of the ENTRY program called FORMENTR. FORMSPEC.PUB.SYS,
could be used to edit the Profile form so that, for example, people only
get Read-Only Access to certain items to limit the amount of personal
customization that users can do.
MPE/iX 5.0 Documentation