[Dhis2-devs] WebAPI TrackedEntityInstance Attribute filter combine

2017-03-27 Thread James Chang
Hi, In WebAPI, filter can be combined with 'AND' condition. */api/26/dataElements?filter=id:eq:ID1=id:eq:ID2* However, in TrackedEntityInstance attribute value filtering, it does not support this (2 filter condition combining).

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-16 Thread James Chang
rther. > > Regards > > Stanley > > On Thu, Mar 16, 2017 at 2:08 PM, James Chang <jamesbch...@gmail.com> > wrote: > >> Hi, Stanley. >> >> Yes, the Tabuar Tracker Capture app does not list all the >> TrackedEntityInstances (I will call it TEI in this email

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-16 Thread James Chang
anybody tested it with 2.26 and/or 2.27 (trunk)? >> >> Regards >> Calle >> >> On 15 March 2017 at 12:06, Stanley Kalyati <skaly...@gmail.com> wrote: >> >>> Dear James, >>> >>> Thank you so much,everything is working super gr

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-15 Thread James Chang
<skaly...@gmail.com> wrote: > This has totally worked.Thanks James. > > Already enjoying its fruits. > > However is it also possible to enter program stages using this app? > > Regards > > Stanley > > On Wed, Mar 15, 2017 at 10:59 AM, James Chang <jamesb

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-15 Thread James Chang
Hi, Stanley. Below google drive link has the latest versions of 'Tabular Tracker Capture' app. https://drive.google.com/drive/folders/0BzSa-chDHqxsdnNjTTBmbEhNOFE Download it and rename it as 'TabularDataEntry' by removing the version part before uploading the app to DHIS. I would suggest to

Re: [Dhis2-devs] Javascript cross domain access to DHIS2

2017-02-07 Thread James Chang
s / access), add your webpage URL/domain > to this list > 2. ensure you are querying DHIS2 on the same HTTP or HTTPS protocol as > your webpage (avoid using different protocols at all costs) > > Regards, > Greg > > > On Thu, Feb 2, 2017 at 3:42 PM, James Chang <jamesbc

[Dhis2-devs] Javascript cross domain access to DHIS2

2017-02-02 Thread James Chang
Hi, We are trying to create a webpage that connects to our DHIS2 site in behalf of user (using javascript), and redirect to that DHIS2 site afterwards. Thus, it will eliminate the user having to go through the login page since it is already done the login process and in session. But, DHIS2 does

Re: [Dhis2-devs] DHIS 2.22 Web API 'userSettings' issue

2016-07-05 Thread James Chang
y other way to achieve this in DHIS 2.22 as >> you rightly said that 'userDataStore' is only available in later >> versions. >> >> Regards >> Adheesh >> >> >> On Fri, Jul 1, 2016 at 7:12 PM, James Chang <jamesbch...@gmail.com> >> wrote

Re: [Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-12-01 Thread James Chang
e directly, may > be more efficient, or in certain cases, the only way, but you are then > obviously limited to running the script on a machine that actually has > access to the DHIS2 database directly (which of course, does not need to be > the same machine as is running the applicatio

Re: [Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-11-29 Thread James Chang
Dane <pie...@jembi.org> wrote: > so I suggest using cron with curl to call the sqlview > > On Sunday, 29 November 2015, James Chang <jamesbch...@gmail.com> wrote: > >> Hi, >> >> In DHIS Server, we are trying to create a scheduled task that checks >> even

Re: [Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-11-29 Thread James Chang
, but It would seem not to be really > what you want to do, if you do not want to use PgAgent, which could do the > same thing. > > Regards, > Jason > > > > On Sun, Nov 29, 2015 at 8:59 AM, Pierre Dane <pie...@jembi.org> wrote: > >> so I suggest using

[Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-11-28 Thread James Chang
Hi, In DHIS Server, we are trying to create a scheduled task that checks events and update some data in events. We like to avoid using database scheduler (like pgadmin III PgAgent) That leaves us (We think) with: - cron job with shell script using database sql comments (in file) - cron job

[Dhis2-devs] 'Event Capture' javascript events

2015-03-30 Thread James Chang
Hi, We are trying out with customization of the 'custom event data entry form' for 'Single Event Without Registration'. For our use, we need Javascript events calls like below ones that exists in Aggregated side data entry form for dataSet. - dhis2.de.event.formReady -

[Dhis2-devs] Data entry form longtext with new line

2014-06-05 Thread James Chang
The data entry form does not seem to handle 'new line' character. If the 'new line' character ('Enter' key) is entered, it failed to load the saved data. This is because of JSON not able to handle 'new line' character. However, with Data elements Text type as 'long text', we have 'textarea'

Re: [Dhis2-devs] help on user testing - new menu solution

2013-12-02 Thread James Chang
I would personally prefer having one more step before opening the popup(context) menu. Like on 'row mouse over' or on 'row click', a menu icon/menu title box could appear next to the row title. Upon clicking that icon, the same menu popup appears. Clicking anywhere else (other than the menu

[Dhis2-devs] [Bug 1256214] [NEW] Report Table parameter Org Unit

2013-11-28 Thread James Chang
Public bug reported: For 'Report Table' with org unit parameter, 'Report Table' is displaying the original org unit, which was selected when creating favorite from pivot table, in addition to the parameter selected org unit. So, when we select an org unit for the report table parameter, it

[Dhis2-devs] [Bug 1255418] [NEW] Populating analytics tables failing

2013-11-26 Thread James Chang
Public bug reported: Hi, I noticed that ‘populating anaytics tables’ are failing. We are using Version 2.13 Build revision 12878. I think same thing is happening on DHIS Dev and Demo. ** Affects: dhis2 Importance: Undecided Status: New ** Attachment added: Analytics Fail.jpg

Re: [Dhis2-devs] DHIS Apps Upload

2013-09-04 Thread James Chang
Thanks, Lars. It works now. On Mon, Sep 2, 2013 at 2:34 AM, Lars Helge Øverland larshe...@gmail.comwrote: Hi James, you are right. This was fixed last Friday. Please update to latest build and see if it works for you. regards, Lars On Wed, Aug 28, 2013 at 8:09 PM, James Chang

Re: [Dhis2-devs] Single Event Without Registration Update

2013-08-28 Thread James Chang
to application/json ? -- Morten On Wed, Aug 28, 2013 at 7:17 AM, James Chang jamesbch...@gmail.comwrote: Hi, For updating data for Single Event Without Registration (doc section 25.7), I am getting errors. By any chance, has this been fixed in newer version? I am using Version: 2.13-SNAPSHOT

Re: [Dhis2-devs] Single Event Without Registration Update

2013-08-28 Thread James Chang
28, 2013 at 8:54 AM, James Chang jamesbch...@gmail.comwrote: Yes, the Content-Type header was set to application/json. I was able to add the event data(Using the same setting except 'events/--'), but update one is failing. On Wed, Aug 28, 2013 at 3:45 PM, Morten Olav Hansen morte

[Dhis2-devs] DHIS Apps Upload

2013-08-28 Thread James Chang
Hi, The DHIS Apps upload does not seem to be working on latest 2.13 build versions. Normally, configuring the 'Settings' of Apps section correctly fixes the uploading/running the programs in Apps. However, after some version of 2.12 build, it started to not work, I think. For now, we are

[Dhis2-devs] Single Event Without Registration

2013-08-08 Thread James Chang
Hi. Now that DHIS 2.12 has Web API that we can insert(submit) 'Single Event Without Registration' data, I am trying to build DHIS Apps for it. I am planning on creating a dynamic HTML table using jQuery for a selected ProgramStage (Single Event Without Registration). The columns (data elements)

Re: [Dhis2-devs] Single Event Without Registration

2013-08-08 Thread James Chang
/importSummaryList /importSummaries On Thu, Aug 8, 2013 at 11:14 AM, James Chang jamesbch...@gmail.comwrote: Hi. Now that DHIS 2.12 has Web API that we can insert(submit) 'Single Event Without Registration' data, I am trying to build DHIS Apps for it. I am planning on creating

Re: [Dhis2-devs] PDF upload functionality

2013-06-27 Thread James Chang
Hi, Jason. I am trying to figure out this issue. I have downloaded Adobe Reader 11.0 which is the current version available for download. With the default setting, I was able to fill out the PDF form in the Adobe Reader. Could you download Adobe reader version 11.0

Re: [Dhis2-devs] [Dhis2-users] Adding New Top Level Organization Units

2013-03-03 Thread James Chang
, March 03, 2013 10:25 PM To: James Chang Cc: DHIS Users ; dhis2-devs@lists.launchpad.net Subject: Re: [Dhis2-users] Adding New Top Level Organization Units Hi, I'm not actually sure whether or not that will work, or if some functionality depend on having a single root - copying the developer

Re: [Dhis2-devs] Maven build error on DataMart

2012-10-28 Thread James Chang
, James Chang jamesbch...@gmail.com wrote: Hi, I am trying to get the Dhis2 development environment setup, but having problem making a successful project build using Maven. Could someone give me some help on this? I am not suppose to do this on Windows 7 64bit? I am using Windows 7 OS

[Dhis2-devs] Maven build error on DataMart

2012-10-27 Thread James Chang
Hi, I am trying to get the Dhis2 development environment setup, but having problem making a successful project build using Maven. Could someone give me some help on this? I am not suppose to do this on Windows 7 64bit? I am using Windows 7 OS 64bit, Bazaar 2.5.1-1, JDK 1.7.0_09,