Hi All, I am using the recently updated macro to display only the activity of a user on blogs/news. But I just need it to display the activity on blogs created by me and not the editing that I do on the blogs created by other users in confluence.
Can anybody please tell me how I can achieve it??
Community moderators have prevented the ability to post new answers.
You could use the Search Results Macro to search for blogposts created by the user:
{search:maxLimit=10|query=creatorName:$action.user.name|type=blogpost}
Learn more about Confluence Search Fields here.
Hope this helps
Hi,
Thank you for that, I tried out the search macro and its pretty much like I needed.. But I dint like the way it appears. Is it possible for us to use one macro in conjuction with the other??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think it's possible to combine those macros. But if you just want to change the styling of the output, you could use CSS for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use type=blog
I tried it and worked in 3.3.1
This could be your user-macro template:
#set($name = $action.getRemoteUser().name) #set($macro1 = "{recently-updated:author=") #set($macro2 = "|max=10|spaces=*|type=blog}") #set($macroFinal = $macro1 + $name + $macro2) $action.getHelper().renderConfluenceMacro($macroFinal)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Doin, I tried it and it works just the way I have mentioned above ie
$helper.renderConfluenceMacro("{recently-updated:type=news|author=$action.user.name|max=10|theme=sidebar|spaces=*}").
I am looking for something which will show my activity on the blogs created by me. What I mean by my activity here is, creation and updation on blogs Authored by me alone. Where as the above macro shows the activity when I update/edit the blogs created by others too, which I do not want to be displayed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.