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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.