function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
test vijaytest vijay 

ServiceReport object is not showing in Salesforce

Hello Peers,
I want to write trigger on Service Report but I'm not able to search it in object manager. not only service Report but also work order.
Can anybody show me a way how to achieve this requirment.

Thanks in advance
Best Answer chosen by test vijay
ravi soniravi soni
Hy Vijay,
Follow the following steps and find your solution.
1. Go to the setup and search  Field Service Setting in the quick find box and click it.
2. enable the Field Service toggle button and save your changes by click on save button.
3. go to the object manager and search Service Report Or Work Order.
4. If it's not showing than refresh your page and now check again.

I'm sure above info  will help you.
Let me know if it helps you and mark it as best answer.
Thank you

All Answers

ravi soniravi soni
Hy Vijay,
Follow the following steps and find your solution.
1. Go to the setup and search  Field Service Setting in the quick find box and click it.
2. enable the Field Service toggle button and save your changes by click on save button.
3. go to the object manager and search Service Report Or Work Order.
4. If it's not showing than refresh your page and now check again.

I'm sure above info  will help you.
Let me know if it helps you and mark it as best answer.
Thank you
This was selected as the best answer
VinayVinay (Salesforce Developers) 
In Order to acess ServiceReport object, Field Service must be enabled.

Reference:
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_servicereport.htm

Thanks,
Witty GoldfishWitty Goldfish
Thank you so much for sharing such a useful information. I will definitely share this with others. https://www.greatpeople-me.me/