Home Search

DriveWorks Pro 19
Export All Control Names To Named Sheet In Excel

Send Feedback

Export All Control Names To Named Sheet in Excel

This Specification Flow Task recurses all the Forms in a Project and all of the Controls within each form.

Please ensure that Microsoft Office is installed on all DriveWorks machines that will process this Task.

Properties

Property NameDescription
Source File NameFile Name of the source (template) spreadsheet.
Target File NameFile Name of the target (new) spreadsheet.
Target Sheet NameThe Sheet name in the spreadsheet that will have the data exported to.
ShowExcelWorkbook will be visible if set to TRUE.
Extension for Saving FilePipe-bar (|) delimited list of extensions to save the file as (e.g. .pdf, .xps, .txt).

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Source File Name"C:\MyDocuments\Templates\Template.xlsx"C:\MyDocuments\Templates\Template.xlsxThis is the location where the source (your template) spreadsheet is stored.
Target File Name"C:\MyDocuments\Exports\SpecInfo.xlsx"C:\MyDocuments\Exports\SpecInfo.xlsxThis is the location where the file will be created.
Target Sheet Name"Sheet1"Sheet1This is the name of the sheet on your exported spreadsheet that the data will be written to.
ShowExcelTRUETRUETRUE will show the Excel workbook opening when you run the Task.
Extension For Saving File".CSV".CSVThis will produce a CSV file of the exported data that has been exported to Excel.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • Control names were successfully written to Excel

Success with Warnings

  • N/A - Should never be fulfilled.

Failed (one of the following occurred).

  • Target sheet name is empty
  • Target file name is empty
  • Couldn't find transition or status name
  • Source file name is empty
  • Source file not found or could not be accessed
  • Source file extension is invalid
  • Unable to copy source file
  • Could not find target sheet name
  • Unknown error occurred