JavaScript Functions > Alphabetical Listing of Utility Functions (lr) > lr.paramUnique

lr.paramUnique

Generates a unique string and assigns it to a parameter.

Example String and Parameter Functions

Syntax

lr.paramUnique( paramName );

Arguments

Argument Comments
paramName The target parameter to which the string is written.

lr.paramUnique generates a string of format:
<group name><user ID><current time>. The string contains no spaces.

Return Values

Not applicable

Parameterization

You cannot use standard parameterization for any arguments in this function.

Example

   lr.paramUnique("OutParam");
   lr.outputMessage(lr.evalString("{OutParam}"));