<< Click to Display Table of Contents >> Navigation: OLE Automation > Application > Properties > SpaceObServer.Application.Properties.ExportColumnVisible |
Description
Use this property to set the visibility of any columns for any type of the directory tree export.
Syntax
property ExportColumnVisible(ExportType : <String>, InfoType : <String>): <Boolean>;
Parameters
ExportType |
Defines the type of export for which the column visibility should be changed.
Note: By default the exports are done with the columns configured in the export options of SpaceObServer. |
||||||||||||||||||
InfoType |
Defines the column which should be set to visible or invisible. |
Example
PowerShell:
$SOS.ROOTDirectory = "C:\"
$SOS.ExportColumnVisible("ExcelExport", "Folders") = $False
$SOS.ExcelExport("C:\Temp\SOS\Excelexport.xlsx", "TestSheet %DATE%", $True, $True, $False, $False, "")
VBS:
SOS.ROOTDirectory = "C:\"
SOS.ExportColumnVisible ("ExcelExport", "Folders") = False
SOS.ExcelExport "C:\Temp\SOS\Excelexport.xlsx", "TestSheet %DATE%", True, true, False, False, ""
This will deactivate the "Folders" column before exporting the directory tree to Excel.
Remarks
The visibility can be set for any type of textual export and for any information to export. Find a list of values identifying the textual export types below. Find a list of values identifying the info types at OLE Information Type
The default visibility of the columns is the last used configuration in the SpaceObServer user interface.
In order to configure the visible columns for the list exports you can use the ListColumnVisible property.