Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Follow-up to how to attach PDF file to Confluence page and display the content.

GordonS February 10, 2023

Thank you Fabio for answering my question on https://community.atlassian.com/t5/Confluence-questions/How-to-specify-file-name-of-viewpdf-macro/qaq-p/2259176

I have a follow-up question.  This is the body of the page I'm creating.

<ac:structured-macro ac:name="viewpdf" ac:schema-version="1"
data-layout="default"

ac:local-id="xxxxxxxx-32ea-4827-b4ce-xxxxxxxxxxxx"
ac:macro-id="852d4900-52ce-4967-9c7c-26493c4973e8" >
<ac:parameter ac:name="name">
<ri:attachment ri:filename="report.pdf" ri:version-at-save="1" />
</ac:parameter>
</ac:structured-macro>

I generated my own random GUID for local-id and copied Fabio's macro-id.  

Is that what I was supposed to do?  Should the local-id match the attachment?

2 answers

1 vote
Alex Koxaras -Relational-
Community Champion
February 10, 2023

@Fabio Racobaldo _Catworkx_ this one is for you.

Fabio Racobaldo _Catworkx_
Community Champion
February 11, 2023
0 votes
Fabio Racobaldo _Catworkx_
Community Champion
February 11, 2023

Hi @GordonS ,

in my opinion there is no relationship between local-id and the attachment.

Fabio

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events