How to manually customize xml file for metadata import on DHIS2 v.2.23

HI Everybody,

I want to import metadata from instance A to B. A has some dataelement, categorycombo, option and dataset that I want to import to the B. I tried to import some of them using csv model, some worked but other didn’t work and I’m getting error message during import process.

I want to customize a xml import model to put metadate that I want ot import.

How can I do that?

Thanks.

Did you try the metadata export and import?

https://play.dhis2.org/demo/dhis-web-importexport/index.action

···

On Fri, May 26, 2017 at 1:39 PM, vunda limbe vundalon@gmail.com wrote:

HI Everybody,

I want to import metadata from instance A to B. A has some dataelement, categorycombo, option and dataset that I want to import to the B. I tried to import some of them using csv model, some worked but other didn’t work and I’m getting error message during import process.

I want to customize a xml import model to put metadate that I want ot import.

How can I do that?

Thanks.


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Knut,

Think you for your answer. I also tried. the problem is that I received a customized metadata export from A instance that run DHIS2 v.2.25 and mine run 2.23 and when I import using metadata import, I receive error message and some category combos and option are missing. I checked in the documentation, I saw the way to import with csv, but not a detail way on wich default tag have to be in the xml file in order to make possible the import.

is it a document or a comment that shows how to do?

thanks.

···

On Fri, May 26, 2017 at 12:48 PM, Knut Staring knutst@gmail.com wrote:

Did you try the metadata export and import?

https://play.dhis2.org/demo/dhis-web-importexport/index.action

On Fri, May 26, 2017 at 1:39 PM, vunda limbe vundalon@gmail.com wrote:

HI Everybody,

I want to import metadata from instance A to B. A has some dataelement, categorycombo, option and dataset that I want to import to the B. I tried to import some of them using csv model, some worked but other didn’t work and I’m getting error message during import process.

I want to customize a xml import model to put metadate that I want ot import.

How can I do that?

Thanks.


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

I see, then you should upgrade to 2.24, and to 2.25.

For 2.25, there is an SQL script that should be run:
https://www.dhis2.org/225-upgrade

Knut

···

On Fri, May 26, 2017 at 2:06 PM, vunda limbe vundalon@gmail.com wrote:

Hi Knut,

Think you for your answer. I also tried. the problem is that I received a customized metadata export from A instance that run DHIS2 v.2.25 and mine run 2.23 and when I import using metadata import, I receive error message and some category combos and option are missing. I checked in the documentation, I saw the way to import with csv, but not a detail way on wich default tag have to be in the xml file in order to make possible the import.

is it a document or a comment that shows how to do?

thanks.

On Fri, May 26, 2017 at 12:48 PM, Knut Staring knutst@gmail.com wrote:

Did you try the metadata export and import?

https://play.dhis2.org/demo/dhis-web-importexport/index.action

On Fri, May 26, 2017 at 1:39 PM, vunda limbe vundalon@gmail.com wrote:

HI Everybody,

I want to import metadata from instance A to B. A has some dataelement, categorycombo, option and dataset that I want to import to the B. I tried to import some of them using csv model, some worked but other didn’t work and I’m getting error message during import process.

I want to customize a xml import model to put metadate that I want ot import.

How can I do that?

Thanks.


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org