Edit Dashboard And Add Velocity Title To Gadget
Last modified by Ilie Andriuta on 2023/01/19 13:29
Steps to reproduce
Precondition: The user has Script Right (in order for gadget titles to be rendered and scripts inside gadgets to be executed)
NOTE: Since XWiki 14.10, the Script Right is not granted by default anymore to new users, therefore must be granted manually
- Edit a page (both WebHome and a Terminal page) containing a dashboard in Inline mode
- Add/edit a gadget
- Insert a Velocity script in the title field ( for example {{velocity}} Welcome $xcontext.user ! {{/velocity}} )
Expected results
The title script is properly executed.