Introduction

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.

Usage

It accepts 3 params : 

  1. trackingIds : a set of trkID separated by ';'
  2. the tracking type target.
  3. access status: value between OPEN, LOCKED , PERMANENTLYLOCKED.
<xsl:value-of select="ixf:SetAccessStatus('trkIDs', 'trkType' , 'accessStatus')"/>

Example

<xsl:value-of select="ixf:SetAccessStatus('63206045f8aef457701a28d0;632061abf8aef457701a28d1;632061abf8aef457701a28d', 'Game' , 'OPEN')"/>

In this example, we will illustrate a scenario where one ID is valid, another is invalid, and the last one is permanently locked.

2024-02-28_00h54_18.png

We observe that no errors were thrown; instead, a warning message regarding the unsuccessful IDs was displayed.

Tags:
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian