Represents a definition for a custom component that can be used in a Visualforce page alongside standard components such as <apex:relatedList> and <apex:dataTable>. For information, see the Visualforce Developers Guide.
create(), update(), delete(), query(), retrieve(), describeSObjects(), getDeleted(), getUpdated()
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| ApiVersion | double | Create | The API version for this custom component. Every custom component has an API version specified at creation. If the Salesforce.com API version is less than 15.0 and ApiVersion is not specified, ApiVersion defaults to 15.0. |
| ControllerKey | string | Create | The identifier for the controller associated with this custom
component:
|
| ControllerType | picklist | Create | The type of controller associated with this Visualforce custom component. Possible values include:
|
| Description | string | Create | Description of the Visualforce custom component. |
| Markup | textarea | Create | The Visualforce markup, HTML, Javascript, and any other Web-enabled code that defines the content of the custom component. |
| MasterLabel | string | Create | The text used to identify the Visualforce custom component in the Setup area of Salesforce.com. The Label for this field is Label. |
| Name | string | Create | Required. Name of this Visualforce custom component. |
| NamespacePrefix | string | Filter | The namespace prefix associated
with this object. Each Developer Edition organization that creates
a managed package has a unique namespace prefix. The limit is 15 characters.
You can refer to a component in a managed package by using the namespacePrefix__componentName notation.
The namespace prefix can have one of the following values:
|
Use custom components to encapsulate a common design pattern and then reuse that pattern several times in one or more Visualforce pages. All users who can view Visualforce pages can view custom components, but the “Customize Application” permission is required to create() or update() custom components.