Is it possible to display the labels attached to a page within the page content itself? We would like to use the include macro to include Page A within Page B. However, Page A appears without showing the labels we have attached to it. We would like the labels to show somehow. Is there a macro we could use to show the labels of a page within the same page content? Thanks!
Hi Davin,
Thank you for your reply! We tried the user macro that you had provided, but it doesn't seem to be supported by the Cloud. Is there another way?
This could be done with a user macro. He is a very quick basic example. You would want to fill it out to meet your needs.
## @noparams #foreach($label in $content.getLabels()) $label.getName() #end
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.