His code example is doing exactly that, it sets yourName in the test, which can then be reused within or later on:<div data-sly-test.yourName="${currentPage.name}">....${yourName}</div>Have a quick look at the docs of data-sly-test to better understand that behavior.More generally though, if you nee...