Using the simplest form of the macro, all you need to enter is the name of your SharePoint list and the list type. The macro will display default columns, based on the list type.

To use the basic form of the {sp-list} macro,

  1. Enter the following text onto the Confluence page:
    {sp-list:LIST NAME|LIST TYPE}
    
  2. Replace the text 'LIST NAME' and 'LIST TYPE' with your own values.

In the example below, we show the list of documents in a SharePoint document library. The list name is 'documents' and the list type is 'document'.

必要な入力項目

表示結果

{sp-list:documents|document}