Recovering an activity

You must recover an activity if, for some reason, the corresponding local workspace is not in sync with the LN server.

The recovery process restores the components in the activity from the Configuration Management System on the server to your local workspace. Optionally, unchanged components are removed from the workspace.

There are various situations in which you must recover an activity, such as:

  • After a PC crash. On your new PC, you can start LN Studio, open your activity, and restore your local workspace from the server.
  • After new LN Studio software is installed on your PC and on the server. The structure of the old files in your workspace is possibly not compatible with the new software. Recover your activity to retrieve new files from the server.
  • After an intermediate code freeze. Your local workspace is not valid anymore.

    To solve this, you must recover your activity.

    Note: You must select the Recover existing activity files check box in the Recover activity dialog.
  • After a final code freeze. Your activities have moved to a different software project. The directory names in your local workspace are not valid anymore.

    To solve this:

    1. Delete your activity from the local workspace. In the Activity Explorer, right-click the activity and, on the shortcut menu, select Delete.
    2. Open the activity again. In the Activity Explorer, click Open an Infor LN Studio Activity. The Open an Activity - Select Project dialog appears. Select the new software project from the list and click Next. In the second page of the dialog, select your activity from the list and click Finish.
    3. Recover your activity.
      Note: You must select the Recover existing activity files check box in the Recover activity dialog box.
  • After other developers checked in components you use in your components. Recover your activity to get the latest versions of these components.

    For example, you call another developer's DLL in one of your UI scripts. Recover your activity after the other developer checked in a new version of the DLL.

    Note: To use components of other developers, put the corresponding activities in the context of your activity.

    See Activity context.

  • If the activity is shared with other developers. Recover the activity to display the components created by the other developers.
  • You have unchanged components in your activity. After a while, the server may contain new versions of these components, changed by other developers. Recover your activity to get the latest versions of these components.
Note: Recover you activity regularly to make sure the components in your workspace are up-to-date.

To recover an activity:

  1. In the Activity Explorer, select the activity you want to recover.
  2. Click Recover activity in the Activity Explorer 's toolbar. The Recover activity dialog starts.
  3. Specify the settings for the recovery process.

    See Recover activity.

  4. Click OK. LN Studio shows the recovery actions that will be executed.

    See Recover activity.

  5. Click OK to start the recovery process. The recovery results are displayed.
  6. Click OK to close the dialog.