Salesforce

Generating a Data Tree (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Generating a Data Tree (Magic xpa 4.x)

The following runtime behavior occurs when an Online task containing a Tree control on the task’s main form is opened:

  1. The data view range is calculated.

  2. If the root value exists, the runtime engine displays the root value as the top parent node and fetches the record from the database.

  3. The initial expand level for the tree is determined by the value selected for the Auto Expand or Single Expand properties.

  4. When the Node Preload property is set to Yes, the runtime engine loads the data of all the records in the task data view. If No is selected, the runtime engine only loads the data of expanded records. Note that this property specifies how the data is loaded at runtime.

  5. For each retrieved record, a new node is added to the tree with the relevant node’s GUI data. Steps 3 and 4 will be repeated for all the records specified by the Auto Expand property.

Reference
Attachment 
Attachment