Question

iframe embed filter value starting with # not working

  • 14 December 2021
  • 1 reply
  • 25 views

We are constructing embed urls for our iframe along with all the filter values. All the filters work fine except when the filter value starts with a hash (#). We have instances where certain filter values start with # (ex: #firstName). Looker is not picking up and not populating the filters with this value. Rest of the filter values without the hash works fine. Any ideas on how this can be resolved? 


This topic has been closed for comments

1 reply

Userlevel 2

Hi Rajiv,

 

It looks like the URL generator is not displaying special characters.

Please include this safe step in your code:

Looker URL_Encode

 

Example in a dimension:

 

 

Hope it helps!

Best regards,

Leo