Migrate and Manage DITA-OT Publishing Scenarios
You can easily recreate your publishing scenarios configured in legacy DITA Open Toolkit (DITA-OT) in DITA-OT Cloud.
There are differences in how you configure publishing scenarios in each DITA-OT integration. Before you proceed review them in this table.
Major Differences Between Legacy DITA-OT and DITA-OT Cloud Publishing Scenario Configuration
DITA-OT Legacy |
DITA-OT Cloud | |
---|---|---|
Browser compatibility |
Mozilla Firefox only |
Mozilla Firefox and Google Chrome™ |
Selecting a toolkit |
Select a major toolkit version, select a toolkit, and select the build.xml file to run |
Select a toolkit only |
Selecting a custom plugin |
Select appropriate plugins from a list |
Ensure the plugins are included in whichever toolkit is needed |
Referring to a file stored in the CCMS |
Use the full URI to reference the locally stored file |
Ensure the files are included in whichever toolkit is needed |
Setting DITA-OT parameters |
No difference |
Both |
Setting parameters for Antenna House rendering engine |
Specify the pdf.formatter, axf.cmd, and axf.path parameters |
For a DITA Open Toolkit that uses both Antenna House and FOP, include the pdf.formatter parameter in your publishing scenario to indicate the formatter to use, or if you want the option to select the formatter at the time of publishing. If you have more than one PDF formatter available in a toolkit, and you don't specify this parameter, the DITA-OT publishing uses FOP by default. |
Setting parameters for custom fonts or other custom files |
Specify the full database path in the CCMS |
Use the Toolkit file picker option to specify the location of a custom font or other custom file within the toolkit folder. |
DITA-OT Cloud Publishing Scenario Example
This example illustrates the publishing scenario settings you might use if you publish DITA to Microsoft Word with the publicly available com.elovirta.ooxml plugin. The scenario includes custom DOTX templates, which are included in the toolkit folder.
Migrate Publishing Scenarios
Open a legacy DITA-OT publishing scenario
Create a new DITA-OT Cloud publishing scenario
For Antenna House (AH) users only: You need to specify the AH formatter as the PDF formatter in the publishing scenario. If you don't specify AH, the CCMS defaults to FOP.
DITA-OT Parameters Options
DITA Open Toolkit (DITA-OT) offers numerous parameters that you can set in a publishing scenario. The only parameter required for DITA-OT publishing is transtype (transformation type). When creating a DITA-OT publishing scenario, you define a parameter, parameter value(s), and parameter types.
For more information about DITA-OT parameters and parameter values, see https://www.dita-ot.org/dev/parameters/parameters_intro.html.
DITA-OT Parameter Types in Publishing Scenarios
When configuring a DITA-OT publishing scenario in Heretto CCMS, for each parameter, like transtype or args.filter, you specify a parameter type. You can choose from a few parameter types.
- String
Use the String parameter type to set a specific value for a specific parameter in the publishing scenario. For example, you can use it to set a fixed transtype or DITAVAL for a scenario. If you are using custom plugins, you can also use the String parameter type to refer to files in that plugin, for example templates or options files.
- Option
Use the Option parameter type to set multiple values for a parameter that has more than one value. As a result, users are presented with multiple options in the publishing scenario. The default option is the one listed first.
Additionally, you can specify the maximum number of options users can select in one publishing job.
- File picker
Use the File picker parameter type to set up a file selector for a parameter. When configured, users can select a file in the CCMS at the time of publishing. For example, a DITAVAL file or a custom image for a PDF cover.
- File reference
- The File reference parameter type is being retired. To set a path to a file located inside a toolkit, use the Toolkit file picker parameter type.
- Toolkit file picker
Use the Toolkit file picker parameter type to set a path to a file located inside an uploaded toolkit. This parameter uses an absolute path, meaning that it specifies the location of a file or folder from the root folder of the toolkit.
Important:Currently, the Toolkit file picker option is only compatible with toolkits uploaded to the CCMS on February 14, 2024 and later. We recommend that you reupload any toolkits you want to use with this option. If you attempt to use this option with a toolkit uploaded before this date, an error message will prompt you to reupload the toolkit.
Disable or Re-enable a DITA-OT Publishing Scenario
Any user with publishing permissions can use publishing scenarios. If you want to prevent users from using a publishing scenario but would like to keep it for reference, disable the scenario. You can re-enable a disabled scenario at any point in time.
To complete this procedure, you need to be an Administrator in Heretto CCMS.
- In the top-left corner, click the Main Menu and go to DITA-OT.
- Hover over a publishing scenario and click More actions .
- From the context menu, select an action:
- To disable a publishing scenario, select Disable.
- To enable a disabled publishing scenario, select Enable.
Delete a DITA-OT Publishing Scenario
You can delete redundant publishing scenarios. Deleted scenarios can't be restored. If you want to prevent users from using a publishing scenario but are unsure if the scenario should be deleted, disable the scenario. Disabled scenarios can't be used for publishing but are still available in the DITA-OT scenarios section to Administrators.
To complete this procedure, you need to be an Administrator in Heretto CCMS.
This action is irreversible. You cannot restore deleted publishing scenarios.
Deleting a publishing scenario does not delete or remove the DITA Open Toolkit that was associated with the scenario.
- In the top-left corner, click the Main Menu and go to DITA-OT.
- Hover over a publishing scenario and click More actions .
- From the context menu, select Delete.
- If prompted, confirm the deletion.