Plugins are Angular libraries that are dynamically loaded at runtime. The plugins are managed by the API Server. Plugins are automatically detected by the API Server by searching the program directory for files named imx-plugin-config.json.
The following sample file specifies that the Angular plugin library ccc should be loaded into the qer-app-portal application. The name of the Angular module to be instantiated is CustomConfigModule.
{ |
"qer-app-portal":[ |
{ |
"Container":"ccc", |
"Name":"CustomConfigModule" |
} |
] |
} |
To add a plugin
-
On the API Server, create the file imxweb\<Angular plugin library name>\imx-plugin-config.json with the following content:
{
"<HTML application name>":[
{
"Container":"<Angular plugin library name>",
"Name":"<Angular module name>"
}
]
}
-
Import the file into your One Identity Manager database using the Software Loader and assign it to the API Server machine role. For more information on importing files using the Software Loader, see the One Identity Manager Operational Guide.
-
(Optional) To check if the HTML application loads the plugin correctly, open the <API Server URL>/imx/applications URL and check that the corresponding plugin appears at the HTML application position in the list.