Installs an add-on, available on a domain, to the current object store. When an add-on is installed, the pre-import
script (if one exists) is run. Then the import data is imported into the object store, creating new metadata classes,
properties, and data objects. Finally, the post-import script is run.
This method results in one of the following outcomes:
- If the add-on doesn't have an installation record, the installation is attempted and an
AddOnInstallationRecord object is created.
- If the add-on has an installation record with a status of "InstallationFailed", the
installation is re-attempted and the installation record's properties are updated.
- If the add-on has an installation record with a status of "Installed", an exception
(indicating that the add-on is already installed) is thrown.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Sub InstallAddOn ( _
addOn As IAddOn _
) |
C# |
---|
void InstallAddOn(
IAddOn addOn
) |
Visual C++ |
---|
void InstallAddOn(
IAddOn^ addOn
) |
JavaScript |
---|
function installAddOn(addOn); |