@ShowParentPreview (Formula Language)

Displays the parent document preview pane.

Syntax

@ShowParentPreview

Usage

A document must be open in Read or Edit mode.

This command does not work on the Web.

Examples

  1. This formula, placed in a button on a document, displays the parent preview pane when the button is clicked. If the current document is not a response, the preview pane will display the text, "Document is not a response."
    @ShowParentPreview
  2. When a button on a document containing this formula is clicked, it displays the parent of the current document in the preview pane if the current document is a response document. If the current document is not a response document, the preview pane will not display, and an informational box pops up informing the user that parent preview only works for response documents.
    @If(@IsResponseDoc;@ShowParentPreview;
    @Prompt([Ok];"Not a response document";
    "Parent preview only works for response documents."))