Hi there, I'm an apprentice in his 4th year (programming with C#) and new to confluence. I need some help or hints how to approach this problem. I barely found something on this matter so I decided to drop a question here. The plan is to delete the current table, read the new data from a xml file and create a new table from its tags and values in a confluence page automatically.
Here's an example what it could look like.
If possible, I'd like to do this with C# but other approaches are welcomed too
There are a number of different approaches to be able to achieve this. I outline a few below.
So, one thing to consider is if you are pushing the new data into Confluence or pulling the new data from Confluence.
To push the data to Confluence, I think Phill's suggestion of using the REST API is the right direction to go. You can even write the sending client in C#.
To pull the data from Confluence, you will need a plugin. Be warned that the published documentation on writing plugins is a minefield of bad information. For example, the tutorial on "creating a new confluence macro" does not work with the latest Atlassian SDK. Once through the overhead of creating a plugin - writing one to pull the xml and drop it into a Confluence table would not be hard.
You should not be doing this by hand – There is likely a library out there you can use to send and consume JSON packages. There should be a library out there that you can use to write and slurp XML/HTML formatted content.
A great place to start is the page source editor add-on: https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview
Hello everyone! It's been a while since Houston's had a Atlassian Community Event (formerly Atlassian User Group meeting) so I wanted to gauge interest in an unofficial downtown meetup after wo...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events