annotate_child

annotate_child

The annotate_child message is sent to rename a leaf or folder in a tree. This message requires the user to pass a string that represents the new name for the leaf or the folder.

Annotate a Node in the Tree


To annotate a node in the tree, the sequence of events is as follows:

  1. The client provides a new tooltip for a given leaf or folder.

  2. WORK server performs the following steps:

    1. Parses the leaf or folder index to obtain the key / table_cd

    2. Query WORKPLACE_ACCESS table for the table name associated with the table_cd.

    3. Update the WORKPLACE table with the new name for the leaf or folder.

 

  1. Client annotates the leaf or folder with the new tooltip.


annotate_child Request Message

This message requires the user to pass a string that represents the new tooltip for the leaf or folder. No additional attribute settings are necessary.
<message_body>
<work:annotate_child>
<node>\\asthma\55 </node>
<tooltip>Juvenile Asthma Set 1</tooltip>
</work:annotate_child>
</message_body>

annotate_child Response Message

A status type of DONE or ERROR is specified in the response header. No specialized message_body is returned to the client.

<ac:structured-macro ac:macro-id="34d68a09-7950-42e9-9003-466c688593dd" ac:name="children" ac:schema-version="2">
<ac:parameter ac:name="all">true</ac:parameter>
</ac:structured-macro>