Export method

Exports the Database, Facility, Project Schedule, Dashboard, or Room item.

Syntax


C++

HRESULT Export(
   BSTR ExportPath,

   LONG ExportFlags)

Scripting languages

Object.Export
   ExportPath as String,

   ExportFlags as Long

Parameters


ExportPath

The full pathname of the export file to create. A file extension of ".erf (for facility export)" or ".csv (for database and schedule export)" or .erm (for room export) is recommended; this will cause the file to appear in the eRoom user interface's import facility/database/room dialog box. If no extension is specified, ".zip" will be used.

ExportFlags

Facility Export: One or more values from the ERUExportFlag enum. [optional, default=0].

Return value


C++

The return code.

Scripting languages

None.

Remarks


If you export to a .csv file from a Process Step, the column that contains the name of the step is always named "Step," regardless of what the ProcessStepLabel property value is.

Exporting from an Approval Process is an invalid operation.

Only administrators can export facilities. Database items and project schedules can be exported by anyone who has open access to them. Rooms can be exported by room coordinators and administrators.

Home

Applies to
IERUDashboard

IERUDatabase

IERUFacility

IERUProjectSchedule

IERURoom