Dw.dbi.setexpanded(), Extension data manager functions, Dreamweaver.getextdatavalue() – Adobe Dreamweaver API Reference CS5 User Manual
Page 353

348
DREAMWEAVER API REFERENCE
Dynamic documents
Last updated 8/27/2013
dw.dbi.setExpanded()
Availability
Dreamweaver CS3.
Description
Sets the node to be expanded or collapsed.
Arguments
data-source-node-name, expanded
•
data-source-node-name is a string indicating the name of the data source to be expanded or collapsed.
•
expanded is a Boolean value indicating whether to expand or collapse the data set node.
Returns
Nothing.
Example
dw.dbi.setExpanded(dsName, true); //expand the data source node
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.