Relationship attributes can be configured to contain default values that must be matched to both the logged in user and an attribute value in the related object. In this instance, both the logged in user name and related attribute value must match. For example, an employee, named Jane Harper, is logged in. When Jane Harper is logged in, the administrator wants the EmployeeInformation object with the EmployeeName attribute value of “Jane Harper” to automatically be related to any CustomerIssue object Jane Harper creates. If configured to do so, when a new object is created, one of its fields will be populated with a value from an object associated with the currently logged in user. This is useful when you want the user logged in to be automatically associated with an object.
The special configuration steps consist of configuring class attributes and configuring views to display appropriate attribute values.
To create attributes that will relate to one another using the logged in user:
For more information about configuring views, see WorkView Designer.
In order for a value to populate the related attribute field in the WorkView client, an object with a value equal to the currently logged in user must exist. If no object meeting this requirement exists, the field will not be automatically populated.