dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #06175
Re: Import org. unit CSV
Hi
Can you verify in the database that the parent is set? I'm not 100% how the
CSV importer works (I'm responsible for XML/JSON), but for our "normal"
importer.. this should work fine.
--
Morten
On Fri, Jan 23, 2015 at 4:31 PM, Yoann Mira <ym@xxxxxxxxxx> wrote:
> Hi all,
>
>
>
> I tried to upload org. units to DHIS2 from a CSV file. You can find
> attached the CSV used.
>
> I have to respect a hierarchy in the org. units to upload so I had to set
> the UID, in order to use them in the PARENT_UID of the children. The UID
> needed were generated using the Web API:
> http://<server-url>/api/system/id?n=x
>
>
>
> It say all the org. Units were correctly imported. I can see my new org.
> units in the database, I can also see them through the web API:
>
>
>
> But in the UI I can’t see them in my org. unit tree. The weird thing is
> that if I do a search on org unit and search for one of my new org. unit, I
> get it as a result. It’s just not in my tree…
>
>
>
> Any idea why?
>
>
>
> FYI, I cleared the cache of my browser, I used the new app from DHIS 2.18
> that clears the cache, I restarted Tomcat,… nothing worked.
>
> *Novel-**T* Sàrl
>
> *Yoann MIRA **- *Solutions Engineer
>
> W: www.novel-t.ch | @: ym@xxxxxxxxxx
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References