Please enable JavaScript to view this site.

Version:

String getCounterAndIncrease(String counterName)

Description

Increases the counterName by 1 and returns the value. The counters are saved in the UTI_POSTSERVER_COUNTER table. If the counter with the counterName name does not exist in the UTI_POSTSERVER_COUNTER table, a new counter is created. The first value of a counter is 1.

Parameter

Value

counterName

Name of the counter to be stored in the table UTI_POSTSERVER_COUNTER.

Return value

The returned value is a counter value as a String.

Example:

<xsl:variable name="TPCOUNTER" select="utiapi:getCounterAndIncrease('TP_STATION')" />
<xsl:variable name="TPKEY_NEW" select="concat('222222-MV-ST-',stringutil:leftPad($TPCOUNTER,4,'0'))" />

© 2024 VertiGIS GmbH. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 10.0 (fa3b2a93)