14.02.2014 Views

HP TRIM WebDrawer - TRIM User Network

HP TRIM WebDrawer - TRIM User Network

HP TRIM WebDrawer - TRIM User Network

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>WebDrawer</strong><br />

Hypertext links<br />

These tags allow you to create an HTML compliant URL link. The syntax provides for simple<br />

conditional branching. This branching depends on whether the link generated is empty or<br />

not.<br />

<br />

htmlBlock1<br />

{{ linkedBlock }}<br />

htmlBlock2<br />

~ invalidLinkHtml<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

The link generated is based on the dataname for the object being published.<br />

The link is a <strong>WebDrawer</strong> link that makes sense for the object represented by the<br />

dataname property. If the dataname is a text field containing a valid URL, you will not<br />

be able to create a hyperlink.<br />

Parameters can be any text that would make sense when included inside an HREF link,<br />

e.g. TARGET="NewWindow". Parameters are inserted verbatim into any resulting<br />

HREF output.<br />

If the link is valid:<br />

— htmlBlock1 and htmlBlock2 will be part of the output but not part of the text<br />

enclosed within the link<br />

— linkedBlock will be part of the output and will be the only part inside the link<br />

— invalidLinkHtml will be ignored<br />

If the link is not valid:<br />

— htmlBlock1, htmlBlock2 and linkedBlock will be ignored<br />

— invalidLinkHtml will be part of the output, but will not be enclosed in a link<br />

If invalidLinkHtml is not present, e.g.. no "~", then invalidLinkHtml is considered to be<br />

the string concatenation of htmlBlock1, htmlBlock2 and linkedBlock<br />

htmlBlock1 and htmlBlock2 are optional fields<br />

If htmlBlock1 and/or htmlBlock2 are omitted, then the corresponding "{{" and/or "}}"<br />

delimiters are optional<br />

Page 55 of 78

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!