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
TheCustomCloudTheCustomCloud 

HOW DO I.. Make a button on the Contact object that calls a controller

The problem:  

 

I need to put a button on the standard contact page that pulls information from some fields, puts them into a URL and the converts that into base64 blob. 

 

I had no problem doing this on a different page but that page was a visual force page so I just made a function in the page's controller.  Added the button right in the visual force that called the function.

 

So, how do I do this within the restrictions of standard objects, namely the contact page? 

Slaviša MaslićSlaviša Maslić

Hi Redfin

 

There are at least 2 solutions:

1. Custom Button with AJAX: http://community.salesforce.com/sforce/board/message?message.uid=141630

2. Custom Button with Visualforce: http://salesforceexperts.blogspot.com/2009/07/overriding-standard-buttons-with.html

 

Regards

Sascha

Message Edited by Smash on 2009-08-27 07:05 AM
TheCustomCloudTheCustomCloud
Thank you very much Smash!  Trying the Ajax solution now!