dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #45218
Re: Read fileResource data directly
Yes, display in a chart as a preview. Part of the data(selected rows) will
be then saved as an attribute in a custom object. Custom object will then
be persisted to the system. So there is no need of retrieving data from
this fileSource later.
On Thu, Jun 2, 2016 at 12:29 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
> Sure, but what is it you want to do with this after retrieving? Display it
> somehow?
>
> Knut
>
> On Thu, Jun 2, 2016 at 11:11 AM, chathura widanage <
> chathurawidanage@xxxxxxxxx> wrote:
>
>> Thanks for the response, what I meant by read is, retrieve the content of
>> the file. Comma separated values as a String in my case.
>>
>> Chathura
>>
>> On Thu, Jun 2, 2016 at 12:08 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> The answer is probably no, although I am not sure what you mean by
>>> "read"?
>>>
>>> Knut
>>>
>>> On Thu, Jun 2, 2016 at 10:53 AM, chathura widanage <
>>> chathurawidanage@xxxxxxxxx> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> Is there a way to read the content of a fileResource without linking
>>>> the resource to a dataValue.
>>>>
>>>> example scenario :
>>>>
>>>> Upload a CSV which contains some arbitrary data and read it
>>>> immediately. I won't need these data after the first read.
>>>>
>>>> Regards,
>>>> Chathura
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>>
>> --
>> Best Regards,
>>
>> *Chathura Widanage,*
>> Undergraduate,
>> Department of Computer Science and Engineering,
>> University of Moratuwa,
>> Sri Lanka
>>
>> <https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile>
>> <http://facebook.com/chathura.widanage>
>> <https://plus.google.com/u/0/109418781686423002025>
>> <https://github.com/chathurawidanage>
>>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
--
Best Regards,
*Chathura Widanage,*
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa,
Sri Lanka
<https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile>
<http://facebook.com/chathura.widanage>
<https://plus.google.com/u/0/109418781686423002025>
<https://github.com/chathurawidanage>
Follow ups
References