Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Right-click on the project and select Build Path > Configure Build Path from the menu. Then select the Libraries tab.



  2. Click the Add JARs button and type "i4" into the search bar. From the results, select i4-core.jar and i4-mi.jar from your plugin project. 



  3. Click OK to save this and OK again in the build path config window.
  4. Under the WEB-INF/src folder, create a new folder and call it META-INF. Create a new folder called services within this one.



  5. Depending on which plugin is being developed, create a file with the fully qualified name of the plugin interface in the services directory. See the table below for all available plugin options:

    Yellowin Plugin

    Interface

    Description

    Transformation Stepcom.hof.mi.etl.step.ETLStepA step which may be used in the Data Transformation module.
    Advanced Functioncom.hof.mi.interfaces.AnalyticalFunctionAdvanced functions used in Reports.
    Data Type Convertercom.hof.mi.interfaces.ConverterConversion of data types, done at the View Level and in the Data Transformation module.
    Custom Formattercom.hof.mi.interfaces.CustomFormatterCustom formatting used in Reports.
    Data Profilercom.hof.mi.interfaces.DataSuggestionPlugin

    Profile data for a field. Contains functionality to determine whether the implemented suggestion is applicable.

    Icon Setcom.hof.mi.interfaces.IconSetDefines an icon set for use with Report Alerts.
    Third-Party Connectorcom.hof.mi.thirdparty.interfaces.AbstractDataSourceConnectors to create connections to external API data sources.
    Canvas Widgetcom.hof.mi.widgetcanvas.interfaces.CanvasObjectTemplateCustom widgets used in canvases in the Dashboard, Storyboard and Report Design modules.
    Source Platformcom.hof.sources.SourcePlatformDefine source types, such as JDBC, JNDI, OLAP etc.



    1. For instance, if creating a Data Transformation Step, name your file 'com.hof.mi.etl.step.ETLStep'.




  6. Create the plugin class by implementing one of the interfaces given above. The fully qualified classname should be added to the services file corresponding to the interface.
    So, for our Data Transformation Step example, add its fully qualified classname to META-INF/services/com.hof.etl.step.ETLStep.


    You can add further transformation steps below this line, if required.

...