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
Aditya RautAditya Raut 

If the OWD is Create,Read/Write, still the object is not visible to the user, what would be the reason?

Best Answer chosen by Aditya Raut
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

If the object is not visible means the user does not have access to the object itself. OWD if only for record sharing. If the user dont have access to object but has access to record there wont be any use of it.

Hence check on user profile if he has read access to the object.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

If the object is not visible means the user does not have access to the object itself. OWD if only for record sharing. If the user dont have access to object but has access to record there wont be any use of it.

Hence check on user profile if he has read access to the object.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
This was selected as the best answer
Aditya RautAditya Raut
Hi Sai, I made the OWD to Create,Read/Write for user and removed the access of the object from his profile. Still the object is visible to the user.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Aditya,

Does user have read all data access or is the object child object in master detail relationship?

Thanks,
 
Aditya RautAditya Raut
Hi Sai, the issue was due to permission set. Thanks for your help