2) Children

This Blog entry is from the Getting Started in Jube section in Learn Jube.

Children roll up to the Parents and they are administered via a common user interface spanning the platform. In this example, a Request XPath will be added to an Entity Model (whereby the Entity Model was used as an example of a Parent object previously). The Request XPath page is available by navigating to Entity Models >>> References >>> Request XPath:

1.PNG

Navigation around children takes place via a tree control, where each parent is represented as the upper level of the tree object. In the following example, it can be seen that each parent is the top level of the tree:

2.PNG

To expand on the top most level to expose children, simply click on the triangle icon next to the parent name:

3.PNG

On clicking the triangle icon, a list of all children rolling up to the parent will be revealed:

4.PNG

To add a child object, click on the parent entry in the tree for which you wish to create the child, exposing a blank for for the creation of a child object in the right hand pane:

5.PNG

Upon completing each field required of the child object in right hand panel, clicking the Add button at the base of the form will commit the object:

6.PNG

Confirmation of the object having been committed will be returned care of the Add button disappearing and being replaced with an Update and Delete button, alongside confirmation of the version and created date:

7.PNG

If the tree is expanded, the new entry will be added to that tree, otherwise the new entry can be viewed by expanding as aforementioned:

8.PNG

To update a child object, start by expanding on the tree as described in the Navigate subsection of this section of the documentation, then click on the child entry to be edited:

9.PNG

Alter the values of the child object as required, then click the Update button to commit the changes:

10.PNG

Upon clicking Update, confirmation of a change to the child object is received by the Version being incremented by one:

11.PNG

As with update, to delete a child object, start by expanding on the tree as described in the Navigate subsection of this section of the documentation, then click on the child entry to be deleted. Upon the child object being expanded into the right hand pane, click on the Delete button to confirm that this child object requires deletion:

12.PNG

Upon clicking Delete, a prompt will be displayed which will ask for confirmation of this delete:

13.PNG

Upon confirmation being given, the delete will take place. The entry on the left hand pane will be removed from the tree if it is still expanded, whereas the right hand pane will write out further confirmation of the delete having taken place:

13.PNG