Wiki source code of RemoveTracking
Last modified by Outhman Moustaghfir on 2024/10/23 11:52
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | == Overview == |
2 | |||
3 | The RemoveTracking function is designed to remove a tracking entry from the database based on its trkID and trackingType. | ||
4 | |||
5 | == Syntax == | ||
6 | |||
7 | |||
8 | {{code language="XML"}} | ||
![]() |
2.1 | 9 | <TEST> <xsl:value-of select="ixf:RemoveTracking('trackingType','trkID')"></xsl:value-of> </TEST> |
![]() |
1.1 | 10 | {{/code}} |
11 | |||
12 | * trackingType: The type of tracking to be removed. | ||
13 | * trkID: The unique identifier of the tracking entry. | ||
![]() |
5.1 | 14 | * syncWith: a boolean to delete all synchronized trackings associated to the tracking target.** default value is false.** |
![]() |
1.1 | 15 | |
16 | === Example : Remove Tracking === | ||
17 | |||
18 | {{code language="XML"}} | ||
![]() |
2.1 | 19 | <TEST> <xsl:value-of select="ixf:RemoveTracking('Product', '65d35436310db513395b30b7')"></xsl:value-of> </TEST> |
![]() |
1.1 | 20 | {{/code}} |
21 | |||
22 | This example removes a tracking entry with the type 'Product' and the ID '65d35436310db513395b30b7'. | ||
23 | |||
24 | == Note == | ||
25 | |||
26 | * Ensure that the provided trackingType and trkID values match an existing entry in the database. |