dhis2-users team mailing list archive
Mailing list archive
Re: File Uploads Tracked Entity Attributes
Hey there Ranvir!
Are you trying to retrieve the file from the API/directly from the backend? Or does the user log in, open the tracker and try downloading the file from within the tracker app?
P.S. we are moving these topics to the community.dhis2.org <http://community.dhis2.org/> - a great tool for collaborating, discussing in threads and building a searchable knowledge base at the same time.
> 14. nov. 2018 kl. 08:29 skrev Ranvir Maharaj <ranvir@xxxxxxxxxxx>:
> Hey all,
> DHIS information:
> Version: 2.27
> Build revision: e33b34d
> Build date: 2018-04-17 06:50
> I have added a tracked entity attribute with a value type of FILE. Once I have uploaded the file to "/api/fileResources" I get back the usual response and grab the id of the newly created file and assign it to the tracked entity attribute and it saves correctly.
> The issue I am struggling with is retrieving the file once it has been uploaded. If anyone could assist that would be great!
> 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