Configure and Manage DITA-OT Publishing Scenarios
Users assigned the Administrator role in Heretto CCMS can configure and manage DITA Open Toolkit (DITA-OT) publishing scenarios in Heretto CCMS. Any user with publishing permissions can use those publishing scenarios to generate output.
Create a DITA-OT Publishing Scenario in Heretto CCMS
DITA Open Toolkit (DITA-OT) publishing scenarios consist of two main building blocks: a DITA-OT and scenario parameters. You can use either a default or custom DITA-OT. Publishing scenarios are visible in the publishing interface to any user with publishing permissions.
To complete this procedure, you need to be an Administrator in Heretto CCMS.
This procedure explains how to get the most common DITA-OT publishing scenario configurations. For other configurations, see DITA-OT Parameters Options.
Set the required transformation type (transtype
) parameter
Set optional filtering with a DITAVAL
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.