Own Custom component in Pentaho CDE

878 views
Skip to first unread message

Sam Kumar

unread,
Oct 29, 2014, 1:58:16 PM10/29/14
to pentaho-...@googlegroups.com
Hi Group,

Can anyone please guide me How to create new component in Pentaho CDE.

My scenario is like:i have to create so many dashboard in CDE.In each dashboard i have 4 same filter so i want to create a custom new component in cde that will be representing all my 4 filter instead of creating again again all filer in each dashboard.

i am not fully sure this is achievable or not ..so i just need you suggestion if possible how we can do or some other alternate method to do this:

Regards
Sam

Pedro Alves

unread,
Oct 29, 2014, 2:08:12 PM10/29/14
to pentaho-...@googlegroups.com
You need to build a custom component

See examples that are part of CDE itself: project-sugar/solution/system/pentaho-cdf-dd/resources/custom/components/Raphael

You can also store this in the jcr under /Public/cde/components


--
You received this message because you are subscribed to the Google Groups "Pentaho Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pentaho-commun...@googlegroups.com.
To post to this group, send email to pentaho-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pentaho-community/5cf31769-64cc-4ed4-86f2-b629439faf48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scott Elcomb

unread,
Oct 29, 2014, 2:45:06 PM10/29/14
to pentaho-...@googlegroups.com
I took a different approach in a similar situation, dictated in large
part by the dynamic nature of my use-case (some dashboard components -
graphs, tables, etc - needed to be swapped in/out or moved on a daily
basis).

My solution was to wrap the components in "widgets" (ie. nested
dashboards) and build a dashboard generator using node.js. This tool
lets me specify the layout and reporting components using a
combination of a report specification (json) and a report definition
(sql tables) - when run, it generates the relevant .cdfde, .wcdf and
.cda files, wires all the dashboard, widget and component parameters
together* and generates a zip file ready for upload to a bi-server.

One potential benefit to this direction is (imo) the ability to
specify different "filter packages" and that the various dashboards
can select which set of filters they want to use at build-time. (I
had this tied in to complement a set of daily PDI transforms)

Best,
- Scott


* Although I've received blessing to share the tool, it's really not
ready yet. The parameter "auto-wiring" is still a bit buggy, a number
of features aren't supported yet and the project needs to be cleaned
up before any release. If there's interest, I'll setup a public repo
when I get a chance (likely not for several weeks... when will PDI let
me pause time? ;-)
> https://groups.google.com/d/msgid/pentaho-community/CAC_LyUjhAhisH%2Bxm1psSvshE8Rdt32NreKJv-ZXNoQLpEcWWqg%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Scott Elcomb @psema4
http://psema4.com/pubkey.txt
http://www.pirateparty.ca/

Pedro Alves

unread,
Oct 29, 2014, 2:50:16 PM10/29/14
to pentaho-...@googlegroups.com
I'm waiting for the demo of it / pull request for the marketplace :p

Sam Kumar

unread,
Oct 29, 2014, 3:34:13 PM10/29/14
to pentaho-...@googlegroups.com
Thanks a lot Pedro and Scott for your suitable answer.

Pedro:i will see that example and if i am facing any issue then i will get back to u ..once again thanks for your awesome support.

Scott: i have also some thing similar scenario.could your please tell me when i can see demo for that ?

I waiting for your again suitable response 

--
You received this message because you are subscribed to a topic in the Google Groups "Pentaho Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pentaho-community/HDHQKcYDtqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pentaho-commun...@googlegroups.com.

To post to this group, send email to pentaho-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages