Survey123 report template - hyperlink from data field

382
5
09-07-2021 09:20 AM
Michael_Knapp
New Contributor III

Hi there - 

We're using Survey123 to build a custom report. Some of the values that we're trying to embed into the report template are hyperlinks. But in the output report, the urls are not hyperlinked. Is there a way in the report template to make the data value a hyperlink? 

We would have thought that simply doing the standard "right-clicking --> Insert hyperlink" in Word would work, but the "address" box doesn't recognize the variable in the template. 

Can provide more info if needed. 

Thanks!

0 Kudos
5 Replies
AlfredBaldenweck
Occasional Contributor III

Maybe try using HTML for it?

<a href="www.google.com" target=_top" Google</a>

If that doesn't work, you can create a series of helper questions to create the hyperlink  by concatenating the various parts of that format with your link and its label.

 

0 Kudos
Michael_Knapp
New Contributor III

Thanks Alfred..... unfortunately neither works....looks like when the template is processed by Survey123 when uploaded, it strips the ability to hyperlink. The url will print, but it's not hyperlinked. 

0 Kudos
ZhifangWang
Esri Regular Contributor

Hi @Michael_Knapp ,

If you want to utilize the survey data for the text or URL of a hyperlink, it is currently not available in the Survey123 report.

 

We have a backlog issue for this and I've added your voice to it, but there is not a solid plan yet. Please feel free to raise a ticket to Esri Support Service to prioritize this work.

 

 

Thanks,

Zhifang

Michael_Knapp
New Contributor III

One quick follow up with a weird work around. Someone else at esri told us that, when you create the report as a pdf, the pdf writer will generate hyperlinks IF YOU DO THE FOLLOWING:

1) The hyperlink must  be contained in a single unbroken (not multiple rows) line

2) Format the text for the hyperlink field in Word's blue hyperlink color

3) Underline the hyperlink text

Strange, but it works

AlfredBaldenweck
Occasional Contributor III

Oh, how weird.

Does it matter what color blue?

0 Kudos