Salesforce

UnLock (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UnLock (Magic xpa 3.x)

Returns an evaluated expression that unlocks a resource.

Syntax:

UnLock(resource)

Parameters:

resource: any expression that returns an alpha string. Its maximum length is 128.

Returns:

Number to indicate if lock was successful:

0 – Resource has not been locked by the same session or has not been locked at all.

1 – Unlock was successful

Note:

Longer expressions will be truncated.

Zero length is a valid name.

A resource may only be unlocked by the same document that locked it.

See also:

Lock

The Online and Rich Client Samples projects (program TF08 and RTF08)

Reference
Attachment 
Attachment