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 | DITA-OT Cloud always looks for the Antenna House components in an /ah-formatter folder in the toolkit folder. There's no need to declare the PDF formatter or its location. |
Setting parameters for custom fonts or other custom files | Specify the full database path in the CCMS | Specify the path within the toolkit folder. For example, for custom fonts, use custom-fonts/myCustomFont.ttf. For a custom file, use a path that specifies the custom folder location and the file name. |
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.
The custom Word templates are located in the WordTemplates folder.
Migrate Publishing Scenarios
Open a legacy DITA-OT publishing scenario
Create a new DITA-OT Cloud publishing scenario
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.
Figure 3. String Used to Set a Fixed Transtype. With this setting, output type in the publishing scenario is always set to pdf and users can't change that in the publishing interface.
Figure 4. String Used to Set a Fixed DITAVAL. With this setting, DITAVAL in the publishing scenario is always set to a specific DITAVAL and users can't change that in the publishing interface. You specify the DITAVAL by adding its universally unique identifier (UUID) in the Enter value field. See Get a Resource UUID.
Figure 5. String used to specify a file in custom plugin. Some custom plugins may have specific files that are needed when publishing. You can refer such a file with a string parameter type. Note that the path is set from the root of the DITA-OT, not the CCMS.
- 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.
Figure 6. Option Used to Set Four Transtypes. With this setting, the publishing scenario enables users to get from one to four output types in one publishing job. If a user selects no option, the scenario defaults to the first output type, here pdf.
- File picker
Use the File picker parameter type to set a file selector for a parameter. As a result, users can select a file at the time of publishing in the publishing scenario. For example, a DITAVAL file or a custom image for the PDF cover.
Figure 7. File picker Used to Set a DITAVAL Selector. With this setting, the publishing scenario enables users to select a DITAVAL file from the Content Library.
- File reference
- Use the File reference parameter type to set a path to a file located inside a toolkit. The value cannot be edited while publishing.Important:
There's a known issue related to this option. Please do not use it until we resolve the issue. As a workaround, you can use the String parameter type to specify a file located in a 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.
Figure 8. Disabled publishing scenarios are not visible in the publishing interface - To enable a disabled publishing scenario, select
Enable.
Figure 9. Enabled publishing scenarios are visible in the publishing interface
- To disable a publishing scenario, select
Disable.
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.
-
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.