dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #10535
Re: Use of dataStore
Hi all,
Is there any documentation about specifying a namespace in the manifest
file? I've tried searching the DHIS2 developer manual and the W3C manifest
documentation but can't find anything.
Cheers,
-doh
On Mon, Jun 20, 2016 at 1:46 PM, Michael Mwebaze <michael.mwebaze@xxxxxxxxx>
wrote:
> Thanks Stian,
>
> I finally figured it out.
>
> On 20 June 2016 at 02:01, Stian Sandvold <stian@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> defining namespaces in the manifest file only restricts access to the
>> namespace, it does not create it.
>>
>> The namespace will appear as soon as you add some data to it. The way the
>> dataStore is designed, a namespace only exists when one or more keys are
>> present in it.
>>
>>
>> Hope this help, and let me know if you need any more help with the
>> dataStore.
>>
>>
>>
>> On 20 June 2016 at 06:47, Michael Mwebaze <michael.mwebaze@xxxxxxxxx>
>> wrote:
>>
>>> Hi All,
>>>
>>> I am trying to make use of the dataStore resource for my custom app but
>>> can't seem to add namespace to it. In the manifest file, I have set
>>> activities.dhis.namespace property and in the tomcat logs I do see that the
>>> namespace and its value is being read. However
>>> http://localhost:8181/dhis/api/dataStore is still empty i.e [ ]. Has
>>> anyone come across this issue? I am using DHIS 2.22 build 22027.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>> _______________________________________________
>>> 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
>>> 3
>>
>>
>>> ——
>> Stian Sandvold
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>>
>>
>>
>>
>
> _______________________________________________
> 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