Renaming resources

If you are using source code control, you must pay special attention when you rename resources in your dictionary. Depending on the type of resource you’re renaming, you may need to perform some maintenance tasks in the repository.

Base resources

If you’re renaming a base resource, such as a datatype or field, you won’t need to perform any maintenance tasks in the repository. Because base resources are stored as a group, renaming a resource is just like any other change to the source file.

Standard resources

If you’re renaming a standard resource, such as a form or table, you will need to perform some maintenance tasks in the repository. The name of the source file for a standard resource is based on the resource’s name. If you change the name of the resource, the source file name will no longer match. This can make it difficult to find the resource when you’re looking for it in the repository.

If you must rename a standard resource, we recommend that you also change the name of its corresponding source file. To do this, perform the following procedure:

  1. Rename the resource in the dictionary.

In Dexterity, rename the resource. Be sure to note the new name. You will need it for the next two steps.

  1. Rename the source file in the dictionary.

Each dictionary keeps a list of the source files that correspond to the resources in the dictionary. You can edit this list using the Edit Source File Names window. To open this window, point to Source Control in the Explorer menu and choose Source Files.

In the Edit Source Files window, locate the source file corresponding to the resource whose name you changed. In the Source File column, change the name of the source file to reflect the change you made to the resource name.

  1. Rename the source file in the repository.

Use the utilities included with your source code control provider to change the name of the source file in the repository to match the name you specified in the previous step. For example, if you are using Microsoft Visual SourceSafe, you can use the Visual SourceSafe Explorer to change the name of a source file in the repository.


Documentation Feedback