Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-60993

Provide content.id to custom macro editor

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      https://groups.google.com/forum/#!topic/atlassian-connect-dev/TFqf6kSKpjc

      Some add-ons providing a custom macro editor need to retrieve internal data specific to the page. For this they need the "content.id" context variable.

      You can get the current page if you're in JS: it should be in the meta data tags on the page.

      <meta name="ajs-page-id" content="294915">

      But if you're in the server you're currently out of luck: we are going to have to pass it to the add-on.

              mjensen m@ (Inactive)
              pbrownlow Peter Brownlow (Inactive)
              Votes:
              16 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: