Webtags: Difference between revisions

864 bytes added ,  09:47, 2 October 2022
m
Line 66: Line 66:


The local API methods are described on [[Cumulus_MX_Local_API|their own page]].
The local API methods are described on [[Cumulus_MX_Local_API|their own page]].
== How CumulusMX handles unknown Webtags ==
When CumulusMX is processing through tag names and finds one it cannot understand, a "*** web tag error - see MXdiags file ***" message will appear in the engine console (if running interactively, when  running as a service it will be in the ''ServiceConsoleLog'' file), and the diagnostic file will include something like this:
<pre>Web tag error
Exception: i=8998 len=106297
inputText.Length=106297
token=<#daylightlength format=H></pre>
This particular error is that when you use a single output format character it does not have same meaning as when there are multiple characters, correct this particular web tag to:
<pre><#daylightlength format=%H></pre>
If you are sure the Webtag does exist (Check the Local List) and you think you are correctly using parameters, it is time to bring the problem to the forum.


== General Format for Web Tags ==
== General Format for Web Tags ==