You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm working with the Confluence API using Python. Here's my workflow:
get_page_by_id()
.I'd like the content displayed in the web app to match the style it will have when uploaded back to Confluence. The challenge I'm facing is in rendering the content in the HTML template to ensure it looks consistent with the Confluence style.
When the user approves the content, I will be uploading it back to Confluence using the Python API. It's important that what the user views in the web app mostly matches what they will see in their Confluence space.
How can I render the transformed content in my web app to match the Confluence style, ensuring consistency between the preview and the uploaded content?
Welcome to the Atlassian Community!
Your python code will need to replicate all the stuff Confluence does to render its pages - this is quite a lot of coding for you to do.
I would question the desire to do this as well. Why are your users not approving the pages in Confluence directly? What's the point in using yet another application to doit? Why are you not just using something like Comala workflows?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.