Skip past navigation linksSecure Global Desktop Administration Guide > Applets > getObjectImageNameByName (webtop script and webtop tray applets)

getObjectImageNameByName (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString getObjectImageNameByName(String objectName)

Description

Returns the name of the image associated with the specified link. This is the icon Secure Global Desktop displays as part of the link if the webtop tray applet's ShowIcon parameter has the value true.

This image is specified by the associated object's Webtop Icon attribute. The information returned depends on the attribute's value:

objectName is the full TFN name of an application on the user's webtop.

This method can be used with either the webtop script applet or the webtop tray applet.

Examples

Skip past command syntax or program codeimageName = applet.getObjectImageNameByName(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
alert("The image name is: " + imageName);

Displays the image name associated with the Phone List application.

Related topics