dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #50194
Re: Error embedding a Pivot Table in a HTML standard Report
Hi Guys
Any update on this issue?
Regards
Pooben
On Fri, Sep 22, 2017 at 5:48 PM, Pooben Dass <pooben@xxxxxxxx> wrote:
> Hi Devs
>
> dhis2 version: 2.27
> build date: 2017-08-22 06:25
>
> I'm receiving this error when attempting to embed a pivot table in a HTML
> report (any ideas why):-
>
>
> jquery.min.js?_rev=305a73c:33 GET http://localhost:9090/dhis/*dhis-web-reporting/undefined/api/26/me.json
> 404 (Not Found)*
>
> send @ jquery.min.js?_rev=305a73c:33
>
> ajax @ jquery.min.js?_rev=305a73c:33
>
> a.ajax @ jquery.min.js?_rev=305a73c:36
>
> r.(anonymous function) @ jquery.min.js?_rev=305a73c:33
>
> getJSON @ jquery.min.js?_rev=305a73c:33
>
> b.run @ Request.js?f647:211
>
> *h @ Plugin.js?13d6:115*
>
> *f @ Plugin.js?13d6:81*
>
> *s.load @ Plugin.js?13d6:58*
>
> (anonymous) @ generateHtmlReport.action?uid=umVkP4PUVc6&ou=WeeW3tgF69f:296
>
>
> this is my script:
> var repo1 = {
> columns: [{dimension: "dx", "items": [{id: "V3g5F8e9D1s", "name": "Average
> length of stay - total"}, {id: "Y8a8G6y3B8n", "name": "Inpatient bed
> utilisation rate - total\n"},
> {id: "E4y3V4r0N9a", "name": "Delivery by caesarean section
> rate"}, {id: "Co5H5j6Y7c1", "name": "Maternal mortality in facility ratio"}
> ] },
> {dimension: "pe", "items": [{id: "LAST_5_YEARS", "name":
> "LAST_5_YEARS"} ] } ],
> rows: [{dimension: "ou", "items": [{id: "OU_GROUP-zxsdzWholU8", "name":
> "OU_GROUP-zxsdzWholU8"}, {id: "WeeW3tgF69f"} ] } ],
> filters: null,
> showColTotals: false,
> showRowTotals: false,
> showColSubTotals: false,
> showRowSubTotals: false,
> showHierarchy: true,
> legendDisplayStyle: "FILL",
> legendDisplayStrategy: "FIXED",
> url: base,
> el: "chart1" };
>
> reportTablePlugin.load(repo1);
>
--
*This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer
<http://www.hisp.org/policies.html#comms_disclaimer>. Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission. If you cannot access the
disclaimer, kindly send an email to disclaimer@xxxxxxxx
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to
this e-mail or opening any attachment you agree to be bound by the
provisions of the disclaimer.*
References