Insert the content properties macro
The content properties and content properties report macros work together to show summary information from one page or live doc on another page or live doc. You can see examples of these two macros in action in the Decisions and Product Requirements blueprints.
Use the content properties macro
To add the content properties macro:
When editing, select from the toolbar
マクロを名前で検索して選択します。
必要に応じて設定します。
このページに「/」と入力して、ツールバーから を選択することで、同じリストを表示することもできます。続けてマクロの名前を入力して、リストをフィルタリングします。
マクロ本文に 2 列のテーブルを作成します
左の列に「キー」を入力します。これらはレポート テーブルの列見出しになります。
右の列に各キーの値を入力します。これらがレポート テーブルの行を生成します。
Add a label to your page (you'll need to specify this label in the content properties report macro)
ページを保存します。
Use the content properties macro horizontally
これを行うには、次のようにします。
2 列の表ではなく 2 行の表を作成し、最初の行に見出し行スタイルが適用されていることを確認します。
1 行目にキー、2 行目に値を入力します。
The content properties report macro will be able to pull this information accurately even if you're using the content properties macro vertically elsewhere.
Next you need to add the content properties report macro to another page or live doc.
Here's an example of the content properties macro when editing. Deadline, Current Status, and Team will be column headings in the report.

Here's what the example above will look like in the content properties report.

Use multiple content properties macros on one page or live doc
You can add multiple content properties macros on a single page or live doc, and choose whether to include all or only specific macros in the report. You might use multiple macros because you want the information in the macro to display in context with the rest of the content, or because you want to be able to report on individual content properties macros separately.
The content properties macro includes an optional ID parameter that can be used to identify specific content properties macros.
To show the contents of all content properties macros in the report:
Add a label to the page or live doc containing the content properties macros
Specify this label in the content properties report macro
To show the contents of selected content properties macros in the report:
Add a label to the page or live doc containing the content properties macros
Specify an ID in the content properties macro that you want to report on
Specify both the label and ID in the content properties report macro
The content properties report macro can only accept one label, and one ID.
See the content properties macro in action in How to document product requirements in Confluence. This powerful macro lets you create a summary page that pulls in information from multiple pages and live docs.
To edit the content properties macro:
マクロのプレースホルダーを選択します。
[編集] アイコン を選択して、設定パネルを開きます。
パラメーターを設定します。変更内容は、移動するごとに保存されます。
ページの編集を再開すると、パネルが閉じます。
中央揃え 、幅 、全幅 の各アイコンを使用して、一部のマクロの幅を調整することもできます。マクロを削除するには、ゴミ箱アイコン を選択します。
パラメーター
Parameters are options that you can set to control what and how content from the macro appears on a page or live doc.
Confluence Cloud 保存形式で使用されるパラメーター名が、ブラウザやスラッシュ コマンドを使用してマクロを挿入する際に使用されるラベルと異なる場合は、下記の角括弧内に記載されます (example
)。
パラメーター | 既定 | 説明 |
---|---|---|
Content Properties ID | (なし) | Optional ID used to identify a particular content properties macro on a page. Specify this ID in the content properties report to include summary information from macros with this ID only. |
非表示 | False | Determines whether the data in the content properties macro will be displayed on the current page or live doc. This setting does not affect the display of the detail in the content properties report macro. |
注意
You can't use macros in the left column as the data in this column is used to populate the column headings in your content properties report macro.
It is not possible to reference the metadata using the metadata key or anywhere else on a Confluence page or live doc.
この内容はお役に立ちましたか?