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
sam_matsam_mat 

Using field of parent object in Criteria based sharing rule????

Hi,

 

I have a custom object on which i am writing "sharing rule based on criteria".

 

My question is,

 

in criteria i can see all fields of my custom object,

 

but i want to create a criteria based on parent object field of this custom object.

 

It is not showing parent object and its field to use in criteria.

 

Can i do that?

or is it a limitation?

 

Thanks,

Sam

Best Answer chosen by Admin (Salesforce Developers) 
srikeerthisrikeerthi

Hi

https://help.salesforce.com/apex/HTViewHelpDoc?id=security_sharing_cbs_about.htm&language=en

Please refer the above link there you can find the field types for which

you can specify the Criteria based Sharing Rules.

All Answers

srikeerthisrikeerthi

Hi

 

I think it is not posible to get the Master field in Criteria based sharing.What are the Organization Wide Default

Permission of both the Objects.

sam_matsam_mat

Thanks for reply.

Has salesforce provided any documentation details for this?

srikeerthisrikeerthi

Hi

https://help.salesforce.com/apex/HTViewHelpDoc?id=security_sharing_cbs_about.htm&language=en

Please refer the above link there you can find the field types for which

you can specify the Criteria based Sharing Rules.

This was selected as the best answer
sam_matsam_mat

Thanks srikeerthi.

srikeerthisrikeerthi

You are Welcome...