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

Connect macros should have static iframe id

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.

      Issue Summary

      Iframe IDs of Connect macros are different for every renders, and it makes it harder for developers to query the element using the iframe id

      Steps to Reproduce

      1. Create a page with Connect macros
      2. Open developer tools and take note of the iframe ID
      3. Refresh the page
      4. Verify the new iframe ID

      Expected Results

      Iframe ID is the same even after refreshing the page

      Actual Results

      Iframe ID changes every time the page refreshes

      Workaround

      If developers need to looks for a specific macro within the page, they iframe ID will always be prefixed by: `${CONNECT_APP_NAME}_${macro.key}_`, so developers can still find the iframe from that. And they need the specific macro id, the iframe `name` should have the `macro.id` which is unique per macro in the instance, so they can query using that as well.

            Unassigned Unassigned
            rtalusan Ryan Talusan
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: