Changes for page InitMetrics
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
<
>
edited by Outhman Moustaghfir
on 2024/02/01 17:26
on 2024/02/01 17:26
edited by Outhman Moustaghfir
on 2024/02/01 17:24
on 2024/02/01 17:24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -70,11 +70,11 @@ 70 70 71 71 Assuming you want to count trackings where the 'Company' is 'HM' using an XPath expression: 72 72 73 -{{code language="XML"}} 73 +{{{ 74 + }}} 75 + 74 74 <xsl:value-of select="ixf:InitMetrics('YourMetric', 'YourProjection', 'Order[Company = ''HM'']', -1)"/> 75 -{{/code}} 76 76 77 - 78 78 This example uses an XPath expression to count trackings where the 'Company' is 'HM'. If the XPath expression fails, it uses the default value of -1. 79 79 ))) 80 80