File name changes in reusable components
Posted: Wed Nov 03, 2021 11:38 pm
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