[Dhis2-devs] Problem creating a data export in 2.30

2018-10-10 Thread Elmarie Claasen
Hi all, We having a problem in creating a data export in 2.30 instance on local instance. The file generated is empty. There is no error in the browser console or in the log file in fact no entry in the log file at the time when the export is generated. The version used Version: 2.30 Build

[Dhis2-devs] Generating sequential numbers in program rule

2018-10-10 Thread Terence Scott
Dear All I am creating a program rule to develop a UID for the patient. I have currently created a program rule using d2:concatenate to bring various attributes and DEs together into the Unique ID (such as date and OrgUnit code). However, I would also like to include sequential numbering after thi

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-10-10 Thread Zubair Asghar Raja
Hi Terence, Should be possible using CALCULATED_VALUE. Program rule variable having source type as CALCULATED_VALUE will get its value assigned by some other program rule. Try these steps 1. create program rule variable of source type CALCULATED_VALUE // Let say "auto-increment" 2. create program r

Re: [Dhis2-devs] [Dhis2-users] Generating sequential numbers in program rule

2018-10-10 Thread Shurajit Dutta
Hi Terence Please have a look at textpattern to generate UID's: https://docs.dhis2.org/2.29/en/user/html/working-with-textpattern.html This is available as of 2.29 and believe it should be able to generate what you need. Nick On Wed, Oct 10, 2018 at 4:55 PM Terence Scott < terence.sc...@rabies

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-10-10 Thread Terence Scott
Dear Zubair Thank you for your rapid response. I have attempted to do this without success. I think I am misunderstanding. 1) I created the program variable "auto-increment' as suggested 2) In this step - is this a new program rule? I created a program rule as follows: "d2:hasValue #UID", Assign

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-10-10 Thread Terence Scott
Hi Zubair Unfortunately, I am running 2.28 at the moment and therefore cannot do what Nick suggested. I will have to look into upgrading in any case, so I think that may be the best option for now. Thank you again for both of your help - I really appreciate it! Kind regards, Terence Terence Sc

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-10-10 Thread Zubair Asghar Raja
Hi Terence, There could be many reasons for that. Have you tried implementing what Nick suggested? The only limitation is that the TextPattern option is only available for TEAttribute and not to DataElement. Zubair Asghar DHIS-2 Developer University of Oslo zub...@dhis2.org https://www.dhis2.org

Re: [Dhis2-devs] [Dhis2-users] un-complete a data set by Web API

2018-10-10 Thread Nibras Rakib
Dear Carlos, All you have to do is send a delete request where endpoint will be completeDataSetRegistrations. As I am using DHIS2 version 2.29, my endpoint is "/ dhis/api/29/completeDataSetRegistrations?ds=datasetid&pe=201801&ou=orgunitid ". Here is the documentation - https://docs.dhis2.org/mast

[Dhis2-devs] Create New User error: An exception occurred

2018-10-10 Thread DHIS2 Support
Dear all, When I attempt to create a new user, I receive the error: An exception occurred Sorry! The system failed to execute the operation. Usually, no data is lost and you can continue working by going back to the previous page. The log contains this: p.org.springframework.dao.DataIntegrityVi

[Dhis2-devs] Edit Numerator/Edit Denominator of Indicators error

2018-10-10 Thread DHIS2 Support
Dear all, When I attempt to edit numerator or denominator of indicators, data elements fail to load and I get the following error: java.lang.ArrayIndexOutOfBoundsException in the log Kindly assist. thanks Dr David. ___ Mailing list: https://launchpad.n

Re: [Dhis2-devs] Documentation links are down from dhis2.org

2018-10-10 Thread Em Le Hong
Hi all, Looks like all links from https://www.dhis2.org/documentation are down now. The link https://docs.dhis2.org/ is down also. Regards, On Tue, Oct 9, 2018 at 9:28 PM Sergio Valenzuela wrote: > Hi Jason! > > These are the ones which are not working (at least for me): > [image: image.png] >

Re: [Dhis2-devs] Documentation links are down from dhis2.org

2018-10-10 Thread Em Le Hong
We can checkout and build the docs from Github. https://github.com/dhis2/dhis2-docs On Thu, Oct 11, 2018 at 10:44 AM Em Le Hong wrote: > Hi all, > > Looks like all links from https://www.dhis2.org/documentation are down > now. > The link https://docs.dhis2.org/ is down also. > > Regards, > > On