Changes for page GetTracking
Last modified by Outhman Moustaghfir on 2024/07/23 13:27
<
>
edited by Outhman Moustaghfir
on 2023/03/02 16:56
on 2023/03/02 16:56
edited by Outhman Moustaghfir
on 2023/03/02 17:23
on 2023/03/02 17:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,19 +1,15 @@ 1 -= 1 += Introduction = 2 2 3 3 In this section, we will go throw an XSL function to get trackings by trkID or using Keys/Values. 4 4 5 5 = Parameters = 6 6 7 -GetTracking uses 5params to help retrieve trackings in question.7 +GetTracking uses 4 params to help retrieve trackings in question. 8 8 9 -1. xpathExpression: read 10 -1. keys: it can handle 2 values, "trkID" or keys separated by ';' (eg: 'orderNumber;City;Phone') if the key contains '_' at the first character, it means we look for metadata (_statusTracking, _creationDate ...) 11 -**NB:** all metadata will be explained in detail in another paragraph. 12 -1. values: the values must be ordered the same as 'keys'. if we're searching by 'trkID', 'values' should contain trkIDs separated by space ' '. eg : '121ee 123DD 55evr om432' 13 -In the other case where we use values depending on keys, they must be separated by ';' as shown below : 14 -if we take the last example in 'keys' param, 'orderNumber;City;Phone' , 'values' will be by example '1243;Paris;06070706053' . 15 -1. limit: it defines the max number of tracking to retrieve. **it's optional.** 16 -1. order: whether you want to order the list of trackings in a descending way or not by a certain key order. The default value is 'trkID' and it's optional as long as you fill the limit value. 9 +1. xpathExpression: read the IXpathExpression for more details ([[IXpathExpression>>https://ixpath.app/xwiki/bin/view/iXPath%20V3/IXpathExpression/]]) 10 +1. limit: it defines the max number of tracking to retrieve. **it's optional. **(Optional) 11 +1. order: whether you want to order the list of trackings in a descending way or not by a certain key order. The default value is 'trkID' and it's optional as long as you fill in the limit value. (Optional) 12 +1. projection: you can return only some wanted fields instead of fetching the integrity of tracking object. (Optional) 17 17 18 18 = Uses = 19 19