I am creating a new template with a see also section in the bottom. I would like to include the content-by-label macro and adjust it in a way so that it always shows all sites that have the same labels. Is that possible? Or how can I do that (other than manually)?
I want this, too. I'm also in cloud. Seems like a setting that should be allowed inside the macro.
If you enter the macro in the template with a set of labels, then when you use the template, the macro will always display the content matching those labels. I guess I am not seeing what the issue is?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it’s a template, so when a user uses it and ads labels to the page, the macro should automatically show the content with these labels. I want automation!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, then there is this solution using a user macro:
https://confluence.atlassian.com/display/DISC/Related+Content
Now personally, I would probably make this simpler as a wrapper user macro that reads the label(s) from the page, then feeds them to an instance of Content by Label macro. A cleaner solution.
I wrote an article about this process: Getting-Started-with-User-Macros-Writing-a-Wrapper-Macro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Bill,
thx for the answer. You might have overlooked, that I am in Confluence Cloud and I cannot use user macros. Is there also a solution for cloud?
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, switch to the server version? (bad joke) There are two main reasons I advise clients to not use the Cloud version of Confluence:
I have not tried this route, but:
The first two I have done, but I am not sure if the Cloud version will allow installing a plugin derived from a user macro.
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.