I am linking from QGIS to a FileMaker Pro record using links in HTML map tips. I can call the custom url scheme
fmp:// with an IP address without issue, but as soon as I include the dollar sign ($) in the URL, the link no longer works.
I've tried encoding the symbol to
%24 and concatenating strings but they don't work. I've also tried
$ as suggested here, and variations of
\%24 with and without leading single and double backslashes.
Examples given by FileMaker:
The $ is significant, as it calls the currently open database, rather than trying to reopen the file, and removes the need to hardcode an IP address.
I've double checked that $ is a valid symbol to include in a URL as mentioned here. I also managed to get a log output when calling the url:
invalid escape sequence \$
qt seems to offer a range of options for encoding urls and strings, with reserved, unicode and byte codes for characters. I'm not sure which QGIS is using internally.
Even typing backslash escapes as a string in the expressions editor turns $ into the ? symbol.