Newer Version Available
SharingRecalculation
Version
Sharing recalculations are available in API version 14.0 and later.
Fields
| Field | Field Type | Description |
|---|---|---|
| className | string | Required. The Apex class that recalculates the Apex sharing for a custom object. This class must implement the Database.Batchable interface. |
Declarative Metadata Sample Definition
The definition of a sharing recalculation in a custom object:
1<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
2. . .
3 <sharingRecalculations>
4 <className>RecruiterRecalculation</className>
5 </sharingRecalculations>
6 . . .
7</CustomObject>Wildcard Support in the Manifest File
This metadata type doesn’t support the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.