Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods >

GetChild Method

This method returns a specified child property set of a property set.





An integer representing the index number of the child property set to be retrieved


The property set at index index of the parent property set


When child property sets are created, each is given an index number within the parent property set, starting at 0. Property sets added using AddChild get the next available index number. However, a property set added using InsertChildAt inserts a new property set at a specified index. The property set previously at that index and all property sets after it have their indexes increased by 1. Similarly, a property set removed using RemoveChild decreases the indexes of following child property sets by 1.

Used With

Browser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script, Web Client Automation Server

NOTE:  When using the Web Client Automation Server, the child object retrieved is a copy of the actual object. Any update to the object retrieved will not update the originating object.


This Siebel eScript example sets the Name property of child property sets to the same value:

function Test1_Click ()
   var Account = TheApplication().NewPropertySet();
   var Opportunity = TheApplication().NewPropertySet();
   var Contact = TheApplication().NewPropertySet();
   var Activity = TheApplication().NewPropertySet();
   var j;


   for (var i = 0; i < Account.GetChildCount(); i++)
      j = Account.GetChild(i);
      j.SetProperty('Name', 'Allied Handbooks');

Related Topics

AddChild Method
InsertChildAt Method

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.