By adding the Time Tracking component to an object, the Salesforce users can track time in Salesforce.
Click here to know more about the lighting components that can be added to Salesforce.
Once you add the lighting component to an object, decide which users should have access to the lightning component and enable it accordingly.
After you add the Lighting Component to an Object click the Activation button on the same Edit Page screen
You see 3 Tabs as
- Org Default
- App Default
- App, Record Type, And Profile
Org Default: By setting the TimeTracking component as Org default, the TimeTracking component is visible to all the users in your org, for all the Salesforce profiles.
To enable the Time Tracking component to all the users in your org
- Click the Activation button on the Edit page to which you added the time tracking component
- Click the Assign as Org default button, and click next
- Select the Form Factor, if the time tracking component should be enabled for Desktop or for Phone, and Save it.
Note: If the Salesforce user does not have access to the TimeTracker object, then they see an error as "A Component Error has occurred" Then the user should click the close button to close the alert message and continue to work.
This does not cause any issue to the user but they see an alert message every time they go to the object in Salesforce to which the Time Tracking component is enabled in the org.
App Default:
App default is used to have access to the time tracking object only when the user goes to an object from the Salesforce "App Launcher"
e.g: If the time tracking component is enabled to Projects, the time tracking component is visible only if the user goes to the Projects tab from Salesforce App Launcher.
And the time tracking component is not shown to the user if the user goes to the Projects tab directly from the tabs screen in Salesforce.
To enable the time tracking component as app default
- Click on the Activation button and click the App Default sub-tab and click the "Assign as app Default' button,
- Select the Apps from the list, and click the next button,
- Select the Form Factor in the next screen and click the Save button
Now the time tracking component is added to all the Salesforce profiles and they see the time tracking component only when they go to the object using the App Launcher.
App, Record Type, And Profile
The App, Record Type, and Profile screen is used to enable the time tracking component to a specific profile and specific app
e.g: To enable the lighting component to specific Salesforce user profiles and to specific apps
To add the time tracking component to a specific profile and for a specific app
- Click the Activation button, on the Edit page screen to which you added the Time tracking component
- and click the "App, Record Type, and Profile tab, and click the "Assign to App, Record Types, and Profiles" button,
- Select the App from the Apps list and the form factor in the next screen
- Enable the Check box for the Record Type "Master"
- Now you see all the Salesforce profiles in your org,
- Select the profiles for whom you want to see the time tracking object and click the save button.
- Now the time tracking component is added to a specific profile and to a specific app that you selected in the process
Note: If there are 10 users in a specific Salesforce profile and only 5 users need access to the Time Tracking component, then create a separate profile and select that salesforce profile in the profiles list for enabling the time tracking component.
Otherwise, the Salesforce users that do not have access to the TimeTracker objects will see the error as "component error..........." when they go to the object to which the lighting component is added.