Wiki source code of Include Dashboard Page
Last modified by Ilie Andriuta on 2026/01/26 12:19
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Preconditions: | ||
| 2 | |||
| 3 | - User has to be advanced (Profile > edit Preferences > set UserType to Advanced) and a dashboard page has to be already created. | ||
| 4 | - The user has Script Right (in order for gadget titles to be rendered and scripts inside gadgets to be executed) | ||
| 5 | |||
| 6 | **NOTE**: Since XWiki 14.10, the Script Right is not granted by default anymore to new users, therefore must be granted manually | ||
| 7 | |||
| 8 | |||
| 9 | 1. Edit a page (both WebHome and a Terminal page) using the Wiki editor | ||
| 10 | 1. Write {{{ {{include reference="Space.Page"/}} }}}, where Space.Page is the space and page name of a dashboard page | ||
| 11 | 1. Edit the page in Inline mode | ||
| 12 | 1. Edit the page in Object mode | ||
| 13 | 1. Add some gadgets by adding objects of type XWiki.GadgetClass | ||
| 14 | 1. Fill in all the fields - at position add one of the following: e.g. "1, 1", "1, 2", "2, 1", "2, 2" | ||
| 15 | 1. Save the page |