Wiki source code of RemoveTracking
Version 1.1 by Outhman Moustaghfir on 2024/02/21 11:08
Show last authors
author | version | line-number | content |
---|---|---|---|
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"}} | ||
9 | <TEST> <xsl:value-of select="ixf:RemoveTracking('trackingType','trkID')"/> </TEST> | ||
10 | {{/code}} | ||
11 | |||
12 | * trackingType: The type of tracking to be removed. | ||
13 | * trkID: The unique identifier of the tracking entry. | ||
14 | |||
15 | === Example : Remove Tracking === | ||
16 | |||
17 | {{code language="XML"}} | ||
18 | <TEST> <xsl:value-of select="ixf:RemoveTracking('Product', '65d35436310db513395b30b7')"/> </TEST> | ||
19 | {{/code}} | ||
20 | |||
21 | This example removes a tracking entry with the type 'Product' and the ID '65d35436310db513395b30b7'. | ||
22 | |||
23 | === === | ||
24 | |||
25 | == Note == | ||
26 | |||
27 | * Ensure that the provided trackingType and trkID values match an existing entry in the database. | ||
28 | * The function will return a success message upon successful removal. | ||
29 | * If no matching entry is found, it will return a message indicating that the entry was not found. | ||
30 | * |