any way to embed MongoDB query results into Confluence?

I'd like to embed some content from a MongoDB query into a Confluence page, much in the same way you can embed arbitray SQL query results. Anyone think of a clever way to do this? There doesn't seem to be a plugin to do it directly, so that not being available, is there some sort of widget to be used to do it?

1 answer

1 accepted

How about using {beanshell} macro, stuff in some Java code to pull out the JSON objects from DB, and do out.println in the Wiki format of Confluence? Haven't tried this myself, but should work.

Thanks Renjith, I wasn't aware of these macros (including hte Groovy one). As long as I have the driver jar available this should work fine. Thanks much

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
Asked Thursday in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

159 views 5 7
View question

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