Shortcut links provide a quick way of linking to resources frequently referenced from Confluence. When you create a shortcut link, you are assigning a key to a URL so that when a user edits Confluence documents they can type the key instead of the complete URL.

次のような例があります。

ほとんどの Google 検索は、http://www.google.com/search?q= のようになります。"google" キーを使用してこの検索のショートカットを作成する場合、ユーザーは毎回 http://www.google.com/search?q=searchterms を使用する代わりに、[searchterms@google] と入力するだけですみます。

Here is a screenshot showing the shortcuts currently defined on http://confluence.atlassian.com:

Shortcut links are added and maintained by Confluence administrators from the Administration Console.

To create a shortcut link,

  1. Go to the 'Administration Console' and click 'Shortcut Links' in the left panel.
  2. Enter a 'Key' for your shortcut. This is the shortcut name a user will use to reference the URL.
  3. Enter the 'Expanded Value'. This is the URL for the link. You can use '%s' in the URL to specify where the user's input is inserted. If there is no '%s' in the URL, the user's input will be put at the end.
  4. (Optional. Available in Confluence version 2.3 and later.) Enter a 'Default Alias'. This is the text of the link which will be displayed on the page where the shortcut is used, with the user's text being substituted for '%s'.
  5. [保存] をクリックします。




Using Shortcut Links

Specify in the link what should go on the end of the shortcut URL, followed by an at-sign (@) and the key of the shortcut. Shortcut names are case-insensitive. So, for example, using the keys shown in the above screenshot:

リンク先

入力内容

結果の URL

デモ

JIRA 課題

[CONF-1000@JIRA]

http://jira.atlassian.com/secure/QuickSearch.jspa?searchString=CONF-1000

CONF-1000

Google 検索

[Atlassian Confluence@Google]

http://www.google.com/search?q=Atlassian+Confluence

Atlassian Confluence@Google

Shortcut links can have titles just like any other link:

リンク先

入力内容

結果の URL

デモ

Internet Movie Database

[Fight Club|tt0137523@IMDB]

http://us.imdb.com/Title?tt0137523

Fight Club

Google Cache

[Cached Homepage|www.atlassian.com@cache]

http://www.google.com/search?q=cache:www.atlassian.com

Cached Homepage

Deleting Shortcut Links

Once you have created a shortcut link, it is listed under 'Shortcut Links' in the 'Administration Console'. Click 'Remove' to delete the shortcut.