Is it possible to add a link or attach a PDF in ODK?

Hi all,

We are designing a survey-database in ODK for an NGO and we wanted to be
able to add a link to an external webpage or attach a PDF at the end of the
survey. This link or the PDF would give some useful information to the
users of our questionnaire and would be related to what they answered in
the survey. Is that possible? I know that I could add a note (little text)
at the end of each of the branches of our survey, but we would like to
create nicer information documents for our users than just text (with
pictures and other editing, e.g. paragraphs, bullet points, tables,
possibly graphs). That's why we would like to be able to attach a PDF or
add a link to an external webpage. Is that possible? or is there any other
way to do nicer editing in ODK for our end-of-survey message to the users?

Thank you all so much for your help.

We don't have a widget for this, but it would be quite easy for a Java
developer to copy the ImageWidget into a 'FilePickerWidget' and modify the
Choose Image functionality to instead use the 3rd party 'OI File Manager'
as a file picker (picking and making a copy of the file in the ODK Collect
instance folder).

If someone contributes the code for this (under Apache 2 license), we can
add it to the main code tree.

Mitch

··· On Fri, May 31, 2013 at 8:43 AM, Victualia wrote:

Hi all,

We are designing a survey-database in ODK for an NGO and we wanted to be
able to add a link to an external webpage or attach a PDF at the end of the
survey. This link or the PDF would give some useful information to the
users of our questionnaire and would be related to what they answered in
the survey. Is that possible? I know that I could add a note (little text)
at the end of each of the branches of our survey, but we would like to
create nicer information documents for our users than just text (with
pictures and other editing, e.g. paragraphs, bullet points, tables,
possibly graphs). That's why we would like to be able to attach a PDF or
add a link to an external webpage. Is that possible? or is there any other
way to do nicer editing in ODK for our end-of-survey message to the users?

Thank you all so much for your help.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

And if you don't have Java programming experience, you can file a
request at http://code.google.com/p/opendatakit/issues/list or hire a
dev to build it at http://opendatakit.org/help/help-for-hire.

Another option is to make a readonly string prompt which uses an image
instead of the prompt text. Then you can put whatever you want in that
image -- maybe a screenshot of the document you want to show. Not
elegant, but it'd work if you need something quickly.

Hope this helps,

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom features, form design, implementation support, and user training for ODK.

On Mon, Jun 3, 2013 at 12:08 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

We don't have a widget for this, but it would be quite easy for a Java
developer to copy the ImageWidget into a 'FilePickerWidget' and modify the
Choose Image functionality to instead use the 3rd party 'OI File Manager' as
a file picker (picking and making a copy of the file in the ODK Collect
instance folder).

If someone contributes the code for this (under Apache 2 license), we can
add it to the main code tree.

Mitch

On Fri, May 31, 2013 at 8:43 AM, Victualia anja.bruschweiler@gmail.com wrote:

Hi all,

We are designing a survey-database in ODK for an NGO and we wanted to be
able to add a link to an external webpage or attach a PDF at the end of the
survey. This link or the PDF would give some useful information to the users
of our questionnaire and would be related to what they answered in the
survey. Is that possible? I know that I could add a note (little text) at
the end of each of the branches of our survey, but we would like to create
nicer information documents for our users than just text (with pictures and
other editing, e.g. paragraphs, bullet points, tables, possibly graphs).
That's why we would like to be able to attach a PDF or add a link to an
external webpage. Is that possible? or is there any other way to do nicer
editing in ODK for our end-of-survey message to the users?

Thank you all so much for your help.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thank you so much Mitch and Yaw for taking the time to answer.

Unfortunately I don't have any Java programming skills, but we will think
of your idea of hiring someone or I might try this string prompt thing if I
can figure out how to do that.

Thanks again!

··· On Monday, June 3, 2013 9:12:31 PM UTC+2, Yaw Anokwa wrote: > > And if you don't have Java programming experience, you can file a > request at http://code.google.com/p/opendatakit/issues/list or hire a > dev to build it at http://opendatakit.org/help/help-for-hire. > > Another option is to make a readonly string prompt which uses an image > instead of the prompt text. Then you can put whatever you want in that > image -- maybe a screenshot of the document you want to show. Not > elegant, but it'd work if you need something quickly. > > Hope this helps, > > Yaw > -- > Need ODK help? Go to http://nafundi.com for custom features, form > design, implementation support, and user training for ODK. > > On Mon, Jun 3, 2013 at 12:08 PM, Mitch Sundt <mitche...@gmail.com> wrote: > > We don't have a widget for this, but it would be quite easy for a Java > > developer to copy the ImageWidget into a 'FilePickerWidget' and modify > the > > Choose Image functionality to instead use the 3rd party 'OI File > Manager' as > > a file picker (picking and making a copy of the file in the ODK Collect > > instance folder). > > > > If someone contributes the code for this (under Apache 2 license), we > can > > add it to the main code tree. > > > > Mitch > > > > > > > > On Fri, May 31, 2013 at 8:43 AM, Victualia <anja.bru...@gmail.com> wrote: > >> > >> Hi all, > >> > >> We are designing a survey-database in ODK for an NGO and we wanted to > be > >> able to add a link to an external webpage or attach a PDF at the end of > the > >> survey. This link or the PDF would give some useful information to the > users > >> of our questionnaire and would be related to what they answered in the > >> survey. Is that possible? I know that I could add a note (little text) > at > >> the end of each of the branches of our survey, but we would like to > create > >> nicer information documents for our users than just text (with pictures > and > >> other editing, e.g. paragraphs, bullet points, tables, possibly > graphs). > >> That's why we would like to be able to attach a PDF or add a link to an > >> external webpage. Is that possible? or is there any other way to do > nicer > >> editing in ODK for our end-of-survey message to the users? > >> > >> Thank you all so much for your help. > >> > >> > >> -- > >> -- > >> Post: opend...@googlegroups.com > >> Unsubscribe: opendatakit...@googlegroups.com > >> Options: http://groups.google.com/group/opendatakit?hl=en > >> > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "ODK Community" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to opendatakit...@googlegroups.com . > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > > > > > -- > > Mitch Sundt > > Software Engineer > > University of Washington > > mitche...@gmail.com > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/groups/opt_out. > > > > >

Just a note to anyone looking for a workaround on attaching other file
types to a survey:

I used the standard image widget but selected a .kmz (GPS track) file
instead of a bmp or a jpg.
Collect and Aggregate propogated the file without any problem, although
(understandably) Collect showed a message stating that it was not an image
file.
I can then retrieve the url from Aggregate using the API, and download the
file directly. In my case I just had to rename it as it arrived as a .jpg
(not sure if this was Aggregate/Collect or some of my other code which made
the change to the extension)

I'm guessing this would work for other file-types too.

Definitely not guaranteed to work, but an interesting workaround for anyone
not able/wanting to touch the Java code.

Regards,
Andrew

··· On Friday, 7 June 2013 12:18:11 UTC+2, Victualia wrote: > > Thank you so much Mitch and Yaw for taking the time to answer. > > Unfortunately I don't have any Java programming skills, but we will think > of your idea of hiring someone or I might try this string prompt thing if I > can figure out how to do that. > > Thanks again! > > > > On Monday, June 3, 2013 9:12:31 PM UTC+2, Yaw Anokwa wrote: >> >> And if you don't have Java programming experience, you can file a >> request at http://code.google.com/p/opendatakit/issues/list or hire a >> dev to build it at http://opendatakit.org/help/help-for-hire. >> >> Another option is to make a readonly string prompt which uses an image >> instead of the prompt text. Then you can put whatever you want in that >> image -- maybe a screenshot of the document you want to show. Not >> elegant, but it'd work if you need something quickly. >> >> Hope this helps, >> >> Yaw >> -- >> Need ODK help? Go to http://nafundi.com for custom features, form >> design, implementation support, and user training for ODK. >> >> On Mon, Jun 3, 2013 at 12:08 PM, Mitch Sundt wrote: >> > We don't have a widget for this, but it would be quite easy for a Java >> > developer to copy the ImageWidget into a 'FilePickerWidget' and modify >> the >> > Choose Image functionality to instead use the 3rd party 'OI File >> Manager' as >> > a file picker (picking and making a copy of the file in the ODK Collect >> > instance folder). >> > >> > If someone contributes the code for this (under Apache 2 license), we >> can >> > add it to the main code tree. >> > >> > Mitch >> > >> > >> > >> > On Fri, May 31, 2013 at 8:43 AM, Victualia wrote: >> >> >> >> Hi all, >> >> >> >> We are designing a survey-database in ODK for an NGO and we wanted to >> be >> >> able to add a link to an external webpage or attach a PDF at the end >> of the >> >> survey. This link or the PDF would give some useful information to the >> users >> >> of our questionnaire and would be related to what they answered in the >> >> survey. Is that possible? I know that I could add a note (little text) >> at >> >> the end of each of the branches of our survey, but we would like to >> create >> >> nicer information documents for our users than just text (with >> pictures and >> >> other editing, e.g. paragraphs, bullet points, tables, possibly >> graphs). >> >> That's why we would like to be able to attach a PDF or add a link to >> an >> >> external webpage. Is that possible? or is there any other way to do >> nicer >> >> editing in ODK for our end-of-survey message to the users? >> >> >> >> Thank you all so much for your help. >> >> >> >> >> >> -- >> >> -- >> >> Post: opend...@googlegroups.com >> >> Unsubscribe: opendatakit...@googlegroups.com >> >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> >> >> --- >> >> You received this message because you are subscribed to the Google >> Groups >> >> "ODK Community" group. >> >> To unsubscribe from this group and stop receiving emails from it, send >> an >> >> email to opendatakit...@googlegroups.com. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> >> > >> > >> > >> > >> > -- >> > Mitch Sundt >> > Software Engineer >> > University of Washington >> > mitche...@gmail.com >> > >> > -- >> > -- >> > Post: opend...@googlegroups.com >> > Unsubscribe: opendatakit...@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> > >> > --- >> > You received this message because you are subscribed to the Google >> Groups >> > "ODK Community" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to opendatakit...@googlegroups.com. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >