← Back to team overview

dhis2-devs team mailing list archive

Re: Accessing HTML Reports through Web API !

 

Okay good.

Lars

On Mon, Jun 22, 2015 at 11:47 AM, Harsh Atal <harsh.atal@xxxxxxxxx> wrote:

> Thank You Lars! This is exactly what we needed. Sorry I missed it in the
> documentation.
>
> Regards
> harsh
>
> On 22 June 2015 at 15:03, Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:
>
>> Hi Harsh,
>>
>> depends what you mean. You can easily get the HTML content for a standard
>> report directly from the api/reports resource. The HTML content for a
>> standard report is just a property on report called "designContent":
>>
>> https://apps.dhis2.org/dev/api/reports/AMERNML55Tg
>>
>> The "context" code we have for selecting org unit/period is very basic
>> and something you could easily re-implement in your own data reports app.
>>
>> regards,
>>
>> Lars
>>
>>
>>
>>
>>
>> On Mon, Jun 22, 2015 at 11:20 AM, Harsh Atal <harsh.atal@xxxxxxxxx>
>> wrote:
>>
>>> Hi
>>>
>>> We are planning to refactor our java based report module to a DHIS2 Web
>>> Application. For this we need access to the HTML Reports through the Web
>>> API.
>>> Going by the documentation it seems that it is not yet possible to do
>>> this.
>>>
>>> Will DHIS2 have WEB API support around the reports module in the near
>>> future?
>>>
>>> Regards
>>> harsh
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org <https://www.dhis2.org>
>>
>>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>

References