Insert Classic Wiki macros and content

In Documents, it is possible to insert textual content formatted with Classic Wiki syntax, or Classic Wiki macros which render content dynamically. For example, you might create a Document that reports the current status of Work Items in the project using the {workitems} macro with a query parameter to display some subset of the Work Items in the Document — all currently open items, or items with high severity, for example.

Document editor toolbar

Wiki syntax

After opening the Document for editing, do the following:

  1. In the Document Editor toolbar, click the insert drop-down (see figure below) and choose Wiki Content.

    The Insert or Modify Wiki Content dialog box appears.

  2. Enter the desired Classic Wiki macro or other content with Classic Wiki mark-up into the edit field in the dialog box, and click OK when finished.

  3. Click Save on the Document Editor toolbar.

For general information on using the Classic Wiki, including editing of Classic Wiki pages, see Using Classic Wiki. For information on Wiki macros, see Adding Dynamic Content in Wiki Pages.

See also Macros and Wiki Mark-up Support in Word Round-trip.

Modify Wiki Content

You can modify existing embedded wiki content. For example, you might modify the query of an existing workitems macro to retrieve a different set of Work Items, or display more or fewer Work Item fields.

  1. After locating the content you want to modify, click the Wiki Content icon to the left of the Document border.

  2. On the menu, click Modify to display the Wiki Content dialog box.

  3. Change the content and desired and click OK.

Delete Embedded Wiki Content

  • After locating the content you want to modify, click the Wiki Content icon to the left of the Document border, and then choose the Delete item on the menu.