How to update only a single section of my confluence page

I have two sections in my page , and i have to update only one section through a script , so how can mention in my script to update that particular section ?

2 answers

1 accepted

1 vote

Hi Aneesh,

I'm not sure if I understand you correctly. I think it's not possible to separate the page in two pieces and edit them.

To edit pages, I believe that you can use Confluence API.

I've also found a interesting page which talks about editing pages through API.

I hope this helps!

Rodrigo

Thanks for your reply Rodrigo , as you confirmed that it's not possible to separate the page in two pieces and edit them , i will try to put two html tags(like start-tag and end-tag) in the page and try to put my data between those two tags .

You could create 2 separate pages for the sections and combined the 2 pages into 1 by using the page include macro.

Thanks for your suggestion Khanh . I will try to implement it as you specified using Include page macro

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

862 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you