Work.com
Leading Through Change with Data
COVID-19 Data Hub
COVID-19 Global Daily Tracker
Global Economy Data Track
Government Data Track
Healthcare Data Track
B-Well Together
Leading Through Change
Salesforce Care
Leading Through Change Blog
Trailhead Resources
AppExchange Resources
MuleSoft Resources
< Back to List
Kuldeep Tyagi
Criteria Based Sharing rules: Allow Lookup/formula/dynamic values and user field
Customization & App Building
At present Lookup fields and formula fields are not allowed to create sharing rules. Due to which duplicate text fields need to created and maintained.There is lot of requirement based on which we need to dynamically decide who need to have access, that thing can be implemented easily if dynamic values are allowed. These dynamic values can be in form of formulas or result of calculation of multiple fields.Also, there should be provision of including cross-reference object's field to form part of sharing rule on both left or right side of the criteria.Further, to this there must be provision of providing access to a user which is refered in the object (master or detail ) itself. For example, If Sales Manager is a user field in a custom object, which is selected by user dynamically then we should be able to assign the access to Sales Manager populated in custom object record. To explain further, there are situations where we can have n- number of users in master-detail relationship on detail object side. In that case we should also be able to provide access to users populated in users field in detail object records.I have 8 applications running in SalesForce that require such kind of feature. But due to lack of functionality, we have to write thousands lines of code for each application.That does not comply with 'NO SOFTWARE' strategy.Criteria based sharing is wonderful feature. Make it useful, by providing above features.
Merge Idea · Flag
Larry Tung - 1 month ago
Menachem Shanowitz - 4 days ago
It simply copies and syncs formula fields to non-formula fields. This allows you to use the synced "static" (non-formula) field in your sharing rules. Voila
Pawel Gumiela - 2 months ago
Michael Bucci - 2 months ago
Sebastián Aramburu - 3 months ago
Luke L. Xi - 3 months ago
Mahmood Ashraf - 3 months ago
Lawrence Newcombe - 4 months ago
Lydia Sharpin - 4 months ago
PoornaChandra P - 5 months ago
Aniket Pandey - 5 months ago
Micah Seneshen - 5 months ago
Axel Duheme - 5 months ago
Cody Enboden - 6 months ago
Fedi Mimouna - 6 months ago
Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.
Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.
Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.
Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.