Cubic Compass Software

- Support Wiki

Dialogue Script : ObjectDataSource

Modified: 2008/03/25 19:33 by jerry - Categorized as: Dialogue Script
Edit

Dialogue 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!

ScrewTurn Wiki version 2.0.35. Some of the icons created by FamFamFam.