---
schema_version: "1"
id: 8d054815293e0291021c96164e0954572d59757fe4547512e5cc988150134ce8
title: Merge Fields for S-Controls
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/integrate_merge_fields_sControls.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.integrate_merge_fields_sControls.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ca6ef2501ae0ca8b835a9aa0eeac9fb1b0306ff1b48fb8c2be9bff25d314ebd2
description: 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.
products:
  - Salesforce Platform
release: "264"
---
# 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.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Contact Manager</strong>, <strong>Group</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_code-264-0-0-production-enus/789bc523-706b-4ae4-8fe9-be6322e38b6b/images/icon_important.png)

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.

Because s-controls are the source of your object-level help content, you can use merge fields or other functions to personalize the experience. For example, you can design the custom help to address the user directly by adding the user’s name to the help page when it displays.

## Tips

- To reference a file that you uploaded in the Filename field as part of a custom s-control, select **Custom S-Control** from the Select Field Type drop-down list, and choose **Custom S-Control URL** to get the merge field for it. For a Java applet, you can also use the `{!SControl_JavaCodebase}` and `{!SControl_JavaArchive}` merge fields.
- To insert activity merge fields, select **Event** or **Task** from the Select Field Type drop-down list. Salesforce automatically encodes the text from any merge field you insert into a link.

#### See Also

- [Defining Custom S-Controls](https://help.salesforce.com/s/articleView?id=platform.dev_scontrol.htm&release=264.0.0&type=5 "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.")