How do I pass filter values with special characters (i.e. &) into liquid url?

Knowledge Drop

Last tested: Jan 21, 2019
 

Add url_encode to your liquid variable (whether that's {{ value }} or {{ _filters }} ) like this:

"https://myinstance.looker.com/dashboards/38?Category={{ _filters['view2.category'] | url_encode }}"

This content is subject to limited support.                

Version history
Last update:
‎04-05-2021 03:32 PM
Updated by: