Secure Global Desktop Administration Guide > Applets > isDocument (webtop script and webtop tray applets)
String isDocument(String objectName)
Returns "TRUE" if the object is a document; otherwise, it returns "FALSE".
objectName is the full TFN name of an object on the user's webtop.
This method can be used with either the webtop script applet or the webtop tray applet.
verdict = applet.isDocument(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List"); if (verdict == "TRUE") alert("The object is a document!"); else alert("The object is NOT a document!");
Displays a dialog indicating whether the Phone List object is a document or not.
Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.