Is there a way to create a dynamic list of Confluence add-ons in a Confluence page. For example using Deck of Card, with each card being a sql query showing friendly names of the add-ons? I know about the PLUGINDATA table, but I would prefer user friendly names rather that the PLUGINKEY. Is there a way to do this?
This is actually quite easy to do with JSON Table Macro. I will publish an example of this soon, but, unfortunately it requires a slight modification to the support (LIBSCRPT-48) as the response from the <base_url>/rest/plugins/1.0/ api is not indicated as json.
In the meantime, you can download the data to an attachment for display.
Thanks for that Bob. I just checked our strategic instances and we have this installed. A Confluence example would be very helpful please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good. So just download the results of the rest url and attach to a page. Use the json-table macro and point to the attachment. That will get you by until we can release an update that will get it directly. Use Insert -> Markup with the following. Temporarily modify it for the attachment.
{json-table:url=rest/plugins/1.0/|paths=plugins|fieldPaths=name,key,version,description,vendor.name,static,userInstalled,usesLicensing,enabled|user=automation|password=*******} {json-table}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, that worked a treat. What is the time frame for this release, is there a ticket for this I could vote on? Additionally, our instance is SSL so we'll need credentials to make the REST call. Is it possible to pick up SSO credentials?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Watch LIBSCRPT-48. We don't have a timeframe for a release, but should have a snapshot in the near term. Yes, we should be able to access without credentials for a local (same server) request. Will confirm that when testing. In that case, only viewers that have admin access will be able to see anything.
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.