ISML Function - urlex()



Short Description

generate a URL that is part of a link dynamically (HTTPS)

Table of Contents

Product Version


Product To Version


StatusNew Labels


urlex() extends the capabilities of url() by allowing you to specify a particular protocol, host, and port for the URL to be generated.

For instance, if you want to make sure that sensitive data like credit card numbers are transmitted safely, you might use the secure protocol HTTPS (rather than HTTP). In this case, you use the urlex() function to specify that a protocol other than HTTP should be used.


urlex( <protocol>, [<portNumber>], <action - operation> )
urlex( <protocol>, [<portNumber>], <action - operation>, [<parameter - operation>] )
urlex( <protocol>, [<host>], [<portNumber>], <action - operation> )
urlex( <protocol>, [<host>], [<portNumber>], <action - operation>, [<parameter - operation>] )


a href ="#urlex('https','443',action('ViewBasketHistory-Start'))#">
... link text to be displayed ...


The following attributes are required:


If <protocol>, <host> or <portNumber> are left unspecified or passed as empty strings, the according values are taken from the current request, or, if this fails, from the file.


This parameter is required.
protocol = string
The string that defines the part of a URL that contains information about the protocol. For example, you can set protocol to HTTPS or FTP.


This parameter is optional.
host = string
The string that defines the part of a URL that contains information about the host (for example,


This parameter is optional.
portNumber = string
The string that defines the TCP/IP port number of the target pipeline. If not specified, the associated port of the given protocol will be used.


This parameter is required.
action - operation
Result of an action() function call.


This parameter is optional.
parameter - operation

Result of a parameter() function call. The parameter() function may be included as often as needed in this function call.

Reference - ISML Functions


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.

The Intershop Customer Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Customer Support
Knowledge Base
Product Resources