A very specific and excellent question!
In Salesforce, Field Service Lightning (FSL) allows users to create Service Report Templates to generate reports for work orders, service appointments, and other field service activities. To provide users with access to create Service Report Templates for FSL, follow these steps:
Prerequisites:
- Ensure your org has Field Service Lightning (FSL) enabled and licensed.
- Users need to have the necessary permissions and licenses to access FSL features.
Step 1: Permission Set - Field Service Integration ( Mandatory)
- Go to Setup (gear icon) > Permission Sets.
- Search for and click on Field Service Integration permission set.
- Click Manage Assignments > Add Assignments.
- Select the users or groups you want to grant access to create Service Report Templates.
- Click Add > Done.
This permission set provides the foundation for FSL access, including Service Report Templates.
Step 2: Object-Level Permissions (Required)
Service Report Templates are based on the SvcReportTemplate object. Users need Create, Read, Edit, and Delete (CRED) permissions on this object.
- Go to Setup > Permission Sets > Field Service Integration (the same permission set from Step 1).
- Click Object Settings > Service Report Template (SvcReportTemplate).
- Ensure the following permissions are Enabled:
- Read
- Create
- Edit
- Delete (optional, but recommended for template management)
- Click Save.
Alternatively, you can create a custom Permission Set with these object-level permissions and assign it to users. This approach is recommended if you don't want to modify the standard Field Service Integration permission set.
Step 3: Additional Permissions (Optional but Recommended)
To enhance the user experience, consider granting these additional permissions:
- Document Template (
DocumentTemplate object):
- Go to Setup > Permission Sets > Field Service Integration.
- Click Object Settings > Document Template.
- Enable Read and Create permissions.
- This allows users to access and create document templates, which can be used as a starting point for Service Report Templates.
- Rich Text Editor (not an object, but a feature):
- Go to Setup > User Interface > Rich Text Editor Settings.
- Ensure Enable Rich Text Editor is checked.
- This feature is used in Service Report Template editors.
Step 4: App-Level Access (Optional)
If you want users to access Service Report Templates from the Field Service Mobile App or the FSL Console, ensure they have the necessary app-level permissions:
- Field Service Mobile App:
- Go to Setup > Permission Sets > Field Service Mobile.
- Assign this permission set to the users.
- FSL Console ( Lightning App):
- Go to Setup > Apps > Lightning Apps.
- Find Field Service Console and click Edit.
- In Assigned Users, add the users or profiles.
Final Check
Verify the user's profile or permission set has the necessary components:
- Field Service Integration permission set assigned.
- SvcReportTemplate object permissions: CRED enabled.
- Optional: DocumentTemplate object permissions and Rich Text Editor enabled.
- Optional: App-level access to Field Service Mobile App or FSL Console.
Test it out!
- Log in as the user you've configured.
- Navigate to Field Service > Settings (gear icon) > Service Report Templates.
- Click New Service Report Template.
- Verify the user can create, edit, and save a template.
If you've followed these steps, your users should now have the necessary access to create Service Report Templates for Field Service Lightning (FSL) in Salesforce. Happy templating!