I have built links to specific pages of attached pdf documents. When I export the space to HTML, and then open the exported HTML file without internet access, links into individual pages within the attached document are broken because it's trying to connect to the internet to locate the file and the corresponding page. It's looking for a URL starting with "https://" (that's the format I used in the Insert Link/Advanced function in Confluence) that indicates the location of the pdf and the page to link to (#page=x).
I understand that during the export process, this happens (quoting Atlassian here)...
>>Page attachments are placed in individual folders with names in the following format:
...\download\attachments\xxxxxx
where 'xxxxxx is the page ID of the page containing the attachments.<<
Does anyone know how I can get the HTML file to look for the pdf that now exists in a folder named the page ID and has a new name automatically assigned to it during the export?
So while creating the links, instead of using the https links, you should have linked to attachments directly. Check this page.
https://confluence.atlassian.com/display/DOC/Linking+to+Attachments
And I guess in that case, when the export is done, it should work. I haven't checked this myself.
I tried linking directly to the attachment but I don't see a way to specify a direct link into a section (page) within the attachment. In other words, where you indicate "#page=x" in the https link, where would that be specified when linking to the attachment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.