S-controls, Buttons and Links

S-Controls

Note: S-controls have been superseded by Visualforce pages. For more information, please visit S-Control_Deprecation


The Application Framework provides an enormous amount of default functionality, as well as the ability to modify and extend that functionality. There may be times when you want to replace that functionality with your own specific course of actions.

You can add your own functionality to a Force.com application in one of three ways -

  • Create a pushbutton to replace or supplement the standard push buttons. Your users will access your specific functionality through clicking on the pushbutton.
  • Create a custom link to add to the page layout. Your users will access your specific functionality through clicking on the link.
  • Create an s-control, which uses the Force.com API and other code to create logic and user interface objects.

For the most part, using Visualforce to perform these tasks is a far better alternative.

Presentations

Getting Started with Custom S-Controls: Online presentation that provides a comprehensive overview of S-controls, including the new S-control capabilities in the Winter 07 release.
Create a many to many relationship with a multi-select picklist: This allows multiple detail (related list) records to be added to an Account. The s-control queries another object and then creates the many-to-many relationship objects.
Document Generation : Use this web service to generate PDF documents from any data in salesforce.com
Beyond Custom Links

Official Documentation

  • Building Salesforce Custom Links PDF
  • Online Help The Salesforce.com online help includes complete documentation for building custom buttons and links.