Connect as parent: Implementing a parent-child relationship 
The gadget spec URL could not be found



In this section, we will create the parent-child relationship between ProductDetails-ProductColour and ProductColour-ProductSize data models. Follow the directions given below to create a parent-child relationship.



   ProductDetails - ProductColour



Open the "ProductColour" data model.
   
Select the "Product_Code" public cell.
   
Click on the "Connect" icon.


Select the "Reference Cell" option.
   



"Reference Cell Connection Wizard" will be displayed.
   
Select "ProductDetails" model from the list of data models.
   
Select "Product Code" as the display cell.
   
Clcik on the "Create" button.
   



A connection is established between ProductDetails and ProductColour via public cell Product_Code.
   
Select the "Connect as Parent" check box.
   
Click on the "OK" button to create the parent-child relationship.
   
 
We have successfully implemented the parent-child relationship between ProductDetails and ProductColour.

 

  ProductColour - ProductSize



Open the "ProductSize" data model.
   
Select the "Product_Code" public cell.
   
Click on the "Connect" icon.


Select the "Reference Cell" option.
   



"Reference Cell Connection Wizard" will be displayed.
   
Select "ProductColour" model from the list of data models.
   
Select "Product Code" as the display cell.
   
Clcik on the "Create" button.
   



A connection is established between ProductColour and ProductSize via public cell Product_Code.
   
Select the "Connect as Parent" check box.
   
Click on the "OK" button to create the parent-child relationship.

  How to create list box using static list for a public cell?


We have already created a static list for size. Now, we will implement the list box for Product_Size public cell in ProductSize data model.

Select the "Product _Size" public cell.
   
Click on the "Static List" icon.


"Static List Wizard" will be displayed.
   
 Select "Size" from the list displayed.
   
The list values for size are displayed.
   
Click on the "OK" button.


The list box is added to the Product_Size public cell.