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
magulanmagulan 

how to share a record to another salesforce account while clicking a button

I want to know the javascript code to share my record from one sf account to another.

 

I have created connection between two sf accounts.

 

When i click a button say Share, it should share the record to my another sf account.

 

I know very well about 'Forward Account' or 'Forward Oppty' in related list.

 

I want the share button to be in my page layout itself.