Updated File Macro documentation to show proper optional template usage, similar changes should be made to all other macros
This commit is contained in:
parent
5dba2a4820
commit
29611731c4
1 changed files with 8 additions and 2 deletions
|
|
@ -3045,7 +3045,9 @@ Loops come with special condition variables of their own. They are __FIRST__, __
|
|||
<p/>
|
||||
|
||||
<b>^File();</b><br/>
|
||||
This macro builds a quick file link. It creates an icon for the file and outputs the files name. Then it links them both to the file for downloading. An optional second parameter allows a custom template to be used instead of the default. The following variables are available for use in the template:
|
||||
^File(<i>collateralFileName</i>);<BR>
|
||||
^File(<i>collateralFileName</i>,<i>templateName</i>);<BR>
|
||||
This macro builds a quick link to a file in the Collateral Manager. It creates an icon for the file and outputs the files' name. Then it links them both to the file for downloading. The following variables are available for use in the template:
|
||||
<p/>
|
||||
<b>file.url</b><br/>
|
||||
The URL to the file.
|
||||
|
|
@ -3061,7 +3063,11 @@ The size of the file.
|
|||
<p/>
|
||||
<b>file.thumbnail</b><br/>
|
||||
The file's thumbnail.
|
||||
<p/>
|
||||
|
||||
An optional second parameter, a template name, allows a custom template
|
||||
from the Macro/File template namespace to be used instead of the default.
|
||||
If a template with that name is not found, then the default is used.<br>
|
||||
<p/>
|
||||
|
||||
<b>^I();</b><br/>
|
||||
|
|
@ -3128,7 +3134,7 @@ This macro retrieves the URL for the thumbnail of any image in the collateral ma
|
|||
<i>Example:</i> ^Thumbnail("logo");
|
||||
<p/>
|
||||
|,
|
||||
lastUpdated => 1098855400
|
||||
lastUpdated => 1101855785,
|
||||
},
|
||||
|
||||
'736' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue