JSON id231KK0180T4
Perform the following steps to create the JSON preset from the Map console:
-
Open a DITA map file in the Map console.
You can also access the map file from the Recent files widget in the Overview section. The selected map file would open in Map console.
-
In the Output presets tab, select the + icon to create an output preset.
-
Select JSON from the Type dropdown in the New output preset dialog box.
-
In the Name field, provide a name to this preset.
-
Select the Add to current folder profile option to create an output preset within the current folder profile. The
Learn more about Manage Global and Folder profile output presets.
-
Select Add.
The JSON preset is created.
Once the preset is created, you can configure the following preset configurations that are available under the the General tab.
- Output path
- Index file
- Apply conditions using (If the conditions are defined for a map)
- Use Baseline (If a baseline is created for a map)
- Retain temporary files
- Properties to propagate in the Output
- Post generation workflow
For details, refer to JSON configuration.
JSON configuration
The following options are available for the JSON preset:
map_filename_index.json
).You can also use variables while setting the Index File. For more details about using variables, view Use variables for setting the Destination Path, Site Name, or File Name options.
* None applied: Select this option if you do not want to apply any condition on the published output.
* DITAVAL file: Select DITAVAL file(s) to generate personalized content. You can select multiple DITAVAL files using the browse dialog or by typing file path. Use the cross icon near the file name to remove it. DITAVAL files are evaluated in the order specified, so the conditions specified in the first file take precedence over the matching conditions specified in later files. You can maintain the file order by adding or deleting files. If the DITAVAL file is moved to some other location or is deleted, it is not automatically deleted from the map dashboard. You need to update the location in case files are moved or deleted. You can hover over the file name to view the path in the AEM repository where the file is stored. You can only select DITAVAL files and an error is displayed if you have selected any other file type.
* Condition preset: Select a condition preset from the drop-down to apply a condition while publishing the output. The option is visible if you have added a condition present in the Condition Presets tab of the DITA map console. To know more about condition preset, view Use condition presets.
View Work with Baseline for more detail.
After generating the output, select the Download temporary files
Note: If file properties are added during generation, the output temporary files also include a metadata.xml file containing those properties.
Note: You can also define custom properties and pass on the metadata to the output using DITA-OT publishing. For more details view, Work with metadata.
Note: For more information about creating a custom post-output generation workflow, view Customize post-output generation workflow in the Install and configure 51黑料不打烊 Experience Manager Guides as a Cloud Service guide.
Parent topic:Understanding the output presets