Changes for page GetTracking
Last modified by Outhman Moustaghfir on 2024/07/23 13:27
<
>
edited by Outhman Moustaghfir
on 2023/03/02 17:23
on 2023/03/02 17:23
edited by Outhman Moustaghfir
on 2024/02/26 17:12
on 2024/02/26 17:12
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -iXPath V3.Func itons.WebHome1 +iXPath V3.Functions.XSLT .tracking.WebHome - Content
-
... ... @@ -17,30 +17,29 @@ 17 17 18 18 if we want to get Product by key values 19 19 20 - {{code language="XML"}}<xsl:value-of select="ixf:GetTracking('Product ','Name;Brand;_statusTracking' , 'Laptop;Dell;Delivered')"></xsl:value-of>{{/code}}20 + {{code language="XML"}}<xsl:value-of select="ixf:GetTracking('Product [Name == Laptop AND Brand == Dell AND _statusTracking==Delivered ]')"></xsl:value-of>{{/code}} 21 21 22 22 Searching by trkIDs : 23 23 24 24 {{code language="XML"}} 25 -<xsl:value-of select="ixf:GetTracking('Product ','trkID','632061bef8aef457701a28d225 +<xsl:value-of select="ixf:GetTracking('Product [ _trkID in '632061bef8aef457701a28d2;632061e5f8aef457701a28d3;63206213f8aef457701a28d4]')"></xsl:value-of> 26 26 {{/code}} 27 27 28 28 Set the limit value to get only 4 elements : 29 29 30 30 {{code language="XML"}} 31 -<xsl:value-of select="ixf:GetTracking('Product ','Name;Brand;_statusTracking' , 'Laptop;Dell;Delivered',31 +<xsl:value-of select="ixf:GetTracking('Product [Name == Laptop AND Brand == Dell AND _statusTracking==Delivered ]',4)"></xsl:value-of> 32 32 {{/code}} 33 33 34 34 Add an order by Country : 35 35 36 36 {{code language="XML"}} 37 -<xsl:value-of select="ixf:GetTracking('Product ','Name;Brand;_statusTracking' , 'Laptop;Dell;Delivered',37 +<xsl:value-of select="ixf:GetTracking('Product [Name == Laptop AND Brand == Dell AND _statusTracking==Delivered ]',4,'Country')"></xsl:value-of> 38 38 {{/code}} 39 39 40 40 if you want to add an order without filling the limit, you must put 0 as a value to it : 41 41 42 42 {{code language="XML"}} 43 -<xsl:value-of select="ixf:GetTracking('Product ','Name;Brand;_statusTracking' , 'Laptop;Dell;Delivered',43 +<xsl:value-of select="ixf:GetTracking('Product [Name == Laptop AND Brand == Dell AND _statusTracking==Delivered ]',0,'Country')"></xsl:value-of> 44 44 {{/code}} 45 45 46 -