Using Parameters in a URL link inside a textbox

I was trying to create a custom URL based on parameters inside a textbox object. The URL is clickable, but the values of the parameters on the analysis show as GUIDs and if I publish it, then click on the link it basically doesn’t load correctly.

if I use a parameter in the text box as part of the text it works correctly. And if I use the parameters in a URL in the title/subtitle of a visual they also work as expected.

Not sure if it is something I am doing, or if this is a functionality issue.

1 Like

Hello @shines-bt , welcome to the Quick Sight community!

How did you create your links? I did some testing on my end and I think the issue is that if you include the https:// in the parameter value Quick Sight doesn’t register it.

I was able to make the hyperlink option work using a shortened linked:
URL Links

Thank you for the reply
I was attempting to do something like https://<<${parameter1}>>/<<$parameter2>>/

Looking at your example, I think it identified was was happening with my implementation.

  1. when I looked at it in the analysis it was showing stuff as the GUID, which is a non issue, but was confusing me.
  2. the parameters are being URL encoded unfortunately. so if I try to add a link such as: “https://community.amazonquicksight.com/t/using-parameters-in-a-url-link-inside-a-textbox/43933”, with or with out the https all of the non alphanumeric characters or dots are being URL encoded. it ends up like: “https://community.amazonquicksight.com%2Ft%2Fusing-parameters-in-a-url-link-inside-a-textbox%2F43933
1 Like

Hello @shines-bt

I will mark this as feature request for the Quick Sight team.

I would recommend using your parameters in a calculated field where you concatenate the url together, then add that to a table where you format down to one field. Then using Field Styling, turn it into a hyperlink.