How to Deploy the WebHelp Output on a SharePoint Site
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 a Script Outside of Oxygen XML Editor/Author
To publish WebHelp Responsive output on a SharePoint site using an Oxygen Publishing Template, follow
this procedure:
- Map a network drive to connect to your SharePoint library (the best approach is to use the OneDrive sync client to synchronize a local folder with a library from SharePoint). For more information, see: https://support.microsoft.com/en-us/kb/2616712.
- To allow browsers to open your published files (rather than downloading them), you need to change the file extensions from .html to .aspx.
- Open the template descriptor file associated with your publishing template and add the
args.outextparameter in the parameters section with its value set to.aspx.<publishing-template> ... <webhelp> ... <parameters> <parameter name="args.outext" value=".aspx"/> </parameters> </webhelp> - Open the DITA Map WebHelp Responsive transformation scenario.
- Click the Choose Custom Publishing Template link and select your template.
- In the output settings of the transformation scenario, choose the mapped network drive or the synchronized folder.
- Click OK to save the changes to the transformation scenario.
- Run the transformation scenario.
Using a Transformation Scenario in Oxygen XML Editor/Author
To publish WebHelp Responsive output on a SharePoint site using a transformation scenario
from within Oxygen XML Editor/Author, follow this procedure:
- Map a network drive to connect to your SharePoint library (the best approach is to use the OneDrive sync client to synchronize a local folder with a library from SharePoint). For more information, see: https://support.microsoft.com/en-us/kb/2616712.
- To allow browsers to open your published files (rather than downloading them), you
need to change the file extensions from .html to
.aspx. Fortunately, this can be done in the transformation.
- Edit the WebHelp transformation scenario and open the Parameters tab.
- Set the
args.outextparameter to.aspx. - In the output settings of the transformation scenario, choose the mapped network drive or the synchronized folder.
- Run the transformation scenario.