| Mario,
When you customise a help module and move-it-to-live it fails
out of the box because it doesn't have the necessary help libraries
in the live area.
If you copy OAHELP.HLB from OA$LIB_ENGLISH to OA$SITE_LIB_ENGLISH
*AND* HLPSOURCE.HLB (don't forget to rename it to SITEHLPSOURCE)
then it works.
Regards,
Andrew.D.Wicks
|
|
Mario,
Due to overhead reasons, OAHELP.HLB is not available in
OA$SITE_LIB_<language>: after the installation. However,
SITEHLPSOURCE.HLB is available. As Andrew indicated (and the
documention) the OAHELP.HLB needs to be copied before you can mark the
first HLP to be moved to Live.
The same name should be used (OAHELP.HLB) as if you don't use the
logical OAHELP is assumes OA$LIB:OAHELP.HLB as the library. The way
HELP works at this moments puts a restriction on the flexibility of
maintaining HLP files. However, it is doable.
Then application specific HELP.
Imagine using another HELP library, located in your application areas.
First, you need to maintain the OAHELP logical on a per application base.
Second, you need to make sure that the standard OA HELP files still can
be accessed. You might end up with 1-n HELP libraries, but that will
almost be impossible to maintain.
Taking this 'dilemma' into account, we currently see the following as
the advisable way of maintaining application HELP:
Use the same Live location (and Base) for all application HELP
elements, so based on the OA application.
E.g. Your application TEST, application area TEST_ENGLISH should have a
valid live location defined as:
Site Location: OA$SITE_LIB_ENGLISH:SITEHLPSOURCE.HLP
[ Base Location: OA$LIB_SHARE:HLPSOURCE.HLP ]
Please, no bodily harm because of the above. We know about this. What?
Well, the fact that when your application moves the HLP elements to
Base, they will be put in the HLPSOURCE.HLB and OAHELP.HLB, files which
are Base files for the OA application. And we always said that you
shouldn't do that. It's the restriction because of the current
functionality of the HELP.
There is a modification needed to CM_VALIDATE_HLB.SCP to be able to do
the above:
The lines:
GET OA$FUNCTION = " -
FOR FIRST CM$AUTH$LOCATIONS WITH .AREA NES AREA AND -
." #CM_FIELD " EQS " #CM_FIELD " DO GET #CM_TMP = 0"
should be commented out:
! GET OA$FUNCTION = " -
! FOR FIRST CM$AUTH$LOCATIONS WITH .AREA NES AREA AND -
! ." #CM_FIELD " EQS " #CM_FIELD " DO GET #CM_TMP = 0"
There is no 'easy' workaround, except in the case that your application
is under control of a initialization and end procedure (which will
almost never be the case).
For the time being, from a maintainability point of view and the above
done, the advise: before any update (upgrade) or patch installation,
save the OA$LIB:HLPSOURCE.HLB and OA$LIB:OAHELP.HLB, and
in case the libraries get replaced, merge the saved version into the new
version by hand. Sorry.
Ciao,
Simon
[End of buffer]
|