File name changes in reusable components
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 17
- Joined: Wed Jul 21, 2021 9:39 pm
File name changes in reusable components
Post by verostarry »
Hello,
I'm facing a few issues updating links, especially for reusable components.
As an overall question for all types of files, when we rename files, is there a way to make the references to those files in ditamaps, other topics, etc. auto update? What we're currently doing is:
1. rename a file
2. go into any ditamap it's referenced in, remove the old reference, which now appears as a broken link with a red underline, and add the new reference by copy and pasting the file with its new name
We're encountering an additional issue when we try to do this with with reusable component files, which are also all referenced in a ditamap. When renaming these files, and cleaning up the ditamap references to go to the new names, our build breaks. Even for files that aren't used anywhere else other than the ditamap. This is the error it gives:
Failed to run pipeline: [DOTX008E][ERROR] File 'file:/Users/user/Desktop/workplace/TC/src/TestDocs/reusable-components/61-10-01-202.dita'
Please advise on best practices and potentially issues, if you see them.
Thank you,
Veronica
I'm facing a few issues updating links, especially for reusable components.
As an overall question for all types of files, when we rename files, is there a way to make the references to those files in ditamaps, other topics, etc. auto update? What we're currently doing is:
1. rename a file
2. go into any ditamap it's referenced in, remove the old reference, which now appears as a broken link with a red underline, and add the new reference by copy and pasting the file with its new name
We're encountering an additional issue when we try to do this with with reusable component files, which are also all referenced in a ditamap. When renaming these files, and cleaning up the ditamap references to go to the new names, our build breaks. Even for files that aren't used anywhere else other than the ditamap. This is the error it gives:
Failed to run pipeline: [DOTX008E][ERROR] File 'file:/Users/user/Desktop/workplace/TC/src/TestDocs/reusable-components/61-10-01-202.dita'
Please advise on best practices and potentially issues, if you see them.
Thank you,
Veronica
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: File name changes in reusable components
Hi Veronica,
We this feature in Oxygen named "Main Files" which allows you to tell Oxygen which are your main DITA Maps and when you move or rename resources in the Oxygen project view the references to those resources will be automatically updated:
https://www.oxygenxml.com/doc/versions/ ... files.html
Regards,
Radu
We this feature in Oxygen named "Main Files" which allows you to tell Oxygen which are your main DITA Maps and when you move or rename resources in the Oxygen project view the references to those resources will be automatically updated:
https://www.oxygenxml.com/doc/versions/ ... files.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 17
- Joined: Wed Jul 21, 2021 9:39 pm
Re: File name changes in reusable components
Post by verostarry »
Hi Radu,
Main files works perfectly for our use case - thanks very much!
Cheers,
Veronica
Main files works perfectly for our use case - thanks very much!
Cheers,
Veronica
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service