[ 
http://mifosforge.jira.com/browse/MIFOSBI-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

johnwoodlock resolved MIFOSBI-230.
----------------------------------

      Resolution: Fixed
    Story Points: 0.5

The attached files show what one of our dashboards (being developed) looks like 
in mifos.  The 2nd file shows the extra login required first time because we 
don't have single signon implemented yet.

In this case, I altered the mifos home page by removing the search form and 
inserting an iframe which links to the url

<iframe 
src="https://sandbox-reporting.mifos.org/pentaho/content/pentaho-cdf/RenderXCDF?solution=Dashboards&path=%2F&action=PradiptaGKBurndown.xcdf&template=mantle";
 width="100%" height="100%">
  <p>Your browser does not support iframes.</p>
</iframe>

Standard stuff and easy peasy.  The main thing is that each pentaho 'asset' 
(report, dashboard...) can be got to by url ... the variable part being the URI 
(which could be put in some config) and you can pass additional parameters 
using the standard 'parm=parmvalue' way.

So this is a very simple webby way of embedding pentaho.  I think this works 
for anything e.g. if you want to run a report as part of a 'flow' then you can 
always either use something like outputting it into a new tab/window or an 
iframe/div on the same page with jquery/ajax.  There may be other uses cases 
that demand a more programmatic approach for integration but I can't think of 
any right now... 
http://wiki.pentaho.com/display/PRESALESPORTAL/Using+Pentaho+with+other+software+stacks
 mentions high level integration ways available but seems to me to be 
suggesting url level (I might be reading it with blinkers on though). 

Once I got over how cute this looked... I thought... well its not that much 
better (if at all) than having a completely separate browser tab (not mifos 
tab) named 'Mifos Dashboards' and having no direct integration with Mifos app 
at all (okay you might have a menu link to kick off the browser tab but that's 
just convenience... you could have had a 'favourite' just as easily).  Of 
course you'd decorate the dashboards to have a mifos feel.  

I did think for a moment that single signon isn't worth the price (I don't mind 
logging in twice) but at least it does cut down on (and centralise) the 
username/password/role administration which would get unwieldy without it.




Some Notes:  
Some Mifos pages (the old struts sort), at least this home page, have a strange 
limit of 500 on the height.  Thats why you see empty space and a scroll bar was 
needed in the iframe.  Could have changed this but wasn't important enough.

The data returned from pentaho URLs does tend to be quite a bit heavier than 
ordinary mifos pages (not surprisingly as they have dynamical charts etc and 
load things like jquery)... but firebug shows they can do quite a few requests 
and other such stuff so maybe that's can be made better.  I don't notice it 
much but when my internet was way slow is was frustrating (ordinary mifos page 
bad, pentaho frustrating).  







> Spike: Display a simple dashboard on Mifos home page 
> -----------------------------------------------------
>
>                 Key: MIFOSBI-230
>                 URL: http://mifosforge.jira.com/browse/MIFOSBI-230
>             Project: mifos business intelligence
>          Issue Type: Story
>            Reporter: pradipta kundu
>            Assignee: johnwoodlock
>            Priority: Major
>             Fix For: Mifos BI 1.2
>
>         Attachments: mifosdashboard.jpg, mifospentahologon.jpg
>
>
> As a mifos user, I should be able to see a simple dashboard on the Mifos 
> homepage

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to