I created a User Macro to get the current page title, as described here:
https://community.atlassian.com/t5/Confluence-questions/Get-Page-Title-in-template/qaq-p/435016
It works, but it adds a line feed before the title. How can I prevent that line feed?
To expand on my goal, I'm using the SQL Query macro to pull data from a database based on the current page name. When I add my macro inside the SQL Query macro, the page name has a line feed in it.
Thanks,
-Scott
Hi @Scott Genevish,
When you insert the macro and click on it, do you get two additional icons next to the Remove button? If you do, select the first one (Display in new line). That should remove the extra line above the title.
Peter
Hi @Scott Genevish,
Can you please raise a request in our support portal and provide us the code which you used for your user macro and well as the storage format of the page which you are facing the issue as it will be helpful for us to further troubleshoot the issue.
Regards,
Vijay Ramamurthy
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Time to up your Loom game! The new Loom Essentials Certification is here! Show off your skills, learn pro tips, and get officially recognized. Perfect for taking your video messaging to the next level.
Learn moreOnline 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.