RemoveTracking
Version 2.1 by Outhman Moustaghfir on 2024/02/21 11:08
Overview
The RemoveTracking function is designed to remove a tracking entry from the database based on its trkID and trackingType.
Syntax
<TEST> <xsl:value-of select="ixf:RemoveTracking('trackingType','trkID')"></xsl:value-of> </TEST>
- trackingType: The type of tracking to be removed.
- trkID: The unique identifier of the tracking entry.
Example : Remove Tracking
<TEST> <xsl:value-of select="ixf:RemoveTracking('Product', '65d35436310db513395b30b7')"></xsl:value-of> </TEST>
This example removes a tracking entry with the type 'Product' and the ID '65d35436310db513395b30b7'.
Note
- Ensure that the provided trackingType and trkID values match an existing entry in the database.
- The function will return a success message upon successful removal.
- If no matching entry is found, it will return a message indicating that the entry was not found.