Clarity: Default Input Type Code from Resource object not populating on newly created Resources.
Adding a default to Input Type Code on the attribute on the Resource Object. Create new Resource in Admin, check this resource in the app and the field is blank as opposed to being populated with the default value.
Steps to Reproduce:
- Lo gin to Clarity as an administrator user
- Admin Tool -> Studio: Objects -> Resource Object
- Attributes -> Input Type Code -> select a Default Value and save
- Views -> Resource Labor Properties [Fields]
- Click 'properties' icon for Input Type Code field
- Confirm there is a value in the 'Override Default' field
- Admin Tool -> Resources -> Click 'New' button
Create a new Resource in the Admin Tool - Main Application -> Resources: Search and open the Resource profile
Expected Result: Default values should be populated on the Resource profile
Actual Result: The default value was not populated for the Input Type Code
Actual Result: The default value was not populated for the Input Type Code
Solution:
The application is behaving as expected.
Setting default values on the Resource Object is for setting the defaults on new Resource profiles created from the Main Application -> Resources, not from creating a Clarity User from the Admin Tool -> Resources. The Admin Tool -> Resources functionality is for creating end-user profiles and for adding security access rights to the end-user profile. When creating a new Clarity User in the Admin Tool, the Create layout does not include the Input Type Code and therefore, the application cannot populate it with the configured default value. This applies to other attributes that may be configured with default values. If setting default values are important to your process for creating resources, implement a business rule to have your Clarity Administrator create the Resource profile in the Main
Application -> Resources first, then go into the Admin Tool and add the security access rights.