Monday, June 8, 2015

"Input Type Code" Default value will not work if you use administrator to create the user.

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:
  1. Lo gin to Clarity as an administrator user
  2. Admin Tool -> Studio: Objects -> Resource Object
  3. Attributes -> Input Type Code -> select a Default Value and save
  4. Views -> Resource Labor Properties [Fields]
  5. Click 'properties' icon for Input Type Code field
  6. Confirm there is a value in the 'Override Default' field
  7. Admin Tool -> Resources -> Click 'New' button

    Create a new Resource in the Admin Tool
  8. 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
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.