I need to be able to detect if collaborative editing is enabled in a custom action I have created. The only method I can find is to use AJS.Meta.getBoolean('shared-drafts'), however, that meta field is only available in the page context. Is there a way to detect if shared drafts are enabled in the JAVA API?
Quickest way that requires no admin access. Open the same page in two browser tabs, Then edit both. You should now see two icons with your initial in the upper right.
Hi Bill. Thank you for responding. I'm actually looking for a programmatic way to do it. I have an add-on that would potentially have different behaviors based on whether shared drafts was enabled. The problem with using javascript is the shared-drafts meta tag is only available in a limited number of contexts (page view and edit).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well is there a way to pull the admin console settings as a java object, and then enable your javascript on the setting of that object?
It is a global setting for the confluence-collaborative-editor-plugin. But I did a quick search and not finding something in the API docs (often happens). Maybe someone smarter than me can help?
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.