The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

any way to embed MongoDB query results into Confluence?

Jeff Behl
Contributor
May 14, 2012

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 14, 2012

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.

Jeff Behl
Contributor
May 14, 2012

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

TAGS
AUG Leaders

Atlassian Community Events