A SERVICE OF

logo

MGDwfDataSources Object | 131
Error Codes
-1 Busy
See Also
getDataSource, DataSource
DataSource Property
Syntax
DataSource
Description
Gets and sets the name of the DWF data source that establishes a connection
between Autodesk MapGuide Server and the Autodesk Data Link (ADL) data
provider. If this property is modified successfully, it automatically sets the
rebuild flag of the layer to True. For more information about the rebuild flag,
see setRebuild in the Autodesk MapGuide Viewer API Help . You can access
the MapGuide Viewer API Help by clicking Autodesk MapGuide 6.5 Docu-
mentation Autodesk MapGuide Viewer API Help on the Program menu.
When you change the DWF data source, you may also need to update several
other properties. These properties include: Dwf, SheetName, KeyColumn,
KeyColumnType, NameColumn, UrlColumn, and LayerFilter.
For more information about DWF data sources, see “Setting Up a Data Source
for DWF Files” on page 25.
Parameters
none
Returns
String (read/write) – Represents the name of the DWF data source.
Error Codes
-1 Busy