Plug-ins are Angular libraries that are dynamically loaded at runtime. The plug-ins are managed by the API Server. Plug-ins 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 plug-in 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 plug-in
-
On the API Server, create the file imxweb\<Angular plug-in library name>\imx-plugin-config.json with the following content:
{
"<Name of the HTML application>":[
{
"Container":"<Name of the Angular plugin library>",
"Name":"<Name of the Angular module>"
}
]
}
-
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 plug-in correctly, open the <API Server URL>/imx/applications URL and check that the corresponding plug-in appears at the HTML application position in the list.