Cubic Compass Software

- Support Wiki

Dialogue Script : LiteralControl

Modified: 2008/09/08 22:51 by bryce - Categorized as: Dialogue Script
Edit

Dialogue Script : LiteralControl

Syntax
<dlog:LiteralControl id={unique LiteralControl ID} fieldname={object field name} param={CGI param} CssClass={CSS class}></dlog:LiteralControl>

Usage
Displays a dynamic string from a Salesforce record or URL parameter.

Attributes
id: (Required) A unique identifier for the control. Multiple literal controls displaying the same field may be used on a page, but each LiteralControl 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 LiteralControl syntax:
<dlog:LiteralControl id="LiteralControl1" param="fname"></dlog:LiteralControl>

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).

View more attributes

Example
Hello <dlog:LiteralControl id="LiteralControl1" fieldname="FirstName"></dlog:LiteralControl>,

Welcome to your personalized home page!

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