Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

BI Server Plugin

$
0
0
Hey there!

I'm currently trying to develop a plugin for the BI Server (5.1). I stumbled on the echo plugin and used it as starting point.
Aim of the plugin is to use an other reporting engine. So it should be possible to upload files with a specific extension and to display the result.

As far as i understand the plugin.xml one can define the extension the plugin is responsible for by the "content-type" tag. Or to be precise by the "type" attribute. But when I try to upload a file with, e.g. "echo" extension I ran into an error which tells me that this file type is not supported.

currently my plugin.xml looks something like this:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<plugin title="MyPlugin" name="MyPlugin" loader="default">


    <content-type type="echo" mime-type="text/xml">
        <title>MyPlugin</title>
        <description>MyPlugin</description>
        <icon-url>content/createdPlugin-res/echo.jpg</icon-url>
        <meta-provider>plugin.ContentMetaProvider</meta-provider>
            <operations>
                <operation>
                    <id>EDIT</id>
                    <command>content/createdPlugin-res/readme.html?message=from_platform&amp;solution={solution}&amp;path={path}&amp;action={name}</command>
                </operation>
                <operation>
                    <id>NEWWINDOW</id>
                </operation>               
                  <operation>
                    <id>SCHEDULE_NEW</id>
                    <perspective>viewer</perspective>
                  </operation>
                  <operation>
                    <id>SCHEDULE_EDIT</id>
                    <perspective>viewer</perspective>
                  </operation>
                  <operation>
                    <id>BACKGROUND</id>
                  </operation>
            </operations>
    </content-type>

<static-paths>
    <static-path url="/createdPlugin-res" localFolder="resources"/>
</static-paths>

</plugin>



Is there something i'm missing?

Cheers

Marcel

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>