Create a Pentaho Server Plug-in
Ensure that you are running the Pentaho Server with the Pentaho Analyzer plug-in installed.
- Create a location for the new visualization in the Pentaho Server by creating a new folder in the pentaho-solutions/system directory.
- Within the new folder, create a plugin.xml file that will contain metadata about the plug-in.
<?xml version="1.0" encoding="UTF-8"?> <plugin title="example-visualization"> <static-paths> <!-- this translates to /pentaho/content/example-visualization/resources/* --> <static-path url="/example-visualization/resources" localFolder="resources"/> </static-paths> </plugin>
This basic plug-in exposes static files in the resources folder to authenticated users.