Customer Defaults Settings


Overview

NX defines the following levels of customer defaults:

This setup is very similar to what the DSL implemented in prior versions. So, the mapping in the DSL are:

If a Common directory exists:

Level DSL Level Location
System
System
NX install directory structure
Site
Common Configuration
${DSL_COMMONDEPT}/${UG_VER}/startup/nxXY_site.dpv
Group
Department Configuration
${DSL_DEPT_DIR}/${UG_VER}/startup/nxXY_group.dpv
User
Users Home
$WorkDir OR ${USERPROFILE}/nxXY_user.dpv

If a Common directory DOES NOT exists:

Level DSL Level Location
System
System
NX install directory structure
Site
Base DSL
${DSL_BASE_DIR}/${UG_VER}/startup/nxXY_site.dpv
Group
Department Configuration
${DSL_DEPT_DIR}/${UG_VER}/startup/nxXY_group.dpv
User
Users Home
$WorkDir OR ${USERPROFILE}/nxXY_user.dpv

Consult the NX Gateway online help for information on modifying the defaults.

NOTE: If a configuration does not use a common configuration, then UGII_SITE_DIR = DSL_BASE_DIR\UG_VER and UGII_GROUP_DIR=DSL_DEPT_DIR\UG_VER.

If a configuration uses a common configuration, then UGII_SITE_DIR = DSL_COMMON_DIR\UG_VER and UGII_GROUP_DIR=DSL_DEPT_DIR\UG_VER.

Protecting Customer Default Settings From Users

Depending on the administrators umask or default file permissions, the user may be able to modify the customer default on a particular level and save the changes. To prevent this from happening, make sure the permissions on the file or directory are read-only except for the administrator. To verify that the default level is read-only, the level in the customer default dialog should state read-only when logged in as a normal user.

Configuring User Controlled Defaults

Normally, an individual user cannot modify customer defaults in site, group or department and save them. IF the configuration does not have a $WorkDir ( see "Other" tab ) then the User level in $USERPROFILE is specifially for users to modify their own default file. The core DSL code sets this up by assigning the environment variable UGII_LOCAL_USER_DEFAULTS to the ${USERPROFILE}/nxXY_users.dpv OR ${WorkDirPath}/nxXY_users.dpv file. So the user must create this file then it will allow the user to modify the defaults themselves.