Using a File as custom attributes for Organisation Units

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”:

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):

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

Call me on Skype : vanakenm

Hang out with me : martin@joyouscoding.com

Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken

Company website : www.joyouscoding.com