Secure Global Desktop Administration Guide > Applets > getNumberOfObjectsInGroup (webtop script and webtop tray applets)
int getNumberOfObjectsInGroup (String groupName, String objectType)
Returns a count of objects from an open application group.
groupName is the full TFN name of the application group from which to obtain the count.
objectType defines which objects are included in the count, and may be "GROUPTYPE", "ALLTYPE", "APPLICATIONTYPE" or "DOCUMENTTYPE".
Note To use this method, the UseHierarchy
parameter must be set to true
.
This method can be used with either the webtop script applet or the webtop tray applet.
obNumber = applet.getNumberOfObjectsInGroup(".../_ens/o=Indigo Insurance/cn=Applications", "DOCUMENTTYPE"); alert("The number of documents in the Applications group is: " + obNumber);
Displays the number of documents in the Applications group.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.