Auto text codes allow you to automatically display information in a document, such as page numbers, the current date and time, and report filter details. For example, you add the auto text code {&DOCUMENT} to a document. When you view the document as a PDF, or display the document in Interactive, Express, or Flash Mode, the auto text code is automatically replaced with a text field containing the name of the document.
For a description of each auto text code, see the following:
For more information on and examples of auto text codes, see the MicroStrategy Report Services Document Creation Guide.
Open the document in Design or Editable Mode.
Expand the section where you want the auto text code by clicking the plus sign next to the section name.
Do one of the following:
To select
the auto text code from a list, from the Insert
menu, select Auto-text, then select
the auto text code to insert. A text field is added at the top left corner
of the selected section, although you can move the text field to any desired
position. The auto text information will appear inside the text field.
Note: To add an auto text code to an existing text field,
edit the text field (select it and press F2) and
then add the auto text. You may need to resize the text field to view
the auto text.
To type the auto text code manually, insert a blank text field and type the code within braces { }. As with data fields, if an object's name contains spaces or special characters, enclose it in square brackets [ ] within the braces.
When you view the document as a PDF, or display the document in Interactive, Express, or Flash Mode, the code is replaced with the information from the document or dataset.
Related topics