Document Tree
Document Properties
Kbid
2479H1
Last Modified
04-Feb-2020
Added to KB
21-Jun-2013
Public Access
Everyone
Status
Online
Doc Type
References
Product
  • ICM 7.10
  • ICM 11
  • ICM 12
ISML Function - urlex()

Name

urlex()

Short Description

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

Table of Contents

Product Version

6.5

Product To Version

 

StatusNew Labels

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.

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

Example

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

Parameters

The following attributes are required:

Note

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 appserver.properties file.

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.

host

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

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.

action

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

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

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.
The Intershop Knowledge 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.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.