← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS2 Dashboard Apps


Hi Martin,

the dashboard widgets/apps, listed under the Apps section in the
dashboard item selector, are rendered in the same way as before.
They are loaded in an iframe in a box added to the dashboard grid.
This is also to ensure existing apps can still work in the new Dashboards app.

As for distinguishing between a full screen and a "widget" app, there
isn't anything in place as far as I know.

One way is to use a responsive layout in your app, to ensure the
content fits and is usable in both full screen and the small widget

I didn't work with widget apps, so hopefully someone in the community
who has done that can help.


On Thu, Apr 26, 2018 at 10:35 AM, Martin Van Aken
<martin@xxxxxxxxxxxxxxxx> wrote:
> Hi!
> We've been working with DHIS2 Apps for a while now, and found the general
> experience (as developers) pretty good with the d2 + React combo. Something
> I could not find info about is how the different kind of apps change,
> especially the DASHBOARD_WIDGET one - does that means that an app of this
> kind will be rendered as a box in the main view? If so, how to specify the
> part that should go there vs for example a full sized page after once
> clicked?
> Any doc or example on this would be great.
> As I'm there - thanks to the team there to provide a nice to use extension
> point in the form of webapps - much appreciated!
> Martin
> --
> Martin Van Aken - Freelance Enthusiast Developer
> Mobile : +32 486 899 652
> Follow me on Twitter : @martinvanaken
> Call me on Skype : vanakenm
> Hang out with me : martin@xxxxxxxxxxxxxxxx
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp

Edoardo Sabadelli
University of Oslo

Follow ups