TemplateText Property



 
The TemplateText property returns a receipt text containing template variables.


Syntax

    [bool=] SiteKiosk.Plugins("SiteCash").ReceiptSettings.TemplateText
Possible Values
    String value that retrieves a receipt text containing
    template variables.

    The property is read only.
Remarks
    Take a look at the Macromap Object in order to expand the TemplateText property.
Examples
    The following example shows the expanded template text.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCash = SiteKiosk.Plugins("SiteCash");
    templatetext = SiteCash.ReceiptSettings.TemplateText;
    expandedtemlatetext = SiteCash.Macromap.Expand(templatetext);
    alert(expandedtemlatetext);
    </SCRIPT>

Applies to
    SiteKiosk v7.2 (and later versions).

Back to top