Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Calling a function defined in a plug-in is done via the intrinsic functions RUNPLUGIN (returning a value) and RUNPLUGIN$ (returning a string).

Knowledge Engineer Side

Place the plug-in (the .dll file) in the knowledgebase folder under Applic\Plugins\

The KE has to define the return type, the name, the version and  the input parameters for the function.

...

The communication with Quaestor is done by implementing the interface IQFunctionPlugin and using the attributes defined in the IQPluginMetadata interface. Both of them are defined in the QInterfaces.dll . This library will soon be is available on the MARIN nuGet server.

...

  1. Create a class library project in Visual Studio
  2. Add reference to the QInterfaces.dll (soon available via the MARIN nuGet managerserver)
  3. Add reference to System.ComponentModel.Composition
  4. Create a class that will implement the method called by Quaestor
  5. Add the Export and ExportMetadata attributes to the class
  6. (optional) Create as many classes as needed to be called by Quaestor; create a GUI project to test the classes

...