import_text_block

The function import_text_block imports a stored XML Text Block structure so that it can be used in the Master Template run.

 import_text_block ( "<?xml ... >")

The result of this function is a value of type TEXT that contains a reference to a Text Block. This Text Block reference can be used in the parameter VAR of the statement TEXTBLOCK or as the default value of an EDITABLE_TEXTBLOCK question in a FORM. The Text Block reference is in an unspecified format, and it is valid only during the current Master Template run.

The parameter to the function import_text_block should be an XML representation of a Text Block that was retrieved from a KCM Core XML metadata file. When KCM Core completes a Master Template run, all answers to FORM questions are stored in an XML metadata file including the answers to EDITABLE_TEXTBLOCK questions. For more information on KCM Core XML metadata, see the Kofax Communications Manager Core Developer's Guide.