EditDialogue Script : ObjectDataSource
Syntax
<dlog:ObjectDataSource id={unique ObjectDataSource ID} fieldname={object field name} param={CGI param} CssClass={CSS class}>
</dlog:ObjectDataSource>
Usage
Displays a dynamic string from a Salesforce record or URL parameter.
Attributes
id: (Required) A unique identifier for the control. Multiple object data sources displaying the same field may be used on a page, but each ObjectDataSource control must have a unique ID.
fieldname: (Required) The Salesforce custom field name to be displayed.
param: (optional) Populates the label from a URL parameter. For example, the "fname" parameter in the URL mypage.aspx?fname=Francis may be accessed and displayed using the following ObjectDataSource syntax:
<dlog:ObjectDataSource id="ObjectDataSource1" param="fname"></dlog:ObjectDataSource>
CssClass: (Optional) Reference to a Cascading Style Sheet class for defining presentation of control.
objectname: (Optional) Reference to the Salesforce object name (if different than the object defined in the script editor).
Example
Hello <dlog:ObjectDataSource id="ObjectDataSource1" fieldname="FirstName"></dlog:ObjectDataSource>,
Welcome to your personalized home page!