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

1 Introduction

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.

2 Syntax

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

3 Example

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

4 Parameters

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.

4.1 protocol

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.

4.2 host

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

4.3 portNumber

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.

4.4 action

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

4.5 parameter

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.

Customer Support
Knowledge Base
Product Resources