Reference - ISML Functions

1 Introduction

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:

1.1 Functions to Build URLs

url(), urlex(), ISML Function - action(), ISML Function - parameter(), webRoot(), webRootEx(), ISML Function - ContentURL(), ISML Function - ContentURLEx(), ISML Function - sessionlessurl(), ISML Function - sessionlessurlex()

1.2 Functions for Formatting Values of Expressions

ISML Function - stringToHtml(), ISML Function - stringToXml(), ISML Function - stringToWml(), ISML Function - getValue(), ISML Function - encodeValue()

1.3 Functions for Checking the Existence of Variables, Templates, and Store Properties

ISML Function - hasElements(), ISML Function - hasLoopElements(), ISML Function - isSSSenabled(), ISML Function - isDefined(), ISML Function - hasNext(), ISML Function - existsTemplate()

1.4 Functions to Manipulate Strings

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()

1.5 Functions to Retrieve Data

ISML Function - getHeader(), ISML Function - getCookie(), ISML Function - localizeText(), ISML Function - localizeTextEx(), ISML Function - paramMap(), ISML Function - paramEntry()

1.6 References

Reference - ISML Expressions

2 ISML Functions

TitleValid FromValid ToDescriptionLastmodified
ISML Function - ucase()6.5 returns a string that is converted to uppercase2020/02/04 13:16:20
ISML Function - val()6.5 returns the numbers contained in a string in floating point representation2020/02/04 13:16:21
ISML Function - action()6.5 generates parts of a URL string (requested pipeline, server group, domain, locale, currency, application type)2020/02/04 13:16:21
ISML Function - ContentURL()6.5 reference static content in the static content directory of the current unit2020/02/04 13:16:22
ISML Function - ContentURLEx()6.5 returns an absolute URL to reference static content2020/02/04 13:16:22
ISML Function - encodeValue()7.5 encodes characters for a target document type2020/02/04 13:16:23
ISML Function - existsTemplate()6.5 checks whether a template exists in the context of the current site or not2020/02/04 13:16:24
ISML Function - getCookie()6.5 returns the value of a cookie containing a request's path data2020/02/04 13:16:24
ISML Function - getHeader()6.5 returns the value of a request header field of the current request2020/02/04 13:16:25
ISML Function - getValue()6.5 formats the result of an ISML expression2020/02/04 13:16:26
ISML Function - hasElements()6.5 checks whether an iterator stored in the pipeline dictionary contains any elements2020/02/04 13:16:26
ISML Function - hasLoopElements()6.5 checks whether an iterator stored in the pipeline dictionary contains any elements2020/02/04 13:16:27
ISML Function - hasNext()6.5 checks whether the iterator instance currently used in a loop contains any elements2020/02/04 13:16:28
ISML Function - isDefined()6.5 checks if an ISML expression results in a valid existing value2020/02/04 13:16:28
ISML Function - isSSSenabled()6.5 checks whether or not server-side scripting is enabled for the current store2020/02/04 13:16:29
ISML Function - lcase()6.5 returns a string converted to lowercase2020/02/04 13:16:30
ISML Function - len()6.5 returns the number of characters in a string2020/02/04 13:16:30
ISML Function - localizeText()6.5 returns the plain text behind a given language neutral key2020/02/04 13:16:31
ISML Function - localizeTextEx()6.5 returns the plain text behind a given language neutral key2020/02/04 13:16:31
ISML Function - pad()6.5 allows to align text left-justified or right-justified in a field2020/02/04 13:16:32
ISML Function - paramEntry()6.5 in combination with the paramMap(), provides a key-value pair for the <ISPIPELINE> tag2020/02/04 13:16:33
ISML Function - parameter()6.5 returns an encoded URL key-value pair that is used to transmit data to the requested pipeline2020/02/04 13:16:34
ISML Function - paramMap()6.5 in combination with the paramEntry(), provides parameter sets for the <ISPIPELINE> tag2020/02/04 13:16:34
ISML Function - replace()6.5 changes seperators between string values of attributes2020/02/04 13:16:35
ISML Function - servlet()6.5 generates dynamic content via servlets2020/02/04 13:16:36
ISML Function - sessionlessurl()6.5 generates URLs as part of a link without session ID dynamically2020/02/04 13:16:36
ISML Function - sessionlessurlex()6.5 generates URLs as part of a linkwithout session ID dynamically2020/02/04 13:16:37
ISML Function - split()6.5 splits the value of a complex string variable into individual elements2020/02/04 13:16:38
ISML Function - stringToHtml()6.5 converts any special characters into their appropriate HTML encoding sequences and returns them2020/02/04 13:16:39
ISML Function - stringToWml()6.5 converts any special characters into their appropriate WML encoding sequences and returns them2020/02/04 13:16:39
ISML Function - stringToXml()6.5 converts any special characters into their appropriate XML encoding sequences and returns them2020/02/04 13:16:40
ISML Function - trim()6.5 strips white space from the beginning and end of a string2020/02/04 13:16:41
ISML Function - url()6.5 generate a URL that is part of a link dynamically (HTTP)2020/02/04 13:16:41
ISML Function - urlex()6.5 generate a URL that is part of a link dynamically (HTTPS)2020/02/04 13:16:42
ISML Function - WebRoot()6.5
references static content within ISML templates2020/08/25 08:55:31
ISML Function - WebRootEx()6.5
references static content within ISML templates, returns an absolute URL2020/08/25 08:57:02

Reference - ISML Reference

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets