MicroStrategy ONE
Auto text codes for document information
The following table lists the auto text codes that display information about the document.
Description |
Code |
Comments |
---|---|---|
{&PAGE} |
Current page number |
|
{&PAGES} |
Total number of pages in the document or in the group's section |
|
Date & Time |
{&DATETIME} |
Current date and time of the client machine when the PDF was generated You can format this auto text code like any other date and time text field. In the Property List, click ... (the browse button) next to the Number formatting setting. You can use this property to show just the date or the time. |
Current user |
{&USER} |
Full name, not MicroStrategy Developer login, of the user who generates the PDF |
Document name |
{&DOCUMENT} |
Name of the document as stored in the project |
Document description |
{&DESCRIPTION} |
Short description of the document |
Document inbox title |
{&TITLE} |
The name of the document instance If you send a document to the History List, you can rename that instance of the document. This auto text code displays that name, rather than the document name stored in the project. |
Document execution time |
{&EXECUTIONTIME} |
Date and time that the document was executed You can format this auto text code like any other date and time text field. In the Property List, click ...(the browse button) next to the Number formatting setting. You can use this property to show just the date or the time. |
{&NOTES} |
Notes added to the document. For background information on notes, see Document Editor: Notes pane. |
|
Project name |
{&PROJECT} |
Name of the project in which the document is stored |
Prompts |
{&PROMPT1&} {&PROMPT2&} : {&PROMPTn&} |
User's answers to each prompt in the document, identified by number If n is greater than the number of prompts in the document, the code cannot be replaced with pertinent information. Therefore the code itself is displayed in the PDF. |
Prompt details |
{&PROMPTDETAILS} |
Details for all the prompts in the documents You can define how this auto text code is displayed (for example, if the prompt name is shown). For details, see Configuring the report prompt details auto text code. |
MicroStrategy Web Server |
{&WEBSERVER} |
Path of the Web Server being used, if the document is executed in MicroStrategy, otherwise the value in project configuration |
To differentiate between Date and Time and Document execution time, do the following:
-
Run a document and send it to the History List.
-
Each time you retrieve the document from the History List, the PDF is regenerated. The Date and Time change each time, but the Document execution time does not change.