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

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

...

  1. On starting Eclipse, create a new Java project.
    1. Enter the project name and ensure you select a JRE compatible with the version of Yellowfin.
    2. Click Next and change the default output folder to <project-name>/ROOT/WEB-INF/classes.



    3. Click Finish.
  2. Import files from the installed Yellowfin instance:
    1. Right click on the project  project and select Import.



    2. Select File System and click Next.



    3. Navigate to appserver/webapps/ROOT in the Yellowfin install directory. Select ROOT and click OK.



    4. Select everything under ROOT and in the Advanced section, select the Create links in workspace checkbox.



    5. Click Finish. Files from the installed Yellowfin will be linked to this project.


...

Next, configure the project you've just created. Here's how:


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



  2. Click Add JARs and type "i4" into the search bar. From the results, select i4 i4-core.jar and i4-mi.jar from your plugin project. Click OK to save this and OK again in the build path config window.



  3. Create the following folder structure under src: META-INF/services

  4. Depending on which plugin is being developed, create a file with the full fully qualified name of the plugin interface, in the services directory.

    Yellowin Plugin

    Interface

    Description

    Transformation Stepcom.hof.mi.etl.step.ETLStepA Step step which may be used in the Data Transformation module.
    Analytic Advanced Functioncom.hof.mi.interfaces.AnalyticalFunctionAnalytic Functions Advanced functions used in Reports.
    Data Type Convertercom.hof.mi.interfaces.ConverterConverts used Conversion of data types, done at the View Level and in the Data TransformationsTransformation module.
    Custom Formattercom.hof.mi.interfaces.CustomFormatterFormatting Custom formatting used in Reports.
    Data Profilercom.hof.mi.interfaces.DataSuggestionPlugin

    Profile data for a field and and . 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 an create connections to external API data sources.
    Canvas Widgetcom.hof.mi.widgetcanvas.interfaces.CanvasObjectTemplateCustom Widgets for widgets used in canvases in the Dashboard, Storyboard and Report OutputDesign modules.
    Source Platformcom.hof.sources.SourcePlatformDefine Source Types source types, such as JDBC, JNDI, OLAP etc.


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




  5. 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 if the plugin being developed is a Data Transformation Step, add its fully qualfied class name to META-INF/services/com.hof.etl.step.ETLStep



    If necessary, another transformation step may be added below this line.

...