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
anvesh@force.comanvesh@force.com 

why the feild which has look up is not visible ?

why the field  which has look up is not visible  in criteria based when we trying to share to other user. other than  feilds of no look up are visible in criteria based condition.

Best Answer chosen by Admin (Salesforce Developers) 
Peter_sfdcPeter_sfdc
Criteria based sharing rules are very strict in what they can and can't use in their rule conditions. One of the restrictions is that you may not use values in other related records, such as look relationships.

You ask "why" and only PM really knows. But reading these two whitepapers will help you understand the architecture of the sharing model which might point you to some of the possible reasons for why this compromise has been made in criteria based sharing rules:

http://wiki.developerforce.com/page/A_Guide_to_Sharing_Architecture

http://wiki.developerforce.com/page/Record-Level_Access:_Under_the_Hood

All Answers

Ashish_SFDCAshish_SFDC

Hi Anvesh, 

 

The lookup field is actually not part of the Record but its references the Other Object hence it is not visible.

 

Regards,

Ashish

Peter_sfdcPeter_sfdc
Criteria based sharing rules are very strict in what they can and can't use in their rule conditions. One of the restrictions is that you may not use values in other related records, such as look relationships.

You ask "why" and only PM really knows. But reading these two whitepapers will help you understand the architecture of the sharing model which might point you to some of the possible reasons for why this compromise has been made in criteria based sharing rules:

http://wiki.developerforce.com/page/A_Guide_to_Sharing_Architecture

http://wiki.developerforce.com/page/Record-Level_Access:_Under_the_Hood
This was selected as the best answer