Functions are used in ISML Expressions to perform a specific task and return a specific value when the template is processed to generate its output. ISML functions are, for example, used to dynamically generate URLs for links to other storefront pages (url()
, urlex()
), or to operate on strings.
ISML functions can be categorized into the following groups:
url(), urlex(), ISML Function - action(), ISML Function - parameter(), webRoot(), webRootEx(), ISML Function - ContentURL(), ISML Function - ContentURLEx(), ISML Function - sessionlessurl(), ISML Function - sessionlessurlex()
ISML Function - stringToHtml(), ISML Function - stringToXml(), ISML Function - stringToWml(), ISML Function - getValue(), ISML Function - encodeValue()
ISML Function - hasElements(), ISML Function - hasLoopElements(), ISML Function - isSSSenabled(), ISML Function - isDefined(), ISML Function - hasNext(), ISML Function - existsTemplate()
ISML Function - pad(), ISML Function - trim(), ISML Function - lcase(), ISML Function - ucase(), ISML Function - len(), ISML Function - split(), ISML Function - replace(), ISML Function - stringToHtml(), ISML Function - stringToWml(), ISML Function - stringToXml(), ISML Function - val()
ISML Function - getHeader(), ISML Function - getCookie(), ISML Function - localizeText(), ISML Function - localizeTextEx(), ISML Function - paramMap(), ISML Function - paramEntry()
Title | Product Version | Product To Version | Short Description |
---|---|---|---|
ISML Function - ucase() | 6.5 |
| returns a string that is converted to uppercase |
ISML Function - val() | 6.5 |
| returns the numbers contained in a string in floating point representation |
ISML Function - action() | 6.5 |
| generates parts of a URL string (requested pipeline, server group, domain, locale, currency, application type) |
ISML Function - ContentURL() | 6.5 |
| reference static content in the static content directory of the current unit |
ISML Function - ContentURLEx() | 6.5 |
| returns an absolute URL to reference static content |
ISML Function - effectiveConfigurationParameter() | 7.10 | gets a specific configuration parameter from a pagelet; with sharing and overriding | |
ISML Function - encodeValue() | 7.5 |
| encodes characters for a target document type |
ISML Function - existsTemplate() | 6.5 |
| checks whether a template exists in the context of the current site or not |
ISML Function - getCookie() | 6.5 |
| returns the value of a cookie containing a request's path data |
ISML Function - getHeader() | 6.5 |
| returns the value of a request header field of the current request |
ISML Function - getValue() | 6.5 |
| formats the result of an ISML expression |
ISML Function - hasElements() | 6.5 |
| checks whether an iterator stored in the pipeline dictionary contains any elements |
ISML Function - hasLoopElements() | 6.5 |
| checks whether an iterator stored in the pipeline dictionary contains any elements |
ISML Function - hasNext() | 6.5 |
| checks whether the iterator instance currently used in a loop contains any elements |
ISML Function - isDefined() | 6.5 |
| checks if an ISML expression results in a valid existing value |
ISML Function - isSSSenabled() | 6.5 |
| checks whether or not server-side scripting is enabled for the current store |
ISML Function - lcase() | 6.5 |
| returns a string converted to lowercase |
ISML Function - len() | 6.5 |
| returns the number of characters in a string |
ISML Function - localizeText() | 6.5 |
| returns the plain text behind a given language neutral key |
ISML Function - localizeTextEx() | 6.5 |
| returns the plain text behind a given language neutral key |
ISML Function - pad() | 6.5 |
| allows to align text left-justified or right-justified in a field |
ISML Function - paramEntry() | 6.5 |
| in combination with the paramMap(), provides a key-value pair for the <ISPIPELINE> tag |
ISML Function - parameter() | 6.5 |
| returns an encoded URL key-value pair that is used to transmit data to the requested pipeline |
ISML Function - paramMap() | 6.5 |
| in combination with the paramEntry(), provides parameter sets for the <ISPIPELINE> tag |
ISML Function - pwaUrl() | 7.10 | generates a URL that is part of a link to the PWA application | |
ISML Function - replace() | 6.5 |
| changes seperators between string values of attributes |
ISML Function - servlet() | 6.5 |
| generates dynamic content via servlets |
ISML Function - sessionlessurl() | 6.5 |
| generates URLs as part of a link without session ID dynamically |
ISML Function - sessionlessurlex() | 6.5 |
| generates URLs as part of a linkwithout session ID dynamically |
ISML Function - split() | 6.5 |
| splits the value of a complex string variable into individual elements |
ISML Function - stringToHtml() | 6.5 |
| converts any special characters into their appropriate HTML encoding sequences and returns them |
ISML Function - stringToWml() | 6.5 |
| converts any special characters into their appropriate WML encoding sequences and returns them |
ISML Function - stringToXml() | 6.5 |
| converts any special characters into their appropriate XML encoding sequences and returns them |
ISML Function - trim() | 6.5 |
| strips white space from the beginning and end of a string |
ISML Function - url() | 6.5 |
| generate a URL that is part of a link dynamically (HTTP) |
ISML Function - urlex() | 6.5 |
| generate a URL that is part of a link dynamically (HTTPS) |
ISML Function - WebRoot() | 6.5 | references static content within ISML templates | |
ISML Function - WebRootEx() | 6.5 | references static content within ISML templates, returns an absolute URL |