poINote GetExpandedText

Gets the expanded/evaluated version of the text for a note, if it contains any Templex statements.

Syntax

poINote_handle GetExpandedText

Application

HyperView Tcl Query

Description

This command returns a string after evaluating any Templex expressions if they are found in the note's text.

Example

To retrieve the expanded text of the model info. note in HyperView:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetNoteHandle note_handle 1;
set field_list [note_handle GetExpandedText]
hwi CloseStack

Errors

Returns an empty list if there is an error.