community
cancel
Showing results for 
Search instead for 
Did you mean: 

Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!
SOLVED

Macro Interface Control Question Text cannot show Ampersand

Asteroid

I'm trying to show an example of text for the user of an Interface 'Text Box' to copy when filling out their responses. The example is similar to "&SYMBOLIC=VALUE". However, when this text is included in the "Enter the text or question to be displayed:" field on the Configuration panel, the ampersand is dropped.

 

I've tried using & and & instead, but the ampersand is also dropped from these strings. Can someone explain what is happening and let us know if there exists a way to include this char in the text string somehow?

Alteryx
Alteryx

@c2willis

 

XML considers the & an escape character.  I found that if I do two in a row (i.e. &&) it'll render the 2nd one.

Asteroid

Thanks @StephenW! I tried my other HTML tricks, but not that one! The two ampersands does the trick.