It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding new content to existing page Edited

I am trying to use ConfluencePS to append to existing wiki page but the command that I am using overwrites all of the existing content on the page.

  $content = ConvertTo-ConfluenceStorageFormat -Content "Hello world"

  Set-ConfluencePage -PageID 312607262 -Body $content -Convert

 

1 answer

1 accepted

0 votes
Answer accepted

I figured it out after some time that in order to add content I have to append it to the body property of the page object and send it back using "Set-ConfluencePage -InputObject $page" 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,561 views 6 7
Join discussion

Community Events

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

Events near you