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
  • Community
  • Products
  • Confluence
  • Questions
  • Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

I am using confluence wsdl "https://portal.globallogic.com/confluence-staging/rpc/soap-axis/confluenceservice-v1?wsdl " to use its various methods in my application.

I need to display the recent updates which are shown in confluence. But unfortunately I am not able to see the web method for it.

Could you please tell me the web method or macro to get the recent updates displayed on confluence so that I can add them in my application.

Thanks

Sonal

1 answer

1 accepted

1 vote
Answer accepted

Confluence renders the Recently Updated Macro to display that information, but it does not have an exposed stub in the WSDL.

In order to get the content, you would need to put the macro on a page and retrieve the rendered content of the page with the renderContent method. This will give you the raw HTML with the macro rendered that you can parse to retrieve the recently updated div. In Confluence 4.3.x, the default class for the div is recently-updated recently-updated-concise. If you are using another version, I recommend inspecting the div element in Confluence to double check.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 18, 2019 in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

365 views 0 12
Read article

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