You need to sign in to do that
Don't have an account?

Referance custom labels in Sharing rule filter criteria
Hi,
I have to create a crieria based sharing rule for Account and I was trying to referance a custom label in one of the filer.Unfortunately it is not working . Does any know,is there any way to referance a custom label in sharing rule filter ? Thanks in advance..
Hi,
Custom Labels can only be referenced in Apex or Visualforce. Hence, instead of creating a criteria based sharing rule you can write some custom code to acess the custom label and then use this information to share the record using Apex (Apex based Sharing).
Some links which might help you:
Custom Labels: https://help.salesforce.com/htviewhelpdoc?id=cl_about.htm&siteLang=en_US
Sharing a record using Apex: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_bulk_sharing_creating_with_apex.htm
Regards,
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.