Time Entry Lightning Component Properties
Field | Description | Default Value |
---|---|---|
Allow Assignments | If selected, logging time against an assignment is allowed. | true |
Allow Milestones | If selected, logging time against a milestone is allowed. | false |
Allow Project Tasks | If selected, logging time against a project task is allowed. | false |
Editable Field Set | The field set containing the custom editable fields that are displayed in the component. | TimeCard_Header_Row_Editable |
Editable Notes Field Set | The field set containing the custom editable fields that are displayed in the component in the Timecard Notes view. | TimeCard_Notes_Field_Editable |
Read-Only Field Set | The field set containing the custom read-only fields that are displayed in the component. | TimeCard_Header_Row_Readonly |
Read-Only Notes Field Set | The field set containing the custom read-only fields that are displayed in the component in the Timecard Notes view. | TimeCard_Notes_Field_Readonly |
Enabling Dependent Picklists
You can enable support for dependent picklists by editing the field sets on the Timecard object. To do this you must first add your custom fields to the object. These fields serve as the controlling or dependent fields for your picklists.
The order in which custom fields appear in the Lightning component depends on the sequence in which they are added.
If a dependent field has an option that becomes invalid due to a change in the controlling field, that choice will be reset or cleared.
To enable dependent picklists perform the following steps:
- From Setup, navigate to Object Manager | Timecard.
- Click Field Dependencies.
- Define any required dependencies between your controlling and dependent custom fields.
- Add your custom fields to the field set to which you want to add dependent picklists.
- Your picklist options are displayed on the component.