$url('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$
$url()$
function creates and absolute URL and retains the protocol incoming
request.
Example:$url('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$
http://<host>:<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2
$httpUrl('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$
$httpUrl()$
function creates an absolute URL but always with the fix protocol
"http". The protocol type of the incomming request is ignored.$httpUrl('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$
http://<host>:'<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2
$httpsUrl('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$
$httpsUrl()$
function creates an absolute URL but always with the fix protocol
"https". The protocol type of the incomming request is ignored.
Example:$httpsUrl('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$
https://<host>:<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2
$include('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$
$include()$
function creates a relative URL which is post processed by the
Commerce Cloud Digital Webadapter. The result is the content generated by the given pipeline call.
Example:$include('MyIncludePipeline-Start','key1', 'value1', 'key2' ,'value2')$
...?$staticlink$
$staticlink$
function can be used to create a URL to a static resource
(such as an image). The URL being generated depends on the owner of the MarkupText instance.
For example, a product's long description (which is a MarkupText) will generate
links to static resources within the catalog. Possible URL targets are catalogs
(for catalog related objects like products and categories), the content library
(for library related objects like folders and assets) or the organization
(for all objects that are not catalog or library related).
Example:<img src="demo/content/bullet.gif?$staticlink$">
<img src="/on/demandware.static/<current site>/<library>/default/v1178201405900/demo/content/bullet.gif">
Note: The comma symbol ,
is not supported in parameter values for the link functions.