Locking an Object or Branch

When working with objects, you may want an exclusive lock so that no others users can change the objects you are working with. You can unlock specific objects as well as branches and module versions.

The Lock module branch dialog box is used to lock a module version on a specified module branch. Locking the branch is useful when creating new branches, creating or deleting tags, or adding to, deleting from, or copying a module's metadata. By locking the module version, you insure that no one else can alter the data while you make your changes.

The Lock module dialog box is available when a module-base directory is selected in the client work area or a module branch is selected on the server.

Notes:

  • You cannot lock a module version on the server.
  • If a module branch contains members that are themselves locked, then you can only lock that branch if you are the lock owner for all those locked members.

Other objects are locked as the result of commands that allow you to specify a "locked copies" option.

This task shows you how to:

Related Topics
Unlocking an Object or Branch
Cancelling a Checkout

Lock a module branch

This procedure show you how to lock a module branch.

  1. Select the module base directory of the object you want to lock and choose DesignSync | Lock Module Branch.

    The Lock Module Branch dialog box opens.

  2. Select the desired lock options and press Ok.

    The module branch lock command begins processing the selected objects.

You lock the selected module branch version. No new versions can be checked in unless you, or another authorized user, release the lock.

Lock an object or vault branch

There are a few DesignSync commands that allow you to leave the objects being operated on in a "locked" state at the end of command processing. The most common reason to lock a set of files or a module is to perform exclusive edits, such as structural or content changes. To assure that your workspace has the most complete data to perform those changes, you should perform a populate operation while specifying the Populate with: Locked copies option. For more information, see Populating your Workspace.