Implement and Add a Pluggable Library or View
To create and add a pluggable library or pluggable view
1. Create the folders needed for the pluggable library or view. See Figure . The root folder for the pluggable view or library must match the view or library ID. 2. Write or download the code needed for this view or library:
For pluggable libraries that use resources hosted externally, skip this step.
For all other pluggable libraries, you may download resources for third-party libraries and add them to the library’s folders. Or write the necessary JavaScript code and add it to the
/js folder.
4. Optionally, define additional configuration that Business Analytics may need to import and manage the view or library. Configuration is defined in either:
Additional configuration is required to register a pluggable library as a pluggable view or to register a pluggable library with external resources. You may also use library configuration to:
Define basic metadata such as a description and version or identifying a pluggable library as a pluggable view.
Identify images and help to use with a pluggable view library.
Declare dependencies for this library or view on libraries bundled in
Business Analytics or other custom or third-party libraries added to
Business Analytics.
Define the external resources for pluggable libraries that have no local resources.
5. Upload the pluggable view or pluggable library using either the Business Analytics importLib command or using Ant with a build file. See Import Pluggable Views and Libraries for examples and instructions.