Loading
Prepare for Email to Become the Default Login ExperienceRead More
Enhance Salesforce with Code
Defining Custom S-Controls

Defining Custom S-Controls

S-controls provide a flexible, open means of extending the Salesforce user interface, including the ability to create and display your own custom data forms.

Required Editions

Available in: Salesforce Classic
Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions
User Permissions Needed
To create, edit, and delete custom s-controls: Customize Application
Important
Important Visualforce pages supersede s-controls. Organizations that haven't previously used s-controls can’t create them. Existing s-controls are unaffected and can still be edited.

An s-control can contain any type of content that you can display or run in a browser, for example, a Java applet, an ActiveX control, an Excel file, or a custom HTML Web form.

The custom s-control library is a place where you can store and upload content for use in many areas within Salesforce such as, custom links, Web tabs, custom buttons, and dashboards.

  1. From Setup, enter S-Controls in the Quick Find box, then select S-Controls.
  2. To create a new custom s-control, click New Custom S-Control.
  3. To change an existing custom s-control, click Edit.
  4. Enter s-control attributes.
  5. To validate all Salesforce merge fields and functions, click Check Syntax.
  6. Click Save when you finish or click Quick Save to save and continue editing.
    Note
    Note If you have a namespace prefix and your s-control references merge fields without their namespace prefix, Salesforce automatically prepends them with your namespace prefix.
  7. Create a custom button or link to display the custom s-control to your users. Alternatively, create a Web tab using the custom s-control, add the s-control to a page layout, or add the s-control to a dashboard. You can also use an s-control as online help content for a custom object.
  • About S-Controls
    Use s-controls to add your own functionality to your Salesforce organization. Whether you are integrating a hosted application of your own or are extending your current Salesforce user interface, use s-controls to store your code or refer to code elsewhere. Custom s-controls can contain any type of content that you can display in a browser, for example a Java applet, an Active-X control, an Excel file, or a custom HTML Web form.
  • View and Edit S-Controls
    View and make changes to the details of a custom s-control.
  • Custom S-Control Attributes
    Find out about custom S-Control attributes.
  • Delete Custom S-Controls
    S-controls provide a flexible, open means of extending the Salesforce user interface, including the ability to create and display your own custom data forms.
  • Tips on Building S-Controls
    Use these tips when building s-controls.
  • Useful S-Controls
    Use these samples to get started using s-controls.
  • Merge Fields for S-Controls
    A merge field is a field you can put in an email template, mail merge template, custom link, or formula to incorporate values from a record.
  • How Do Visualforce Pages Compare to S-Controls?
    Visualforce pages are considered the next-generation of s-controls and should be used instead of s-controls whenever possible, both for their increased performance and the ease with which they can be written.
 
Loading
Salesforce Help | Article