Data Sources
The Adobe Dreamweaver Data Sources API functions let you add data sources, which appear in the Plus (+) menu in the Bindings panel (for related information, see the function dreamweaver.dbi.getDataSources() in the Adobe Dreamweaver API Reference).
Data source files are stored in the Configuration/DataSources/ServerModelName folder. Adobe Dreamweaver currently supports the following server models: ASP.Net/C#, ASP.Net/VisualBasic, ASP/JavaScript, ASP/VBScript, Adobe ColdFusion, JSP, and PHP/MySQL. Within each server model subfolder are HTML and EDML files that are associated with the data sources for that server model.
The following table lists the files you use to create a data source:
Path | File | Description |
|---|---|---|
Configuration/DataSources/ServerModelName | datasourcename.htm | Specifies the name of the data source and where to find the supporting JavaScript files. |
Configuration/DataSources/ServerModelName | datasourcename.edml | Defines the code that Adobe Dreamweaver inserts into the document to represent the data source value. |
Configuration/DataSources/ServerModelName | datasourcename.js | Contains the JavaScript functions to add, insert, and delete the necessary code into a document. |