Home Forums DITA and XMetaL Discussion Unable to publish preview with DITA toolkit Reply To: Unable to publish preview with DITA toolkit

Derek Read

Reply to: Unable to publish preview with DITA toolkit

When you generate output using the DITA OT the DITA OT is first deployed here for the current Windows user:
%appdata%SoftQuadXMetaL SharedDITA_OT
%appdata%SoftQuadXMetaL SharedRenderX
%appdata%SoftQuadXMetaL SharedSaxon

So that entire folder (SoftQuad) must be writable.
Note that %appdata% location varies depending on Windows version and IT's configuration of Windows. In your case it sounds like it is located here:

Folders and files for the DITA OT are deployed there (to the path above) by copying them from here (which is where they are installed to):
C:Program FilesCommon FilesXMetaL Shared

That folder doesn't need to be writable after installation but the user does need read permission (which should be default).

There are quite a few files inside %appdata%SoftQuadDITA_OT that are written to by the DITA OT itself when it is running (when you are generating output).

XMetaL Author Enterprise deploys a license for RenderX XEP into the same location inside the RenderX subfolder which is used to generate PDF for deliverables that use RenderX XEP, so that needs to be writable as well.

In addition to the DITA OT needing full read / write access to that location XMetaL Author Enterprise writes configuration and user preference settings to %appdata%SoftQuad (and various subfolders depending on what it is writing).

If %appdata%SoftQuad is left fully read/write for current user then you don't need to worry about the specifics above. I think it would probably be a nightmare to try to lock down individual folders. And to what purpose?

Some files may also be written to the following location (also always read/write for current user by default):
%userprofile%Local SettingsTemp
%userprofile%Local SettingsTempXMetaL