Script functions reference > Script functions in alphabetical order > M > MsgBlockId

MsgBlockId
Syntax
MsgBlockId(travhandl);
travhandl
Description
Returns the name of the current block.
Returns
string
Example
In this example, the Message contains the blocks blkA, blkB, and blkC structured as shown in the figure below.Click to enlarge
The following Before Frame script in a PageOUT Process returns the name of the first child block in the first instance of block blkA:
$handle=MsgFrameOpen("blkA:1/*", 0);
$blockID=MsgBlockId($handle);
OpenText StreamServe 5.6 Updated: 2013-03-01