Re: [Dhis2-users] Get Date Values

2018-08-16 Thread Vladimer Shioshvili
Walusiku, Periodtype table contains the list of period types (weekly, daily, monthly, quarterly, etc). Period table has the actual period definitions: period type, start date, and end date (e.g. quarterly type, start date january 1, 2018, end date March 31, 2018). period id in the data value

Re: [Dhis2-users] DHIS2 2.30 - Metadata import App - File format feature

2018-08-06 Thread Vladimer Shioshvili
I think it's more than that - I was looking at the new metadata import app as well, and it has bigger issues. It accepts json and xml, won't accept zip (returns 415), but when you click on import it immediately logs you out and there is no way to see if anything actually happened - logger console

Re: [Dhis2-users] dataset not visible on data entry window

2018-07-12 Thread Vladimer Shioshvili
Shams, Have you assigned org units to the data set? https://docs.dhis2.org/2.28/en/user/html/manage_data_set.html Vlad On Thu, Jul 12, 2018 at 4:48 AM Shams-ur-Rehman wrote: > Dear support team, > > > > We are using dhs2 2.29 version. After creating an organization unit, > opened four level

Re: [Dhis2-users] [Dhis2-devs] How to upload data values for data elements generated in custom forms

2018-07-09 Thread Vladimer Shioshvili
Leke, Have a look at the documentation, it gives the example of the csv import file format: https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_data_values_csv You need to specify data element and category option combo in separate columns. Vlad On Mon, Jul 9,

Re: [Dhis2-users] [Dhis2-devs] Uploading CSV data file with curl

2018-07-04 Thread Vladimer Shioshvili
r/html/webapi_csv_metadata_import.html > > Knut > > On Wed, Jul 4, 2018 at 2:31 PM Vladimer Shioshvili > wrote: > >> Leke, >> >> While it's good to use --data-binary, in your curl calls in both >> examples, you are missing -H switch in front of the content type (look at >&

Re: [Dhis2-users] [Dhis2-devs] Uploading CSV data file with curl

2018-07-04 Thread Vladimer Shioshvili
Leke, While it's good to use --data-binary, in your curl calls in both examples, you are missing -H switch in front of the content type (look at the example Knut provided), which makes it default to application/x-www-form-urlencoded. Make sure you include -H; Knut (and others), Leke's original

Re: [Dhis2-users] Data Import

2017-10-05 Thread Vladimer Shioshvili
lim...@manhica.net> wrote: > Hi Vlad, > > Thanks, yes im getting the error for all data elements, which permission > exactly should i check? i'm logged as a superuser and im still getting the > same errors > > On Tue, Oct 3, 2017 at 9:04 PM, Vladimer Shioshvili <v

Re: [Dhis2-users] Data Import

2017-10-03 Thread Vladimer Shioshvili
Felimone, Are you getting it for all data elements, or just the header? Because, it is expected for the header. Otherwise, make sure you are using data element schema correctly - default is UID, if you are using code or name, make sure to select it. Next thing would be to look at permissions.

[Dhis2-users] Users app - invitation action

2017-08-22 Thread Vladimer Shioshvili
Was action dropdown (with option to select "email invitation to create account") removed from the add new user screen? It's listed in User manual, but when moving from 2.24 to 2.27, i no longer have it. [image: image.png] Thanks, Vlad ___ Mailing list:

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Vladimer Shioshvili
Jason is right, my suggestion does not work in later versions. Akash's gives you what I was trying to get: https://play.dhis2.org/dev/api/dataElements?filter=dataSetElements.dataSet.id:eq:lyLU2wR22tC=id,name,description=false On Thu, Aug 17, 2017 at 8:45 AM Akash Jindal

Re: [Dhis2-users] API call to list all data elements within a dataset

2017-08-17 Thread Vladimer Shioshvili
This should get you started: api/dataElements?filter=dataSets.id:eq:DATASET_UID On Thu, Aug 17, 2017 at 8:26 AM Shurajit Dutta wrote: > Hi everyone, > > Can someone share with me the API call to list all data elements within a > dataset, perhaps the uid and name?

Re: [Dhis2-users] couple questions about dataValueSets API

2016-12-15 Thread Vladimer Shioshvili
Thanks for confirming. On Thu, Dec 15, 2016 at 2:07 PM Bob Jolliffe <bobjolli...@gmail.com> wrote: > Hi Vlad > > No it doesn't currently work with adx files. > > > On 15 December 2016 at 18:52, Vladimer Shioshvili <vshioshv...@gmail.com> > wrote: > >

Re: [Dhis2-users] couple questions about dataValueSets API

2016-12-15 Thread Vladimer Shioshvili
Type: application/json" -X POST " > http://localhost/api/dataValueSets; -u user:password -v > > but I guess I am missing something... > > Regards! > > On 6 December 2016 at 13:39, Vladimer Shioshvili <vshioshv...@gmail.com> > wrote: > > Thanks Lars. It was

Re: [Dhis2-users] couple questions about dataValueSets API

2016-12-06 Thread Vladimer Shioshvili
Helge Ă˜verland <l...@dhis2.org> wrote: > Hi Vlad, > > > > On Tue, Dec 6, 2016 at 12:04 PM, Vladimer Shioshvili < > vshioshv...@gmail.com> wrote: > > 1) just to confirm, web api only accets uncompressed file, right? and it's > the import/export app that is

[Dhis2-users] couple questions about dataValueSets API

2016-12-06 Thread Vladimer Shioshvili
1) just to confirm, web api only accets uncompressed file, right? and it's the import/export app that is capable of handling zip file? 2) does DELETE import strategy work for dataValueSets? I have not been able to get it to work. I am running on 2.24, if it makes a difference. Thanks, Vlad