Share via


WrkCtrTable::generateWrkCtrId Method

Generates a resource ID that has the basis of another name.

Syntax

client server public static WrkCtrId generateWrkCtrId(str _name)

Run On

Called

Parameters

  • _name
    Type: str
    The base name that the new ID should be generated from.

Return Value

Type: WrkCtrId Extended Data Type
A new resource ID.

Remarks

The resource ID will at first be set to the same value as the base name. If that name already exists then it will be post fixed with a number. If the base name is long, the length may be reduced to enable higher postfix values.

See Also

Reference

WrkCtrTable Table