It is a good idea to deploy standard settings for function keys and button settings to all your users, even if only one or two changes are required for your site, it makes the settings consistent with your training procedures and documents.
However there may be cases or individuals where variations are needed. For instance some people have working habits that rely upon certain function keys and will ask for their own fkey.mnu file to be added to their user preferences.
To do this without disruption the following configuration will work:
# if <username>_fkey.mnu exists in the user's folder this section will select it instead of the default file.
%if exists ($(_USTN_USER)$(_USTN_USERNAME)_fkey.mnu)
MS_FKEYMNU = $(_USTN_USER)$(_USTN_USERNAME)_fkey.mnu
%else MS_FKEYMNU = $(_USTN_SITE)data/$(_COMPANY_CODE)_fkey.mnu
%endif
This works assuming that you have:
Where the user's file is present it will be used, otherwise the site file will be used.
A similar set of statements can apply to button settings using the .btnmenu file:
# if <username>.btnmenu exists in the user's folder this section will select it instead of the default file.
%if exists ($(_USTN_USER)$(_USTN_USERNAME).btnmenu)
MS_BUTTONMENU = $(_USTN_USER)$(_USTN_USERNAME).btnmenu
%else MS_BUTTONMENU = $(_USTN_USERINTROOT)Buttons/default.btnmenu