-
Type:
Suggestion
-
Resolution: Won't Do
-
None
-
Component/s: None
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}¯oHash={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...
- relates to
-
CONFCLOUD-34940 Macro image placeholders in Confluence Connect do not allow type "uri-template"
- Closed