Changes for page IXpathExpression
Last modified by Outhman Moustaghfir on 2024/07/24 12:22
<
edited by Outhman Moustaghfir
on 2024/07/24 12:22
on 2024/07/24 12:22
edited by Outhman Moustaghfir
on 2023/05/23 15:10
on 2023/05/23 15:10
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,11 +7,11 @@ 7 7 8 8 * The current usable syntax of IXpathExpression looks like the following : {{code language="none"}}trkType [ key1 {operator} value1 AND key2 {operator} value2 ...] {{/code}} 9 9 10 - eg : Product [ Price <10 AND Quantity= 3 AND Category = Food] 10 + eg : Product [ Price <10 AND Quantity== 3 AND Category == Food] 11 11 12 12 * The list of available operators : 13 13 ** ((( 14 -|(% style="width:343px" %) =|(% style="width:412px" %)equals|(% style="width:448px" %) 14 +|(% style="width:343px" %) ==|(% style="width:412px" %)equals|(% style="width:448px" %) 15 15 |(% style="width:343px" %)>=|(% style="width:412px" %)greater or equal than|(% style="width:448px" %) 16 16 |(% style="width:343px" %)>|(% style="width:412px" %)greater than|(% style="width:448px" %) 17 17 |(% style="width:343px" %)<=|(% style="width:412px" %)less or equal|(% style="width:448px" %) ... ... @@ -37,41 +37,6 @@ 37 37 38 38 39 39 ))) 40 -* ((( 41 -**Metadata:** 42 -))) 40 +* There is the possibility to call values from metadata, such as creationDate , modificationDate, jobID , userID ... by inserting '_' (underscore) at the beginning of the alias needed like : _creationDate , _modificationDate ... 43 43 44 - There is the possibility to call values from metadata, such as creationDate , modificationDate, jobID , userID ... by inserting '**_**' (underscore) at the beginning of the alias needed like : _creationDate , _modificationDate ... 45 - 46 - Exemple : 47 - 48 -{{code language="XML"}} 49 -<xsl:value-of select="ixf:GetTracking(Order[_envID = 'iXPath'])"></xsl:value-of> 50 -{{/code}} 51 - 52 -* ((( 53 -**Links** 54 -))) 55 - 56 -**~ **To call values from links, insert "**!**" at the beginning of the alias. For example: !key will refer to the linked value associated with the key. 57 - 58 -{{code language="XML"}} 59 -<xsl:value-of select="ixf:GetTracking(Order[!Partner.Name = 'My Partner'])"></xsl:value-of> 60 -{{/code}} 61 - 62 -* **Extrametadata:** 63 - 64 - To call values from extrametadata, insert "**§**" at the beginning of the alias. For example: §key will refer to the value associated with the key in extrametadata. 65 - 66 -{{code language="XML"}} 67 -<xsl:value-of select="ixf:GetTracking(Order[§xTraMetaDataKey = 'Value'])"></xsl:value-of> 68 -{{/code}} 69 - 70 -* **Projection:** 71 -To project into a certain value you can use : 72 -{{code language="XML"}}<xsl:value-of select="ixf:GetTracking(Order[§xTraMetaDataKey = 'Value']/OrderType)"></xsl:value-of>{{/code}} 73 -* ((( 74 -**Include Keys:** 75 -Specifies the keys to be fetched. If it is null or empty, all keys will be fetched. keys are separted by ";" and if we want to fetch keys in subTracking we can use this expression for example '**SubTrk.SubTrkLevel2.subTrkLevel3.key'.** This parameter is optional. 76 -{{code language="XML"}}<xsl:value-of select="ixf:GetTracking(Order[§xTraMetaDataKey = 'Value'],'fetchLinks','','','Partner.Name;FetchKey1;FetchKey2')"></xsl:value-of>{{/code}} 77 -))) 42 +