mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
50 lines
2.5 KiB
JSON
50 lines
2.5 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"special_access_rules",
|
|
"usage"
|
|
],
|
|
"title": "UserMonthlyMetricOwnerSharingRule - Data API",
|
|
"description": "Represents the rules for sharing the user monthly metric with users other than the owner.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description"
|
|
],
|
|
"fields": {
|
|
"AccessLevel": {
|
|
"type": "picklist",
|
|
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
|
|
"description": "Determines the level of access users have to records. Values are: Read (read only) Edit (read/write)"
|
|
},
|
|
"Description": {
|
|
"type": "textarea",
|
|
"properties": "Create, Filter, Nillable, Sort, Update",
|
|
"description": "Description of the sharing rule. Maximum length is 1000 characters."
|
|
},
|
|
"DeveloperName": {
|
|
"type": "string",
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|
"description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization. When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record."
|
|
},
|
|
"GroupId": {
|
|
"type": "reference",
|
|
"properties": "Create, Filter, Group, Sort",
|
|
"description": "ID of the source group. Records that are owned by users in the source group trigger the rule to give access."
|
|
},
|
|
"Name": {
|
|
"type": "string",
|
|
"properties": "Create, Filter, Group, idLookup, Sort, Update",
|
|
"description": "Label of the sharing rule as it appears in the UI. Maximum length is 80 characters."
|
|
},
|
|
"UserOrGroupId": {
|
|
"type": "reference",
|
|
"properties": "Create, Filter, Group, Sort",
|
|
"description": "ID of the user or group that you are granting access to."
|
|
}
|
|
},
|
|
"special_access_rules": "Sales Engagement must be enabled.",
|
|
"usage": "Use this object to manage the sharing rules for cases. General sharing and territory management-related sharing use this object."
|
|
} |