WebAPI do not work.

On your jQuery file=2C replace line 15 from setLinks to setLinks() Regards=
=2CPaulo Gr=E1cio From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=3Dc=
riticalsoftware.com@lists.launchpad.net] On Behalf Of Paulo Gr=E1cio

···

Sent: s=E1bado=2C 3 de Agosto de 2013 13:22
To: 'helder yesid castrillon cobo'=3B dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] WebAPI do not work. Hi=2C Are you having any par=
ticular problem? Any error message? Regards=2CPaulo Gr=E1cio From: Dhis2-us=
ers [mailto:dhis2-users-bounces+pgracio=3Dcriticalsoftware.com@lists.launch=
pad.net] On Behalf Of helder yesid castrillon cobo
Sent: sexta-feira=2C 2 de Agosto de 2013 16:42
To: dhis2-users@lists.launchpad.net
Subject: [Dhis2-users] WebAPI do not work. HI=2C
I am designing a web site to publish the indicators that I have created in =
DHIS=2C for this purpose am using the Web Api.=20
I have tried with DHIS Plugins and jquery but these hasn't worked.

I don't know what happend or that I should to do.

attached two example who I created based in the demo "http://apps.dhis2.org=
/portal/"

Note:
I checked that the user would had access to WebAPI.
The web site will be http://salas.saludcauca.gov.co

Thanks. =

--_9503c4a4-b59c-4eb5-89f9-d3e3dcce9008_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Thanks Paulo=2C<br><br>The probl=
em is that with these solutions(plugin DHIS and jquery) doesn't show nothin=
g on Web Browser. Before I had tried:<br>i) To replace setLinks to setLinks=
()=2C but&nbsp=3B it only works while I am logged in DHIS(generally in othe=
r tab of same browser).<br>ii) I tried with several users.<br>iii) I used t=
he same code that Demo published in http://apps.dhis2.org/portal/.<br>iv) I=
cleaned cookies=2C temporal files=2C Etc. of my web Browser.<br>v) I also =
used different web browsers.<br>vi) I finally tried&nbsp=3B do everything l=
ocally(dhis local=2C&nbsp=3B HTML files)<br><br>Is necessary to configure s=
omething in DHIS?. example security=2C&nbsp=3B compatibility=2C access perm=
issions.etc.<br><br>Regards=2C<br><br><br><br><div><hr id=3D"stopSpelling">=
From: pgracio@criticalsoftware.com<br>To: helder_947@hotmail.com=3B dhis2-u=
sers@lists.launchpad.net<br>Subject: RE: [Dhis2-users] WebAPI do not work.<=

Date: Sat=2C 3 Aug 2013 19:03:21 +0200<br><br><style><!--=0A=

.ExternalClass p.ecxMsoNormal=2C .ExternalClass li.ecxMsoNormal=2C .Externa=
lClass div.ecxMsoNormal {=0A=
font-size:12.0pt=3B=0A=
font-family:"Times New Roman"=2C"serif"=3B=0A=
}=0A=
=0A=
.ExternalClass a:link=2C .ExternalClass span.ecxMsoHyperlink {=0A=
color:blue=3B=0A=
text-decoration:underline=3B=0A=
}=0A=
=0A=
.ExternalClass span.ecxMsoHyperlinkFollowed {=0A=
color:purple=3B=0A=
text-decoration:underline=3B=0A=
}=0A=
=0A=
.ExternalClass p {=0A=
font-size:12.0pt=3B=0A=
font-family:"Times New Roman"=2C"serif"=3B=0A=
}=0A=
=0A=
.ExternalClass p.ecxMsoAcetate=2C .ExternalClass li.ecxMsoAcetate=2C .Exter=
nalClass div.ecxMsoAcetate {=0A=
font-size:8.0pt=3B=0A=
font-family:"Tahoma"=2C"sans-serif"=3B=0A=
}=0A=
=0A=
.ExternalClass span.ecxEmailStyle18 {=0A=
font-family:"Calibri"=2C"sans-serif"=3B=0A=
color:#1F497D=3B=0A=
}=0A=
=0A=
.ExternalClass span.ecxEmailStyle19 {=0A=
font-family:"Calibri"=2C"sans-serif"=3B=0A=
color:#1F497D=3B=0A=
}=0A=
=0A=
.ExternalClass span.ecxBalloonTextChar {=0A=
font-family:"Tahoma"=2C"sans-serif"=3B=0A=
}=0A=
=0A=
.ExternalClass .ecxMsoChpDefault {=0A=
font-size:10.0pt=3B=0A=
}=0A=
=0A=
.ExternalClass div.ecxWordSection1 {=0A=
}=0A=
=0A=
--></style><div class=3D"ecxWordSection1"><p class=3D"ecxMsoNormal"><span s=
tyle=3D"font-size:11.0pt=3Bfont-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsa=
ns-serif&quot=3B=3Bcolor:#1F497D=3B" lang=3D"EN-US">On your jQuery file=2C =
replace line 15 from <i>setLinks</i> to <i>setLinks()</i></span></p><p clas=
s=3D"ecxMsoNormal"><i><span style=3D"font-size:11.0pt=3Bfont-family:&quot=
=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F497D=3B" lang=3D=
"EN-US">&nbsp=3B</span></i></p><p class=3D"ecxMsoNormal"><span style=3D"fon=
t-size:11.0pt=3Bfont-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&qu=
ot=3B=3Bcolor:#1F497D=3B" lang=3D"EN-US">Regards=2C</span></p><p class=3D"e=
cxMsoNormal"><span style=3D"font-size:11.0pt=3Bfont-family:&quot=3BCalibri&=
quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F497D=3B" lang=3D"EN-US">Pau=
lo Gr=E1cio</span></p><p class=3D"ecxMsoNormal"><span style=3D"font-size:11=
.0pt=3Bfont-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bc=
olor:#1F497D=3B" lang=3D"EN-US">&nbsp=3B</span></p><div><div style=3D"borde=
r:none=3Bborder-top:solid #B5C4DF 1.0pt=3Bpadding:3.0pt 0cm 0cm 0cm=3B"><p =
class=3D"ecxMsoNormal"><b><span style=3D"font-size:10.0pt=3Bfont-family:&qu=
ot=3BTahoma&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B" lang=3D"EN-US">From:</=

</b><span style=3D"font-size:10.0pt=3Bfont-family:&quot=3BTahoma&quot=

=3B=2C&quot=3Bsans-serif&quot=3B=3B" lang=3D"EN-US"> Dhis2-users [mailto:dh=
is2-users-bounces+pgracio=3Dcriticalsoftware.com@lists.launchpad.net] <b>On=
Behalf Of </b>Paulo Gr=E1cio<br><b>Sent:</b> s=E1bado=2C 3 de Agosto de 20=
13 13:22<br><b>To:</b> 'helder yesid castrillon cobo'=3B dhis2-users@lists.=
launchpad.net<br><b>Subject:</b> Re: [Dhis2-users] WebAPI do not work.</spa=

</p></div></div><p class=3D"ecxMsoNormal">&nbsp=3B</p><p class=3D"ecxMsoN=

ormal"><span style=3D"font-size:11.0pt=3Bfont-family:&quot=3BCalibri&quot=
=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F497D=3B">Hi=2C</span></p><p cla=
ss=3D"ecxMsoNormal"><span style=3D"font-size:11.0pt=3Bfont-family:&quot=3BC=
alibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F497D=3B">&nbsp=3B</s=

</p><p class=3D"ecxMsoNormal"><span style=3D"font-size:11.0pt=3Bfont-fa=

mily:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F497D=
=3B" lang=3D"EN-US">Are you having any particular problem? Any error messag=
e?</span></p><p class=3D"ecxMsoNormal"><span style=3D"font-size:11.0pt=3Bfo=
nt-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F4=
97D=3B" lang=3D"EN-US">&nbsp=3B</span></p><p class=3D"ecxMsoNormal"><span s=
tyle=3D"font-size:11.0pt=3Bfont-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsa=
ns-serif&quot=3B=3Bcolor:#1F497D=3B" lang=3D"EN-US">Regards=2C</span></p><p=
class=3D"ecxMsoNormal"><span style=3D"font-size:11.0pt=3Bfont-family:&quot=
=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3Bcolor:#1F497D=3B" lang=3D=
"EN-US">Paulo Gr=E1cio</span></p><p class=3D"ecxMsoNormal"><span style=3D"f=
ont-size:11.0pt=3Bfont-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&=
quot=3B=3Bcolor:#1F497D=3B" lang=3D"EN-US">&nbsp=3B</span></p><div><div sty=
le=3D"border:none=3Bborder-top:solid #B5C4DF 1.0pt=3Bpadding:3.0pt 0cm 0cm =
0cm=3B"><p class=3D"ecxMsoNormal"><b><span style=3D"font-size:10.0pt=3Bfont=
-family:&quot=3BTahoma&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B" lang=3D"EN-=
US">From:</span></b><span style=3D"font-size:10.0pt=3Bfont-family:&quot=3BT=
ahoma&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B" lang=3D"EN-US"> Dhis2-users =
[<a href=3D"mailto:dhis2-users-bounces+pgracio=3Dcriticalsoftware.com@lists=
.launchpad.net">mailto:dhis2-users-bounces+pgracio=3Dcriticalsoftware.com@l=
ists.launchpad.net</a>] <b>On Behalf Of </b>helder yesid castrillon cobo<br=

<b>Sent:</b> sexta-feira=2C 2 de Agosto de 2013 16:42<br><b>To:</b> <a hre=

f=3D"mailto:dhis2-users@lists.launchpad.net">dhis2-users@lists.launchpad.ne=
t</a><br><b>Subject:</b> [Dhis2-users] WebAPI do not work.</span></p></div>=
</div><p class=3D"ecxMsoNormal">&nbsp=3B</p><div><p class=3D"ecxMsoNormal" =
style=3D""><span style=3D"font-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsan=
s-serif&quot=3B=3B">HI=2C<br>I am designing a web site to publish the indic=
ators that I have created in DHIS=2C for this purpose am using the Web Api.=
<br>I have tried with DHIS Plugins and jquery but these hasn't worked.<br>=
<br>I don't know what happend or that I should to do.<br><br></span><span s=
tyle=3D"font-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B=
" lang=3D"EN-US">attached two example who I created based in the demo "</sp=

<span style=3D"font-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&=

quot=3B=3B"><a href=3D"http://apps.dhis2.org/portal/" target=3D"_blank"><sp=
an lang=3D"EN-US">http://apps.dhis2.org/portal/</span></a></span><span styl=
e=3D"font-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B" l=
ang=3D"EN-US">"<br><br>Note:<br>I checked that the user would had access to=
WebAPI.<br>The web site will be&nbsp=3B </span><span style=3D"font-family:=
&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B"><a href=3D"http://=
salas.saludcauca.gov.co" target=3D"_blank"><span lang=3D"EN-US">http://sala=
s.saludcauca.gov.co</span></a></span><span style=3D"font-family:&quot=3BCal=
ibri&quot=3B=2C&quot=3Bsans-serif&quot=3B=3B" lang=3D"EN-US"><br><br>Thanks=
.</span></p></div></div></div> </div></body>
</html>=

--_9503c4a4-b59c-4eb5-89f9-d3e3dcce9008_--