Changes for page SetAccessStatus
Last modified by Outhman Moustaghfir on 2024/03/04 11:34
<
edited by Outhman Moustaghfir
on 2024/03/04 11:32
on 2024/03/04 11:32
edited by Outhman Moustaghfir
on 2024/03/04 11:34
on 2024/03/04 11:34
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,0 +1,30 @@ 1 += Introduction = 2 + 3 +The SetAccessStatus function is designed to manage and update the access status of a tracking. It allows you to modify the status of a tracking to one of three options: OPEN, LOCKED, or PERMANENTLYLOCKED. This function is crucial for controlling the accessibility and security of any type of functional tracking. 4 + 5 + 6 += Usage = 7 + 8 +It accepts 3 params : 9 + 10 +1. trackingIds : a set of trkID separated by ';' 11 +1. the tracking type target. 12 +1. access status: value between OPEN, LOCKED , PERMANENTLYLOCKED. 13 + 14 +{{code language="XML"}} 15 +<xsl:value-of select="ixf:SetAccessStatus('trkIDs', 'trkType' , 'accessStatus')"/> 16 +{{/code}} 17 + 18 += Example = 19 + 20 +{{code language="XML"}} 21 +<xsl:value-of select="ixf:SetAccessStatus('63206045f8aef457701a28d0;632061abf8aef457701a28d1;632061abf8aef457701a28d', 'Game' , 'OPEN')"/> 22 +{{/code}} 23 + 24 +In this example, we will illustrate a scenario where one ID is valid, another is invalid, and the last one is permanently locked. 25 + 26 + 27 +[[image:2024-02-28_00h54_18.png]] 28 + 29 + 30 +We observe that no errors were thrown; instead, a warning message regarding the unsuccessful IDs was displayed.