DIAdem Help

Method: IndexFolder for Browser <DataFinder>

  • Updated2024-09-12
  • 2 minute(s) read

Method: IndexFolder for Browser <DataFinder>

Indexes a folder from the file browser of a DataFinder. You can use this method only on the computer on which the DataFinder is active.

Object.IndexFolder(Element, Reindex, IncludeSubfolder)
ObjectBrowser <DataFinder>
Object with this method
ElementElement <DataFinder>
Specifies the folder to be reindexed. The specified folder must be a folder from a search area in the DataFinder.
ReindexBoolean
Specifies whether the DataFinder re-indexes the files in the specified folder (TRUE) or whether the DataFinder only indexes the files that were changed or added since the last indexing process (FALSE).
IncludeSubfolderBoolean
Specifies whether the DataFinder indexes the subfolders of the specified folder (TRUE) or not (FALSE).

The following example indexes the folder that has the focus in the file browser:

VBScriptPython

 

Dim oMyElement
Set oMyElement = Navigator.Display.CurrDataFinder.Browser.FocusedElement
Call Navigator.Display.CurrDataFinder.Browser.IndexFolder(oMyElement, TRUE, TRUE)

Log in to get a better experience