Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to expand page view automatically?

Paula Cristina Vaz April 21, 2021

Hi.

I'm using confluence rest api to upload pages to confluence. I had been using it in the old version of the editor, but now I want to convert all my pages to the new version.

 

The problem is that when I upload a page via Rest API, the page appears collapsed in the middle of the browser. Is there a way to upload a page and make as wide as the browser?

 

TIA

Paula

 

Example:

This is what happens by default:wrong.png

This is what I would like to have:

right.png

1 answer

1 accepted

0 votes
Answer accepted
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 28, 2021

Dear @Paula Cristina Vaz ,

I had a similar problem in the past (see CONFSERVER-51834). To fix this I read the "ideal" page (template), modified its body and updated another page with the content. I found out, that the ÄPI was adding some extra HTML elements which I didn't add.

The bug was closed meanwhile as "obsolete", but the behavior is still in the current enterprise version of Confluence Server.

Probably you found another 'glitch'.

So long

Thomas

Paula Cristina Vaz April 29, 2021

Thanks Thomas.

 

I did the same as you: use the API to get an ideal page and changed my scripts.
It's better now, but it's not perfect! :-) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events