Include @navtitle attribute by default id2115BC0J0XA
You can add different types of reference files in a map, for example topic, reference, task, (sub) maps, and so on. Most of these files support the @navtitle
attribute. However, not many authors use it consistently. If you want to enforce usage of the @navtitle
attribute in all referenced files in a map, then you can do so with a simple configuration.
Once enabled, every reference file that you add in a map will automatically get the @navtitle
attribute added to its properties. The @navtitle
will also get the value of the title
element of the referenced content.
To include @navtitle
attribute by default in reference files’ properties, perform the following steps:
-
To download the UI configuration file log into Adobe Experience Manager as an administrator.
-
Click on the Adobe Experience Manager link at the top and choose Tools.
-
Select Guides from the list of tools and click the Folder Profiles.
-
Click on the Global Profile tile.
-
Select the XML Editor Configuration tab and click Edit icon on the top
-
Click the Download icon to download the ui_config.json file on your local system.
-
You can make this change at the Global level or at a folder level profile. Depending on where you want to make this change, you need to download the respective ui_config.json file. For more information about downloading ui_config.json file, see Configure and customize the XML Web Editor.
-
Search for the
ditaAttributes
definition.The default definition of
ditaAttributes
is:code language-none "ditaAttributes": { "attributes": [], "constraint": false, "required": {} },
-
Change the
required
parameter as:code language-none "required": {"navtitle": true}
-
Save the file.
-
Upload the file in the corresponding profile (Global or Folder).
With this configuration, every reference file that you add to a map will contain the @navtitle
attribute by default.
Parent topic:Customize Web Editor