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
Omita ThakurOmita Thakur 

Documentation of Adding Custom List Buttons using Standard List Controllers

Hi

I need to add a custom button in salesforce and link it to a user defined function .Like this
https://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_custom_button.htm

But I need to document this also . So that user can setup Custom button functionality by reading that document . Is there some automated process in salesforce so that we can just install the module or can you give me some example how to document .

Thanks!

Jason Curtis NBSFDGJason Curtis NBSFDG
Hi, Omita, can you clarify your question, what exacty is the requirement for the custom list button? What type of user defined fuctions are you expecting?
Omita ThakurOmita Thakur
Hi , I have added button to salesforce objects . I want to know how to add same button to different account of salesforce. Do I need to document all same steps and repeat all steps or  there is a way I can install button to other salesforce account without repeating all the steps .
Jason Curtis NBSFDGJason Curtis NBSFDG

When you say "Salesforce account" you are referring to different instances (orgs) of Salesforce, right? If so, unless your button is in a package (managed or unmanaged) it will have to be created & deployed manually by an admin on the org it needs to be installed on. So best practices would be to document the steps necessary and then share with the admins.
But depending on the setup of your orgs you could create a package and then your admins could deploy that package and have the button available.
Here is some information on packaging: https://developer.salesforce.com/page/An_Introduction_to_Packaging

Hope this helps.