Dear Ekani Sorry for late reply.
I think the problem is authentication; did you pass user name inside get function? Like DHIS.getChart({ crossDomain: true, username: 'xxxxxx', password: '*********', uid: 'yyyyyyyyyyy', el: 'chartName', url: base }); CORS might be another issue. can you please check Chrome debug report and let me know the exact error. Regards Hannan Khan HISP Bangladesh On Sat, Jan 23, 2016 at 8:49 PM, Guy Ekani <constyek...@yahoo.fr> wrote: > hello Muhammad and community > > In our case we have 2 Server (one for DHIS and one for our Portal), and > it's also working when the user "view" is connected on the dhis2 instance. > When the user "view" is disconnected to Dhis2 nothing appear on the portal. > > Please could you help ? > > Sincerely, > > DHIS 2.21 > > ========================= > EKANI Guy > > > > > > > > Le Mercredi 23 décembre 2015 11h25, Lars Helge Øverland < > larshe...@gmail.com> a écrit : > > > Hi Muhammad, > > this looks great! Thanks for sharing. > > You can expect improvements in the plugins in terms of improved load-time > and extra features in 2.23. > > best regards, > > Lars > > > On Wed, Dec 23, 2015 at 11:07 AM, Pamod Amarakoon <pam...@gmail.com> > wrote: > > Dear Munna, > > Thank you very much for sharing. > > On Wed, Dec 23, 2015 at 12:49 PM, Julhas Sujan <julhaspust...@gmail.com> > wrote: > > Dear Munna Viyya, > > It will be helpful for us. Thank you very much. > > *Best Regards* > *Julhas Sujan* > Java Consultant > Management Science for Health(MSH) > USAID, Dhaka, Bangladesh > Cell: +8801989 442856 > Skype: julhas08 > Web: www.julhas.info > > www.msh.org http://siapsprogram.org/wherewework/bangladesh/ > > On Wed, Dec 23, 2015 at 12:33 PM, Mohammad Ullah <munnab...@gmail.com> > wrote: > > Dear all, > > I am pleased to share with you the Bangladesh portal which we have created > based on the live data from dhis2 using dhis2 plugins. Please visit the > following link to see the portal, > http://103.247.238.81:8080/portal/index.html > > We highly appreciate the help from the community. We have got quick > support from the community during the development. > > I would like to share my knowledge and experience of the development > process, i believe this will be helpful for others, > > Solution > --------------- > 1) Please add the full address in the CORS whitelist, > [image: Inline image 3] > > 2) Its better to download the plugins and attach those from local folder. > > 3) I have used the following version of the plugins, > > <link rel="stylesheet" href="css/v216_ext-plugin-gray.css" /><link > rel="stylesheet" type="text/css" > href="//apps.dhis2.org/demo/dhis-web-commons/javascripts/ext-ux/carousel/css/carousel.css" > /><script src="js/plugins/v21/v221_ext_ext-all.js"></script><script > src="js/plugins/v17/v217_openlayers_OpenLayers.js"></script><script > src="js/plugins/Carousel.js"></script><script > src="js/plugins/v21/v221_plugin_chart.js"></script><script > src="js/plugins/v21/v221_plugin_table.js"></script><script > src="js/plugins/v17/v217_plugin_map.js"></script> > > 4) Please use the username and password inside the get method (see the > examples), > > DHIS.getChart({ crossDomain: true, username: 'view', password: 'DGHS1234', > uid: 'oSNtDZNZGIp', el: 'chartA1', url: base }); > > 5) We have created a reporting server where all the live data sync > everyday in one instance of DHIS2. We have hosted the portal in the same > reporting server. > > Please let me know if i can provide any support regarding this issue. > > -- > Regards, > > *Mohammad Ullah* > > ----------------------------------------------------------------------------------------- > Technical Advisor (HIS) – Health Sector > Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH > German House > House 10/A-2, Road 90 > Gulshan 2, Dhaka 1212, Bangladesh > > T +880 9666701000 > F +880 28823099 > M +880 196 31 56 988 > Web http://lnkd.in/gQrxXz > Skype mohammad_ullah_giz > > Office Location: > Room # 304, Shahid Dr. Milan Bhavan, > MIS, DGHS of MoHFW, Mohakhali, Dhaka. > > T 02 8816412 (ex:118) > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > > > > -- > Regards, > Pamod Amarakoon > > Confidentiality Notice: the information contained in this email and any > attachments may be legally privileged and confidential. If you are not an > intended recipient, you are hereby notified that any dissemination, > distribution, or copying of this e-mail is strictly prohibited. If you have > received this e-mail in error, please notify the sender and permanently > delete the e-mail and any attachments immediately. You should not retain, > copy or use this e-mail or any attachments for any purpose, nor disclose > all or any part of the contents to any other person. > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > 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/> > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp