poINote GetFieldList

Gets the list of valid field names for a note.

Syntax

poINote_handle GetFieldList

Application

HyperView Tcl Query

Description

This command returns a list of valid field names and descriptions for the given attachment type. The field names can then be used in the SetText command and will be expanded as Templex variables when the note is drawn.

Example

To retrieve the field list for a note whose ID is 2:
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 2;
set field_list [note_handle GetFieldList]
hwi CloseStack

Error

Returns an empty list if there is an error.