User Guide

Extension Data Manager functions 329
The allowDelete property is optional. If this property is set to a value of false, when the
user clicks on this node in the Bindings panel, the Minus (-) button is disabled. If it is set to a
value of
true, the Minus (-) button is enabled. If the property is not defined, the Minus (-)
button is enabled when the user clicks on the item (as if the property is set to a value of
true).
The dataSource property is the simple name of the file in which the findDynamicSources()
function is defined. For example, the
findDynamicSources() function in the Session.htm
file, which is located in the Configuration/DataSources/ASP_Js folder, sets the
dataSource
property to
session.htm. This property is always defined.
The name property is the name of the server behavior associated with the data source,
dataSource, if one exists. The name property is always defined but can be an empty string ("")
if no server behavior is associated with the data source (such as a session variable).
Extension Data Manager functions
The APIs in this section comprise the Extension Data Manager (EDM). You can
programmatically access and manipulate the data that is contained in the group and participant
files by calling these functions. The EDM performs in the following manner:
The EDM performs all EDML file input/output for group and participant files.
The EDM acts as a server model filter by performing all data requests for the current server
model.
dreamweaver.getExtDataValue()
Availability
Dreamweaver UltraDev 4.
Description
This function retrieves the field values from an EDML file for the specified nodes.
Arguments
qualifier(s)
The qualifier(s) argument is a variable-length list (depending on the level of information
you need) of comma-separated node qualifiers that includes group or participant name,
subblock (if any), and field name.
Returns
Dreamweaver expects a field value. If a value is not specified, Dreamweaver uses the default value.
Example
The following example retrieves the location attribute value for the insertText tag of the
recordset_main participant:
dw.getExtDataValue("recordset_main", "insertText", "location");
000_DW_API_Print.book Page 329 Wednesday, August 20, 2003 9:14 AM