Use variables for setting the Destination Path, Site path, Site Name, or File Name options
Last update: July 24, 2025
- Topics:
- Publishing
CREATED FOR:
- User
While generating outputs in AEM Sites or PDFs, you can use variables to define the Destination Path, Site path, AEM Site Name, or PDF File Name options. You can use a single or a combination of variables to define theses options.
The following table lists the variables that are supported out of the box:
| Variable | Final Destination Path | Example |
|---|---|---|
${map_filename} | Uses the DITA map files name to create the destination path. | DITA map file name:AEMGuides.ditamapDestination Path configured as: /content/output/sites/${map_filename}Final output location: /content/output/sites/aemGuides/AEMGuides.html |
${map_title} | Uses the DITA map title to create the destination path. | DITA map file name:AEMGuides.ditamapDITA map Title: AEMGuidesDestination Path configured as: /content/output/sites/${map_title}Final output location: /content/output/sites/AEMGuides/AEMGuides.html |
${preset_name} | Uses the output preset name to create the destination path. | Output Preset Name:AEM Guides PDF OutputDITA map file name: SampleDita.ditamapDestination Path configured as: /content/output/sites/${preset_name}Final output location: /content/output/sites/AEM Guides PDF Output/SampleDita.html |
${language_code} | Uses the language code where the map file is located to create the destination path. | DITA map file name:SampleDita.ditamapDITA map file path: /content/dam/projects/AEM-Guides/en/user-guide/Destination Path configured as: /content/output/sites/${language_code}Final output location: /content/output/sites/en/SampleDita.html |
${map_parentpath} | Uses the complete path of the map file to create the destination path. Note:This variable cannot be used to specify the AEM Site Name or PDF File Name. | DITA map file name:SampleDita.ditamapDITA map file path: /content/dam/projects/AEM-Guides/en/user-guide/Destination Path configured as: /content/output/sites/${map_parentpath}Final output location: /content/output/sites/content/dam/projects/AEM-Guides/en/user-guide/SampleDita.html |
${path_after_langfolder} | Uses the path of the map file after the language folder to create the destination path. Note: This variable cannot be used to specify the AEM Site Name or PDF File Name. | DITA map file name:SampleDita.ditamapDITA map file path: /content/dam/projects/AEM-Guides/en/user-guide/Destination Path configured as: /content/output/sites/${path\_after\_langfolder}Final output location: /content/output/sites/user-guide/SampleDita.html |
${system_date} | Uses the current server date to create the destination path. | DITA map file name:SampleDita.ditamapDITA map file path: /content/dam/projects/AEM-Guides/en/user-guide/Destination Path configured as: /content/output/sites/${system_date}Final output location: / content/output/sites/08252023/SampleDita.html |
${system_time} | Uses the current server time to create the destination path. | DITA map file name:SampleDita.ditamapDITA map file path: /content/dam/projects/AEM-Guides/en/user-guide/Destination Path configured as: /content/output/sites/${system_time}Final output location: /content/output/sites/055612/SampleDita.html |
In addition, you can also use the metadata defined for the DITA map or bookmap file as variables. The metadata can be found under the /jcr:content/metadata node of the DITA map or bookmap file. For example, one of the metadata properties define in the /jcr:content/metadata node is dc:title. You can specify ${dc:title} and the title value is used in the final output.
Parent topic:Output generation
Previous pageManage Global and Folder Profile output presets
Next pagePass on the metadata to the output using DITA-OT
Experience Manager
- AEM Guides overview
- Disclaimer
- Release Information
- AEM Guides releases roadmap
- Release Notes
- Cloud Services
- Deployment Instructions
- 2025 Releases
- 2024 Releases
- 2023 Releases
- 2022 Releases
- On-prem/Managed Services
- Cloud Services
- User Guide (New UI)
- Introduction
- Home page
- Author content
- Authoring overview
- Ways to Author content using AEM Guides
- Editor
- Introduction to the Editor
- Launch the Editor
- Edit topics in the Editor
- Topic creation and preview
- Know the Editor interface and features
- Additional features in the Editor
- Keyboard shortcuts in the Editor
- Editor views
- Support for Schematron files
- Author Markdown documents from the Editor
- Add citations to your content
- Use data from your data sources
- Document state
- Use labels
- Map Editor
- DITAVAL editor
- Desktop tools for authoring content
- Review content
- Introduction to review
- Create a DITA project
- Send topics for review
- Review topics
- Reassign review task using notification
- Complete the review task as a Reviewer
- Address review comments
- Close or request re-review for a review task
- Manage review tasks using the Review Dashboard
- View a completed review task
- Understanding review notifications
- Collaborate using Adobe Workfront
- Metadata and tagging
- Map management and publishing
- Map console overview
- Open files in Map console
- Reports
- Content translation
- Output Generation
- Output generation basics
- Output presets in AEM Guides
- Edit, duplicate, or delete an output preset
- Conditionalize content
- Use Baseline
- Manage Global and Folder Profile output presets
- Use variables for setting the Destination Path, Site Name, or File Name options
- Pass on the metadata to the output using DITA-OT
- Generate output
- Use Map Collection for output generation
- Manage output generation process
- Manage publish tasks using the Publish Dashboard
- Basic troubleshooting
- FAQ about publishing workflow and scalability
- Bulk activation of content
- Output generation of FrameMaker Documents
- AI Assistant in AEM Guides
- Manage Learning Content
- Appendix
- User Guide (Old UI)
- Installation and configuration
- On-premise
- On-premise basics
- Download, install, and upgrade
- Work with user groups and security
- Content migration
- Work with custom DITA-OT and specialization
- Configure post processing for a folder
- Configure filenames
- Configure auto-filenames based on UUID
- Configure Regx for valid file name characters
- Configure valid file names for AEM Site output
- Work with topic and map templates
- Work with document states
- Editor settings
- Work with the Web Editor configurations
- Customize Web Editor
- Customize toolbar
- Configure default value for the Tags View
- Configure the title for Check in and Check out icons
- Configure display of UUID-based links
- Open DITA topic or map files in same tab
- Configure a custom panel in the left panel
- Configure file auto-save in the Web Editor
- Configure filters for file browse dialog
- Configure prompt to save as a new version on close
- Configure prompt to check in a file on close
- Configure allowed special characters
- Auto-generate element IDs
- Customize AEM’s default dictionary
- Configure text filters
- Configure the number of LimitReads for a query
- Install packages for Article-based publishing
- Configure a data source connector from the user interface
- Set the Advanced Map Editor as default
- Include @navtitle attribute by default
- Configure the option to edit in Oxygen
- Configure additional special characters
- Work with global and folder-level profiles
- Configure versions
- Work with desktop-based XML editors
- Work with output generation settings
- Configure output generation settings
- Download and install aem sites templates
- Overlay HTML tags in AEM Sites output
- Native PDF Publishing
- Configure JVM flags for Native PDF Publishing
- Configure Base Output Location for publishing output
- Configure and customize workflows
- Work with translation configurations
- Work with AEM Assets search
- Work with Asset processing
- Work with B-tree cleanup
- Appendix
- Cloud Services
- About this guide
- Deploy and configure AEM Guides as Cloud Service
- Work with user groups and security
- Content migrate
- Work with custom DITA-OT and specialization
- Configure UUID and non-UUID based filenames
- Work with topic and map templates
- Work with document states
- Configure Workspace settings
- Work with the Web Editor configurations
- Customize Web Editor
- Customize toolbar
- Configure the AI-powered smart suggestions for authoring
- Configure the AI-powered Smart Help to search content
- Configure default value for the Tags View
- Configure display of UUID-based links
- Configure display of pasted tables
- Open DITA topic or map files in same tab
- Configure a custom panel in the left panel
- Configure file auto-save in the Web Editor
- Configure prompt to save as a new version on close
- Configure prompt to check in a file on close
- Configure allowed special characters
- Auto-generate element IDs
- Customize AEM’s default dictionary
- Configure text filters
- Configure filters for file browse dialog
- Install packages for Article-based publishing
- Configure single topic PDF generation
- Configure Translation feature in the Web Editor
- Configure a data source connector
- Configure a data source connector from the user interface
- Set the Advanced Map Editor as default
- Include @navtitle attribute by default
- Work with global and folder-level profiles
- Configure versions
- Work with desktop-based XML editors
- Configure Workfront
- Work with output generation settings
- Configure output generation settings
- Download and install aem sites templates
- Native PDF Publishing
- Configure Node process for Native PDF Publishing
- Create a mapping between a topic and a content fragment
- Create a mapping between a topic and an experience fragment
- Configure Base Output Location for publishing output
- Work with custom workflows
- Work with translation configurations
- Work with AEM Assets search
- Work with Asset processing
- Work with B-tree cleanup
- Appendix
- On-premise
- API Reference
- Introduction
- REST APIs for Output management
- REST API to work with DITA maps
- REST API to register a data source connector
- REST API to work with conditional attributes
- REST APIs for conversion workflow
- REST API for creating and activating packages
- Post-processing event handler
- API to track post processing status for a folder or an asset
- API to start bulk processing for assets
- Bulk activation complete event handler
- Conversion process event handler
- Knowledge Base
- Expert Session
- Expert Session Overview
- Translate content
- Manage content using baselines
- Author web-based content
- Native PDF publishing essentials
- Reports in AEM Guides
- Content and Template setup
- Learning native PDF publishing - part 1
- Learning native PDF publishing - Hands on lab - BYOS
- Extension Framework of AEM Guides
- External Datasource Integration
- Translate content in Guides - part 2
- Define, Manage and Utilize Metadata
- AEM Sites output variations
- Deployment options and migration to Cloud
- Migrate content from non-uuid to UUID
- Delta content migration
- Smarter PDF Publishing with Native PDF
- New UX and AI Capabilities in AEM Guides
- Publishing in AEM Guides
- Articles
- Authoring
- Guides Extention Framework
- External data source
- Publishing
- Workflows
- Translation
- Use Cases
- Expert Session