Resolve all HTML Templates in the supplied HTML String.

<para> HTML Templates are enclosed in curly braces. Template parameter use either a pipe character ('\') or an equals sign to define their parameters. This varies per template; usually, if the template only has a single parameter a pipe is used, otherwise named parameters are defined, e.g. heading='My Heading'. </para> <para> The following HTML Templates will be resolved: <list> <item><code>{{WARNING|warning message as simple Wiki Text|bold}}</code><description>Generates a warning message.</description></item> <item><code>{{INFO|information message as simple Wiki Text}}</code><description>Generates an information message.</description></item> <item><code>{{ALERT|alert message as simple Wiki Text}}</code><description>Generates an alert message.</description></item> <item><code>{{POPNOTE|note details html}}</code><description>Generates a popup note.</description></item> <item><code>{{TICK}}</code><description>Inserts a Tick.</description></item> <item><code>{{CROSS}}</code><description>Inserts a Cross.</description></item> <item><code>{{ICON|resourceId|size|cssClassOrStyle}}</code><description>Inserts an Icon. Since Icons are stored in the User Interface, this will only work if the finPOWER Connect User Interface is connected to this business layer. Size will default to 16 if omitted.</description></item> <item><code>{{COLOURBLOCK|colour|tooltip|width|height}}</code><description>Inserts a Colour Block. Width and Height are both assumed to be 14 pixels if omitted.</description></item> <item><code>{{FLAG|colour|tooltip}}</code><description>Inserts a Flag Icon.</description></item> <item><code>{{SYSTEMCOLOUR|systemColourName}}</code><description>Inserts a System Colour in HTML format.</description></item> <item><code>{{BUTTON caption='' icon='' hyperlink=''}}</code><description>Inserts a Button that launches a hyperlink.</description></item> <item><code>{{DISCLAIMER|disclaimer message as simple Wiki Text}}</code><description>Generates a disclaimer message.</description></item> </list> </para>

Syntax

finHtmlSummaryPage2TemplateUtilities.ResolveTemplates(html, [decodeHtmlWithinTemplates], [resolvePlainText])

Parameters

NameTypeOptionalByRefDescription
html String The HTML String.
decodeHtmlWithinTemplates Boolean Optional Indicates whether to decode any HTML within the Templates, i.e., if the passed in HTML has already been HTML encoded. If omitted, a value of False is assumed.
resolvePlainText Boolean Optional If omitted, a value of False is assumed.

Return Value

String

A String value which is the original HTML with templates resolved.

Member of:
finHtmlSummaryPage2TemplateUtilities
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0