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
Raghav TRaghav T 

Salesforce to Salesforce have problem with attachments Share

Hello,

In my org I have SF to SF connection setup which target and share the case and related child record of case through that connection.
But whenever I tried to share the attachment that is attached in claassic mode then it got share with connected org.
But when we attach new attachment in lightning mode and then try to share that attachment it wont et shared.
Do anyone know whats the problem here?
SwethaSwetha (Salesforce Developers) 
HI Raghav,
Attachments cannot be uploaded via lightning experience UI .  Attachments are deprecated in Lightning Experience.Attachments are being superseded and replaced in favor of the more robust feature called 'Files'.
Reference: https://help.salesforce.com/s/articleView?id=000382146&type=1

You need to share files generated in Lightning.

Also see https://help.salesforce.com/s/articleView?id=000387874&type=1

https://salesforce.stackexchange.com/questions/166052/can-i-upload-files-as-attachments-in-lightning-experience

If this information helps, please mark the answer as best. Thank you