Webhelp Transformation pulling from a root drive

Post here questions and problems related to editing and publishing DITA content.
carolf
Posts: 2
Joined: Thu Jun 08, 2023 3:36 am

Webhelp Transformation pulling from a root drive

Post by carolf »

When doing a webhelp transformation, the output is formed from the root C:\username\ drive instead of from my project folder. This means I cannot get past the index on any of my cards. So in other words

I can see (by checking out and testing) from my git history a few weeks ago when webhelp transformations worked and then the next commit webhelp transformations pulled from the root. This change coincides with a time that my computer rebooted without some changes being saved. When I came back to Oxygen, I had an error message and something (I can't remember what) was "restored".

Here is how the webhelp responsive folders used to look:
webhelp files old.png
dita
media
oxygen-webhelp

And now:
webhelp files current.png
Documents
Downloads
oxygen-webhelp

Inside the Documents folder eventually I can see the html files in the proper folder but of course the index doesn't work correctly.

I have tried looking for altered files, creating a new transformation, using other transformations, using Oxygen Editor instead of Oxygen Author. The result is always the same. The only thing I can think of is that a reference to the root drive is made somewhere in the settings and I cannot find it.

I am grateful for anyone pointing me to the right setting!
You do not have the required permissions to view the files attached to this post.
cosmin_andrei
Posts: 147
Joined: Mon Jun 12, 2017 10:50 am

Re: Webhelp Transformation pulling from a root drive

Post by cosmin_andrei »

Hello,
Thank you for contacting us!
From the details you provided, most probably, you have some resources (like submaps, topics, or any other resources), external to the main DITA Map folder.
To better notice if that's your case, if you have resources outside of the main DITA Map folder , you could open the main DITA Map in the DITA Maps Manager view and then use the "Validate and Check for Completeness" tool from the view's toolbar. Make sure that, in the validation tool, you set the "Report references to resources outside of the DITA Map folder" option:
https://www.oxygenxml.com/doc/versions/ ... -refs.html

Also, please check in the transformation scenario if the output directory is set to the correct location.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
carolf
Posts: 2
Joined: Thu Jun 08, 2023 3:36 am

Re: Webhelp Transformation pulling from a root drive

Post by carolf »

Cosmin, I am very grateful to you! I set the "Report references to resources outside of the DITA Map folder" option and it uncovered a file that was causing the error. I am back in business. Thank you so much!
Post Reply