Document Types > Creating Aliases > Applying an Alias Map to a Document
Applying an Alias Map to a Document
Once you have created an alias map in Arbortext Architect, you can apply it to a document in Arbortext Editor.
To apply an alias map to a document:
1. Open Arbortext Editor.
2. Choose File > New and select a document type or choose File > Open to select an existing document.
3. Choose Tools > Administrative Tools > Aliases.
4. In the Select Alias Map dialog box, choose the alias map you want to apply to the document. The dialog box lists all the alias maps located in the same directory as the document type.
Alias maps are associated with a specific document type, not a document. Therefore, an alias map will be applied to all open documents with the same document type as the document in which you apply the alias map. The alias map will also be applied to any documents with the same document type that you open during the session in which you applied the alias map.
When you apply an alias map, aliases replace the real names of elements, attributes, and attribute values in the Edit window and dialog boxes. In addition, many ACL commands and functions can accept both real names and aliases. However, ACL functions that return element names, attribute names, or attribute values will always return real names.
When you assign an alias map to a document type, the assignment only applies to the current session. The alias map is not saved with a document type when you save a document to which it is applied. If you want to use an alias map as the default for a document type, you must specify it in the document type's command file using the set aliasmap command.