Perspective special characters in property names / object keys

Hi, I have been using special characters in object keys / property names for some time now, but the designer will not let me create this, it has to be done via a binding/script.

Why does Designer not let me enter special characters for this, asking to determine if this functionality might be removed at some point and or if this is just a bug in designer and I continue to just use a script to create them.

Current use is for customising the download icon in the report viewer, without accessing the advanced stylesheet. I have it working but a script seem overkill for this use case, it would be much simpler if we could simply add a value call it –actionBarIconSize and give it a value.

Has anyone else possibly found a better way for creating properties like this?

They are refused because they are not valid JSON. If you absolutely need to use maps with invalid keys, get my Integration Toolkit and use its asMap() on Perspective arrays of pairs.

Or, perhaps, use sessionVarMap, pageVarMap, or viewVarMap to hold jython objects for use in Perspective.

I would add this into a style class instead, if you can’t edit the stylesheet or theme files. Inject into one of the props with a large text field in the UI like box shadow. Use something like

; --var-name: blue; --var2: red

Then at least you can standardise it and call the styling something instead of having magic stuff everywhere