06-21-2013 03:19 PM
Hi all, I'd like to know if there's a return value that can be send from a Data Plugin to Data Finder in order for it to keep trying other plugins associated to a file type. I don't think an Exit Sub will do the trick, or will it?
06-23-2013 05:13 AM
Call RaiseError will tell the DataFinder that the current data file cannot be loaded with the current DataPlugin, so the DataFinder will try other DataPlugins.
Is this what you are looking for?
06-24-2013 08:12 AM
DataFinder tries all DataPlugins registered for a specific extension to index a specific file.
The first successful DataPlugin will be used for displaying in the tree view of DIAdem.
Searching will always take all indexed information from all DataPlugins into consideration.
DataPlugins should use RaiseError (with no parameter) to define a specific file as not being of the DataPlugins file type ("not my file").
DataPlugins should use RaiserError <ErrorText> in case the file is of the expected file type, but containing false data.