Hello Community,
I need your help with a user macro.
We would like to create a User-Macro based on the Macro Recently Updated. We would like to place it on our dashboard and only show the pages the currently logged in user hast worked on.
This is my current approach. Can you help me?
## @noparams
#set( $username = "$req.getRemoteUser()" )
<ac:macro ac:name="recently-updated" ac:schema-version="1">
<ac:author>$username</ac:author>
</ac:macro>
Hi @Alexander Wirtz , try the following code :
## @noparams
#set( $username = "$req.getRemoteUser()" )
<ac:structured-macro ac:name="recently-updated" ac:schema-version="1" ac:macro-id="64d6bcf3-c362-4715-9d63-fdafd00ff552">
<ac:parameter ac:name="author">
<ri:user ri:userkey="$username" />
</ac:parameter>
</ac:structured-macro>
Hope this helps,
Fabio
Hey @Fabio Racobaldo _Herzum_ ,
thank you for your help. I just tried it, but it unfortunately is not working. It still shows values from different users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.