Confluence 5.7 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
ページ ツリー検索マクロを使用して、Confluence ページに検索ボックスを追加できます。閲覧者が検索語を入力すると、すると、Confluence は指定された親 (ルート) ページから開始するページ階層を検索し、検索結果を返します。
You can also add a search box as part of a dynamic page tree, which looks like a table of contents. See the Page Tree macro .
ページ ツリー検索マクロをページに追加する方法
Speeding up macro entry with autocomplete: 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).
パラメーター | 既定 | 説明 |
|---|---|---|
ルート ページの名前 | なし | このマクロでページ階層が検索されるルート ページの名前。指定しない場合、ルート ページは現在のページとなります。 注: ページ ツリー マクロとは異なり、ページ ツリー検索マクロでは、"@" 記号で開始する特殊値を使用できません (例:"@home" や "@self" など)。 |
次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。
マクロ名: pagetreesearch
マクロ本文: なし。
<ac:structured-macro ac:name="pagetreesearch"> <ac:parameter ac:name="root">My page name</ac:parameter> </ac:structured-macro>
{pagetreesearch:root=My page name}