Perspective: Allow Boolean and Numeric Popup Parameter Literals
B
Brandon Peterson
I'd like the ability to pass a boolean or numerical literal as a popup view parameter. Currently, the only way to pass a true boolean value into a popup view parameter is by creating a custom property "alwaysTrue" and using that as a reference in the parameter configuration {alwaysTrue}. Another workaround is to use system.perspective.openPopup(...).
If you try to pass in a true or 1 value, they will get coerced to a string "true" or "1". Maybe try to cast the type to whatever the default is set to, or require quotation marks for strings?
Log In