function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ZodiacHealerZodiacHealer 

send related data files from one org to other

I have sent record from one to other org, of an object through salesforce to salesforce connection but want to send the related data of that record like email messages and attachments but, was not able to send through connections.
Can I send data through any other means which should be automated?
ANUTEJANUTEJ (Salesforce Developers) 
Hi Ashwani,

I found the below article which states the sharing of data between orgs.

>> it is stated in this that "you can share records and updated data with them. You control the type of records you share with your connected organizations by selecting which objects and fields to publish." can you once check if all the permissions are given so that data can be transfered??

>>The link to the article is https://help.salesforce.com/articleView?id=business_network_managing_leads.htm&type=5

I hope this helps in case if it came in handy can you please choose this as best answer so that it can be used by others in the future.

Regards,
Anutej
ZodiacHealerZodiacHealer
I have tried the same thing and went through this article only, but in this there is no way written to share files associated with the record which are stored in content document object.
ANUTEJANUTEJ (Salesforce Developers) 
I found a different dev forum thread that was discussing a different issue but I saw that it was stated "When you accept a record that has public attachments, the attachments are automatically accepted if you selected the Share With Connections checkbox on the attachment" can you check if this is accepted.

>> dev forum thread [https://success.salesforce.com/answers?id=9063A000000ihpDQAQ]