Hi
I configured some drop down list on the confluence page and I would like to get the selected items in a script macro.
I tried to use page.getBodyAsString() function in order to get the selected options but it seems like this data doesn't appear in the result string
I wonder if there is a way to get the raw HTML of the page in order to get the selected data
thanks
Dar
You may view the XHTML storage format at the ellipsis on the top right "view storage format". Is this the raw data you are looking for?
Thanks Ann!
I configured a drop dowm list macro in the page and the XHTML storage format don't show the selected item in this list (only the available options)
I wonder if there is a way to get this information
thanks
Dar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like as well to get XHTML code from Confluence's page body. I need to create Heading tags using panel title as title inside them in order to be recognized from Table of Contents.
Do you know how to get the XHTML code using groovy script? In addition, once I get the XHTML code, do you know how to do the modification metioned?
Thank you in advance.
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you do that, you will break the storage format - Confluence may not be able to work with the page at all any more.
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.