Hi Mamadou, I agree with Michael that the most flexible way is to use the web API and create a JSON structure (e.g. with MS Excel), in particular https://docs.dhis2.org/master/en/developer/html/webapi_metadata_crud.html#webapi_adding_removing_objects_collections
However, if you find this too cumbersome, you could do something like this: 1) Give your dataelements a unique PREFIX to enable you to filter them out 2) Import them as CSV 3) Create a group for them 4) Go to the group editor, filter and select: https://play.dhis2.org/2.28/dhis-web-maintenance/#/group-editor 5) Create your dataset and filter by the group The problem with this method is the PREFIX which you may not want to keep.. Knut On Sun, Jan 28, 2018 at 1:45 AM, Michael Mwebaze <michael.mweb...@gmail.com> wrote: > Hi Diao, > > Are you able to use the web api? The section in the developer's manual > 'Metadata create, read, update, delete, validate' should be helpful. > > Regards, > > Michael > > On 27 January 2018 at 15:30, Mamadou Diao Diallo <diao_dia...@gn.jsi.com> > wrote: > >> Hi dhis2 devs, >> I have to assign many data elements to a data set, so I would like to >> automatically do it. >> >> Is there any possibility to do it, like a csv importation? >> >> Thank you in advance. >> >> Best >> >> Diao >> >> -- >> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District >> Health Information Software )* >> >> >> *Projet de Renforcement du Système d'Information Sanitaire en Guinée* >> *Phone : 623909413 | 662256106* >> *Skype : diawwdiallo* >> www.jsi.com >> >> _______________________________________________ >> 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 > > -- Knut Staring Department of Information, Evidence and Research World Health Organization, Geneva, Switzerland Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522 Skype: knutstar
_______________________________________________ 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