-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Page - Content APIs, Page - View
-
Severity 3 - Minor
Issue Summary
Similar to the bug https://jira.atlassian.com/browse/CONFCLOUD-78968, when using the endpoint https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get with the following parameter:
Example request: https://\{YOUR_SITE}.atlassian.net/wiki/api/v2/pages/{PAGE_ID}?body-format=export_view
The HTML returned by the endpoint doesn't reflect the page. Example:
<span
style="background:
url('/wiki/s/-2134469506/6452/08eb2178808393e91332b3b910588917f6eb3efc/1000.0.0-08eb21788083/_/download/resources/com.atlassian.confluence.plugins.confluence-view-file-macro:view-file-macro-resources/images/placeholder-medium-pdf.png');
width: 333px; height: 95px; display: inline-block; padding-top: 155px; margin: 2px; border: 1px solid #ddd;
text-align: center; vertical-align: text-bottom; text-decoration: none; font-size: 12px; color: #000;">
Page Prop issue-v3-20260…
</span>
All the styles returned don't reflect the actual page:

Steps to Reproduce
- Set up Page A
- Add a Content properties (Page Property) macro
- Insert a PDF file into the value column
- Define the inline display view for the PDF attachment
- Publish the page and add a page label test
- Set up Page B
- Add a Content properties report (Page Property report) macro
- Edit the macro parameters and define the label test so that it references Page A
- Publish the page
- Use the Confluence API to return the export_view for Page B
- https://\{YOUR_SITE}.atlassian.net/wiki/api/v2/pages/{PAGE_ID}?body-format=export_view
Expected Results
The export_view body should match the page. This example concerns inline links (attachments); however, it may also affect other styles.
Actual Results
Styles are matching to a card view, instead of the inline view:
<span
style="background:
url('/wiki/s/-2134469506/6452/08eb2178808393e91332b3b910588917f6eb3efc/1000.0.0-08eb21788083/_/download/resources/com.atlassian.confluence.plugins.confluence-view-file-macro:view-file-macro-resources/images/placeholder-medium-pdf.png');
width: 333px; height: 95px; display: inline-block; padding-top: 155px; margin: 2px; border: 1px solid #ddd;
text-align: center; vertical-align: text-bottom; text-decoration: none; font-size: 12px; color: #000;">
IS-Test page.pdf
</span>
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available