- Notes, cautions, and warnings
- About this guide
- Plugins: Data Management Custom Actions
- API: ClarityNow! module
This method shows you how to convert a ClarityNow! custom context menu (CCM) into DataIQ. This usually means copying the contents of the main ccm.control file, plus a script or two, into the new hoststorage folder and making a few modifications.
By the time you have finished the conversion and built your plugin, the project directory may look similar to the following example. In this sample project, there are additional files in the hoststorage directory, including a build script and distribution directory for packaged plugin archives.
The startup.sh script is run every time the plugin is started and is primarily used to set environment variables and pull runtime dependencies. Notice that the default startup.sh uses a pip command to install Python 2 dependencies from your requirements.txt over the internet. A copy of the relevant lines are below:
if [ -f "/hoststorage/requirements.txt" ]; then pip install -r "/hoststorage/requirements.txt" fi