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



If I click a custom Share button, my account should be shared to another Salesforce login.


I have created connection between two Salesforce logins. It is working fine with Forward this Account button.

But I want the button to be in my pagelayout.





We cannot directly display the ‘forward this Account’ button on the account detail page like edit or cancel button. We can display the External Sharing related list on the account detail page which contains the for ‘forward this Account’ button.


Another way is that we can create a custom button in account and display on the account page layout. The custom button will call a apex class that will forward the account.


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.