I need to display on a page the key of the workspace the page belongs to. When moving the page to another workspace, it should automatically display the key of that new workspace.
In a Confiforms environment I would use [entry._page.spaceKey], but I want to avoid using confiforms just for this.
How can I achieve this without using Confiforms?