Scontrol
Represents legacy custom controls used in older Salesforce environments before Visualforce and Lightning components.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the S-Control record. | |
| Name | String | False |
Display label for the S-Control as shown in the Salesforce UI. | |
| DeveloperName | String | False |
API name of the S-Control, used for referencing in code or configuration. | |
| Description | String | False |
Optional text describing the purpose or functionality of the S-Control. | |
| EncodingKey | String | False |
Character encoding used for the content, such as UTF-8 or ISO-8859-1. | |
| HtmlWrapper | String | False |
HTML body of the S-Control that defines its structure and content. | |
| Filename | String | False |
File name associated with the S-Control's source file, if applicable. | |
| BodyLength | Int | True |
Length of the binary content in bytes. | |
| Binary | String | False |
Encoded binary content of the S-Control, often used for scripts or components. | |
| ContentSource | String | False |
Indicates how the content is sourced, such as from a URL or inline HTML. | |
| SupportsCaching | Bool | False |
Specifies whether the S-Control supports being pre-built and cached in the page. | |
| NamespacePrefix | String | True |
Namespace prefix used for S-Controls in managed packages. | |
| CreatedDate | Datetime | True |
Date and time when the S-Control was created. | |
| CreatedById | String | True |
User.Id |
Identifier of the user who created the S-Control. |
| LastModifiedById | String | True |
User.Id |
Identifier of the user who last modified the S-Control. |
| IsDeleted | Bool | True |
Indicates whether the record has been moved to the Recycle Bin. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | True |
System-generated timestamp indicating the most recent update to the record. | |
| LastModifiedDate | Datetime | True |
Date and time when the S-Control was last modified. |