DIAdem Help

Object: DataFinderSettings

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

Object: DataFinderSettings

The DataFinderSettings object provides a DataFinder configuration. You use the DataFinderSettings object to create and to delete search areas, and folders that are to be excluded from the search, to optimize custom properties, and to import and export DataFinder configurations. You only can use the DataFinderSettings object for the My DataFinder DataFinder.

The following example determines the indexed properties and custom properties of all channel groups in the search areas and optimizes the custom property Test_Name:

VBScriptPython

 

Dim oMyDataFinder, oMyPropertyList, oMyDataFinderSettings
Set oMyDataFinder = Navigator.ConnectDataFinder("My DataFinder")
Set oMyDataFinderSettings = oMyDataFinder.GetSettings
Set oMyPropertyList = oMyDataFinder.GetIndexedProperties(eSearchChannelGroup)
If oMyPropertyList.Exists("Test_Name") Then
  If oMyPropertyList.Item("Test_Name").DataType = DataTypeOptiUnknown Then
    Call oMyDataFinderSettings.OptimizeCustomProperty(eSearchChannelGroup, "Test_Name", DataTypeString)
  End If
End If

Returned From

DataFinder.GetSettings