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
si402si402 

Creating Custom Buttons on Objects Dynamically

I've spent a while going through the Metadata and Apex documentation looking for a way to add a custom button to an object's detail page programatically, and can't seem to find anything.
 
Our project team is attempting to create a wizard that runs post-package-installation that can create custom buttons on arbitrary objects depending on the particular org's object schema some one-time user input.
 
As an example, I'd like to be able to attach a custom button w/ user-defined text and url on the Account object details page without requiring the user to enter setup -> customize -> accounts -> buttons and links, and instead, do it through apex or one of the APIs.
 
Would anyone be able to tell me if this is even possible on the force platform, and if so, the best way to go about it?
 
Thanks.
 
 
 


Message Edited by si402 on 01-19-2009 03:03 PM
Chiyaan AnanthChiyaan Ananth

I am looking for the same option to create custom buttons and links in Accounts tab using java webservice API.

Is there any solutions available for this?