Livesearch マクロを使用すれば、Confluence ページに検索ボックスを追加できます。ユーザーが検索ボックスに検索語を入力すると、Confluence は入力と同時に一致する結果を動的に表示します。

Livesearch マクロの使用

ページに Livesearch マクロを追加する方法

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

オートコンプリートでマクロを素早く入力する方法

Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。


パラメーター

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

パラメーター

既定

説明

このスペース キーに制限する

すべてのスペース

スペース キーを指定して、検索を指定したスペースに制限します。大文字と小文字が区別されます。

Restrict to label(s) ラベルを指定して、検索をそのラベルが付けられているコンテンツに制限します。指定しない場合、ラベルにかかわらずすべてのコンテンツを検索します。
サイズMedium中程度または多数の検索フィールド サイズを選択する
プレースホルダー テキスト 検索フィールドに表示されるプレースホルダー テキストを指定します。例:「このスペースを検索」
タイプすべて検索に含むコンテンツ タイプを指定 - ページ、ブログ、コメント、スペースの説明やすべてのコンテンツ タイプから選択します。
追加内容 スペース名検索結果にスペース名、ページ例外を表示するか、何も表示しません。

コー​​ドの例

参照先:

関連トピック

Searching Confluence
Search Results Macro
Working with Macros

Take me back to the Confluence User's Guide.

  • ラベルなし