Hi Martin,

this is a sensible requirement. I have written a blueprint for it here:

https://blueprints.launchpad.net/dhis2/+spec/metadata-file-storage

Will try to get it in during the fall.

regards,

Lars


On Thu, Aug 4, 2016 at 12:19 PM, Halvdan Hoem Grelland <halv...@dhis2.org>
wrote:

> Hi, and thanks for reporting!
>
> Attributes of type File are unfortunately not supported. That they're
> available in the UI is a mishap (which will be fixed promptly).
>
> On Thu, Aug 4, 2016 at 12:12 PM, Martin Van Aken <mar...@joyouscoding.com>
> wrote:
>
>> Hello,
>> I try to add a new fields for the Organization Units to store a picture
>> of them.
>>
>> I've created an Attribute attached to the Org Unit, with a value type of
>> "File":
>>
>>
>> [image: Inline image 1]
>> I can see it on the Org Unit edit screen, but as a simple text field
>> (instead of the upload file that I expected):
>>
>> [image: Inline image 2]
>>
>> Is it possible to attach a File (picutre or other) to an Org Unit through
>> an attribute? Am I missing something here?
>>
>> (BTW, this is visible right now on the demo instance:
>> https://play.dhis2.org/demo/dhis-web-maintenance/#/edit/
>> organisationUnitSection/organisationUnit/YuQRtpLP10I?_k=kibz3r and
>> https://play.dhis2.org/demo/dhis-web-maintenance/#/edit/
>> otherSection/attribute/EBoenrW7m9F?_k=vybsfb)
>>
>> Thanks,
>>
>> Martin
>> --
>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>
>> Mobile : +32 486 899 652
>>
>> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
>> Call me on Skype : vanakenm
>> Hang out with me : mar...@joyouscoding.com
>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>> Company website : www.joyouscoding.com
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Halvdan Hoem Grelland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to