On our Confluence server I have configured a shortcut link as follows:
Key: servicenow
Expanded Value: https://regionmidtjylland.service-now.com/sc_req_item.do?sys_id=%s
Default Alias: %s
When i insert an advanced link and type xyz@servicenow i get the linktext %s. I expected the text xyz.
The link works fine
What am I doing wrong?
The url you are giving it is sort of invalid. % is a control character, used to escape the following characters. %s is not a valid escaped character, so the browser dumps it out as %s.
To put it more simply, your url is incorrect, and can't do what you think you are trying to do because it uses control characters. Try a url without % in it.
It can't - the link is nonsense.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://regionmidtjylland.service-now.com/sc_req_item.do?sys_id=%s is the template for the url.
by typing xyz@servicenow in the link textbox in an advanced link dialog, Confluence substitutes the %s with xyz. That is the basic idea of the shortcut link funktion. (see https://confluence.atlassian.com/doc/configuring-shortcut-links-135903.html)
My question is concerning the default alias. Contrary to the url, the default alias %s is not substituted with xyz. The documentation indicates that it should (see link above), but i cannot make it work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.