Locking and Unlocking Definitions
You can lock and unlock definitions manually. You can also have PeopleSoft Application Designer lock unlocked definitions for you each time that you open them.
You must have developer or supervisor access to Change Control to lock and unlock definitions. If you have supervisor access, you can also lock all definitions at once, which can be helpful when performing upgrades to ensure that definitions are not modified in the middle of the process.
This section discusses how to:
-
Lock or unlock an unopened definition in the current project.
-
Unlock an unopened definition that is not in the current project.
-
Lock or unlock an open definition.
-
Lock definitions automatically when you open them.
-
Lock or unlock all definitions at once.
Locking or Unlocking an Unopened Definition in the Current Project
To lock or unlock an unopened definition in the current project:
-
In the project workspace, select the Development tab at the base of the workspace window to activate the development view.
-
Select the definitions that you want to lock or unlock.
-
Right-click any of the selected definitions and select Lock Definition or Unlock Definition.
Unlocking an Unopened Definition Not in the Current Project
To unlock an unopened definition that is not in the current project:
-
Select
The Locked Definitions dialog box appears.
Note:
The View Locked Definitions menu item is not available if you have restricted access to Change Control.
-
Select the definition type and user.
You can view all locked definitions of the specified type by selecting all from the User drop-down list box.
-
Select the definitions to unlock.
-
Right-click any selected definition and select Unlock Definition.
If Change Control history is enabled, the system will prompt you for comments.
Locking or Unlocking an Open Definition
To lock or unlock an open definition:
-
Activate the definition.
-
Select and then select either Lock Definition or Unlock Definition.
Locking Definitions Automatically When You Open Them
To lock definitions automatically when you open them:
-
Select
-
Select Lock definition when it is opened.
Now, whenever you open a definition it is locked automatically, unless you have only restricted access to Change Control. In this case, the system will notify you that you have restricted access and will ask whether you want to open the definition in read-only mode.
Note:
Like all settings in the Application Designer Options dialog box, this setting controls the behavior on your workstation only. Also, definitions cannot be unlocked automatically; you must always unlock them manually.
Locking or Unlocking All Definitions at Once
To lock or unlock all definitions at once:
-
Select
The Change Control Administrator dialog box appears.
-
Select Lock all definitions to lock all definitions or deselect it to unlock all definitions.
Locking all definitions applies a database-wide lock that is tagged with your user ID.
WARNING:
Selecting this check box removes individual locks from all database definitions. You should proceed with this step only if you have informed all of your developers and given them an opportunity to save any unsaved work.
-
Click OK.
If you are locking all definitions, the system warns you that this action permanently cancels existing locks. Click Yes.