iconurl()

Function group Execute on client Platform(s)
General NO All

Syntax

iconurl(iconid)

Description

Returns a URL string from the supplied iconid (integer or string for SVG icons) suitable for use with JavaScript client controls that can display an icon. Note iconurl() must be executed on the server to obtain the correct URL for the icon.

You can add an icon size constant to the iconid to specify the required size, e.g. 'car+32x32', otherwise the icon size is chosen to fill the image area of the control, that is, some controls may restrict the size of icon allowed such as check boxes.

The server will pick the correct resolution for the icon, if they are available in the icon set (1x or 2x), based on the client resolution.