Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Space is not allowed in URL parameters for page variant

matho285
Tera Contributor

Hello,
I am trying to create new page variant in UI Builder with required parameter 'product' and set condition for that variant to display when product is 'Cafe Crema'. As per documentation I should be able to set value with space Control the conditions for a page variant, but when I tried to do that I am receiving error: 'Invalid syntax in screen condition: product=Cafe Crema'.
url_parameters.png
When I open the page using Open URL Path option and I add space to parameter, it is escaped with '-' sign, but it is not working for condition product is 'Cafe-Crema' as well.

Is there a way how to create such condition or documentation is not up to date?

Thanks.

0 REPLIES 0