Macro image placeholders in Confluence Connect do not allow type "uri-template"

XMLWordPrintable

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      I would like to generate a dynamic preview image for a macro in Confluence Connect. For this I need to have the possibility to get the macro content. According to the Connect Doc (https://developer.atlassian.com/static/connect/docs/modules/fragment/image-placeholder.html), the type for "imagePlaceholder" is "uri" instead of "uri-template", which results in an error being thrown when I use an URL like this to get the necessary macro information:

                       "imagePlaceholder": {
                          "width": 100,
                          "height": 25,
                          "url": "/preview?pageId={page.id}&pageVersion={page.version}&macroHash={macro.hash}",
                          "applyChrome": true
                        }
      

      Any chance to get this changed to "uri-template" soon? This would allow a very nice user experience because the user does not need to go into the macro browser to see a preview of the content...

              Assignee:
              Unassigned
              Reporter:
              Mibex Software
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: