Since WebHelp output must be published locally, on the same machine where the WebHelp process
is running, to publish your files directly to a SharePoint library you need to map a network
drive to connect to SharePoint and change your file extensions to .aspx,
as described in the steps below.
Using Oxygen XML Editor/Author
To publish WebHelp Classic output on a SharePoint site and use a transformation scenario
from within
Oxygen XML Editor/Author, follow this procedure:
- Map a network drive to connect to your SharePoint library. For more information, see:
https://support.microsoft.com/en-us/kb/2616712.
- Edit the WebHelp transformation
scenario and open the Parameters tab.
- For a DITA transformation, set the
args.outext parameter to
.aspx.
- For a DocBook transformation, set the
html.ext parameter to
.aspx.
- Run the WebHelp transformation scenario to generate the output.
Using a Script Outside of Oxygen XML Editor/Author
Important: Running WebHelp transformations from a script outside of
Oxygen XML
Editor/Author requires an additional license and some additional setup:
To publish WebHelp Classic output on a SharePoint site and use a
script outside of Oxygen
XML Editor/Author, follow this procedure:
- Map a network drive to connect to your SharePoint library. For more information, see:
https://support.microsoft.com/en-us/kb/2616712.
- Use the following parameter to change your file extensions to
.aspx:
- For DITA transformations, use the
args.outext parameter in your
transformation script and set its value to .aspx.
- For DocBook transformations, use the
html.ext parameter in your
transformation script and set its value to .aspx.
- Execute the transformation script.
For example, a DITA script might look like this::