← Back to team overview

dhis2-users team mailing list archive

Re: Using a File as custom attributes for Organisation Units

 

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 <martin@xxxxxxxxxxxxxxxx>
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 : martin@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
> 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/>

PNG image

PNG image


Follow ups

References