181k views
1 vote
What is the format to set the Row Cause for a custom object sharing record?

User Burre
by
8.0k points

1 Answer

6 votes

Final answer:

The format to set the Row Cause for a custom object sharing record is by using the Sharing Reason object in Salesforce.

Step-by-step explanation:

The format to set the Row Cause for a custom object sharing record in Salesforce is by using the Sharing Reason object.

To set the Row Cause, you will need to create a new record in the Sharing Reason object, specifying the Object, Row Cause, and Label fields. The Object field identifies the custom object for which the sharing record is being created, the Row Cause field defines the reason for the sharing, such as manual or rule-based, and the Label field provides a user-friendly description of the sharing reason.

Here is an example:

<SharingReason>
<Object>Custom_Object__c</Object>
<RowCause>Manual</RowCause>
<Label>Manually Shared</Label>
</SharingReason>
User Shamim Ahmmed
by
7.7k points