I am trying to check if they my id param has a value or not. So far I'm using "equals" and "not equals" to null. That works fine when live, but within the designer it will only equal true if the equals is an empty string. I don't want to send a null value as a param, so what's the best way to do this? - shouldn't the absence of a param = null? eg in production: domain.com/?id=1234 - this !=null TRUE domain.com/ - this = null TRUE that behaviour should work in the designer too tho otherwise it makes designing a bit of a pain as in the designer it works like this: domain.com/?id=1234 - this !=null FALSE domain.com/ - this = null FALSE domain.com/?id=1234 - this !="" TRUE domain.com/ - this = "" TRUE
Erik Beuschau
1 month ago
Dec 4, 2024, 7:29 AM
I'll check if there's a discrepancy between preview/editor. If a query parameter is not set, it should be null. In the editor though, it depends on which test value you gave your parameter π€
Erik Beuschau
1 month ago
Dec 4, 2024, 7:30 AM
I guess you could use the Size formula for now and check if the size of a query parameter is >0?