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

Content of the page are truncated

When i call getPage() SOAP method, the content always truncated.

ConfluenceSoapServiceProxy cf = new ConfluenceSoapServiceProxy();

String token = "sdf234234";

Long pageId = 123123;

RemotePage page = null;
try {
       page = cf.getPage(token, Long.parseLong(pageId));
} catch (Exception e) {
}

 

The result when I get page content something link: <p><ac:structured-macro ac:name="children" /></p>

Anyone know this issue please help me.

Many thanks

2 answers

Are you trying to get the XML markup, or are you trying to get the output? If you want the HTML, then you need to use renderContent. Is there other content on the page besides a list of children?

Can I have only content in JSON ?

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...

3,138 views 4 6
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