
Hi Everyone,
I am facing a rather puzzling behaviour. I have been trying to get a a drop down menu to offer a choice between a set of macros created in a character sheet, here below an example:
&{template:default} {{name=List of Careers}}{{?{Select Career|[Acrobat](~Acrobat)|[Actor]|(~Actor)|[Agitator](~Agitator)|[Alchemists' Apprentice](~Alchemists'-Apprentice)}}}
If I look at the link created under the button I see this "https://app.roll20.net/editor/~Acrobat" which is not what I would expect "https://app.roll20.net/editor/~-MWFFi5dq5hRA3lnvZz6%7CAcrobat"
I can manage to get this working but only if I use macros created in the collection like this
&{template:default} {{name=List of Careers}}{{?{Select Career|[Acrobat](! Acrobat)|[Actor]|(! #Actor)|[Agitator](! #Agitator)|[Alchemists' Apprentice](! #Alchemists'-Apprentice)}}}
I even tried the following:
&{template:default} {{name=List of Careers}}{{?{Select Career|[Acrobat](~-MWFFi5dq5hRA3lnvZz6%7CAcrobat)|[Actor]|(~-MWFFi5dq5hRA3lnvZz6%7CActor)|[Agitator](~Agitator)|[Alchemists' Apprentice](~-MWFFi5dq5hRA3lnvZz6%7CAlchemists'-Apprentice)}}}
At this point I get the right link but when I look through inspect to the html I can see that the hyperlink created is not what expected
<a href="~-MWFFi5dq5hRA3lnvZz6%7CAcrobat">Acrobat</a> <a href="~-MWFFi5dq5hRA3lnvZz6|Acrobat">Acrobat</a>
and therefore when I press the button, instead of launching the macro I get redirected to "Page Not Found".
By the way I also cannot manage to make the following work even for macros available in collection:
&{template:default} {{name=List of Careers}}{{?{Select Career|Acrobat, [Acrobat](! Acrobat)|Actor, [Actor]|(! #Actor)|Agitator, [Agitator](! #Agitator)|Alchemists' Apprentice, [Alchemists' Apprentice](! #Alchemists'-Apprentice)}}}
Anybody knows how solve this? Thanks in advance...