← Back to team overview

dhis2-devs team mailing list archive

Re: [Urgent] Unable to use highchart plugin on customapps

 

Hi Teja

I'm not sure what is happening with our CDN, but we have added security
exceptions to our app hosted plugins, so you should be able to use them
directly.

https://play.dhis2.org/dev/dhis-web-visualizer/chart.js
https://play.dhis2.org/dev/dhis-web-pivot/reporttable.js
https://play.dhis2.org/dev/dhis-web-maps/map.js
https://play.dhis2.org/dev/dhis-web-event-visualizer/eventchart.js
https://play.dhis2.org/dev/dhis-web-event-reports/eventreport.js

(I copied these from our play server, but you would of course need to
change the URL to your own server)

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
Team Integration Lead
University of Oslo
http://www.dhis2.org

On Tue, Jul 31, 2018 at 5:54 PM, Teja Medida <tejam@xxxxxxxxxxxxxxxx> wrote:

> Hi team,
>
> We have raised a JIRA ticket -DHIS2-4337
> <https://jira.dhis2.org/browse/DHIS2-4337> regarding this issue today.
> The ticket contains all the details, we were hoping to get a response on
> this, as this is a blocker for us.
> Please look into it and let us know if any action is needed from our end.
>
>
> Regards,
> Teja Medida
>
> On Tue, Jul 24, 2018 at 4:39 PM, Kaustav Chakraborty <
> kaustavc@xxxxxxxxxxxxxxxx> wrote:
>
>> Hello team,
>> Since we are migrating to 2.30, we found this issue as high priority.
>> Your help is really appreciable on the same note. Let us know if you need
>> further information.
>>
>>
>> Regards,
>>
>> *Kaustav Chakraborty*
>> Application Developer
>> Email kaustavc@xxxxxxxxxxxxxxxx
>> Telephone +91 91009 60526
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=kaustav-chakraborty-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>>
>> On Fri, Jul 20, 2018 at 10:10 AM Kaustav Chakraborty <
>> kaustavc@xxxxxxxxxxxxxxxx> wrote:
>>
>>> Hi team,
>>>
>>> It was amazing with the wonderful feature list which came up with 2.30.
>>> On the same note, we are working with a customapp where we are trying to
>>> integrate highcharts. We went through this
>>> <https://docs.dhis2.org/2.29/en/developer/html/dhis2_developer_manual_full.html#webapi_plugins>
>>> doc, and tried with both CDN and in app plugin for *reportable.js*. For
>>> both we are getting *404 Not Found error.*
>>>
>>> *Platform: *DHIS2 2.30 / DHIS2 2.29
>>> We tried with,
>>>
>>>    - *http://domain.name/v227/plugin/reporttable.js
>>>    <http://domain.name/v227/plugin/reporttable.js>* *(Not Found)*
>>>    - *http://domain.name/v229/plugin/reporttable.js
>>>    <http://domain.name/v229/plugin/reporttable.js> (Not Found)*
>>>    - *https://dhis2-cdn.org/v227/plugin/reporttable.js
>>>    <https://dhis2-cdn.org/v227/plugin/reporttable.js>* *(Bad Gateway)*
>>>
>>>
>>> Could you suggest what is the workaround for the same, and what we are
>>> missing. It would be really helpful.
>>>
>>> We are looking forward to hear you.
>>>
>>>
>>> Regards,
>>>
>>> *Kaustav Chakraborty*
>>> Application Developer
>>> Email kaustavc@xxxxxxxxxxxxxxxx
>>> Telephone +91 91009 60526
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=kaustav-chakraborty-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>
>