How to use an index file and the Microsoft Dynamics GP Dexterity source code control functionality to make sure that the resources that you create maintain the same resource ID in different builds and versions of your code
In your development dictionary, the unique identifier is the internal resource ID that is generated by Dexterity. For third-party developers, the resource ID starts at 22,000.Each resource that you add is assigned the next available resource ID for that resource type. Therefore, your resources are typically numbered in the order that they were created. However, if you deleted resources, the resource ID is reused.
When you create a new build, you start by using a copy of an unmodified Dynamics.dic dictionary file. Then, you update this dictionary file to include the resources from your source code repository. During this process, resources are added to the dictionary in alphabetical order, and new resource IDs are assigned to the resources.
The fact that the resource IDs are now ordered alphabetically may cause several issues:
- You may have trouble updating forms and reports that you modified for your project.
- Security records that are used to manage access to windows and reports that you modified will now be incorrect.
If you have multiple developers who are working on a single project, you must assign one developer as the administrator of the project. The administrator’s role is to create the new builds and to maintain the index file. To create and maintain an index file, the administrator must follow these steps on his or her computer:
- In Dexterity, click Edit, point to Options, and then click the Source Control tab. Make sure the Enable Administrative Features check box is selected.
- Create an index file by using your current development dictionary.
Every time a build is completed, click Source Control on the Dexterity Explorer menu. Then, click Update Index File.
This creates the index file if it does not already exist. Or, it updates the existing file so that file can be used for the next build.
- On the Explorer menu, click Source Control, and then click Update. In the Update from Repository window, click to select the Use Index File check box.
Article ID: 894699 - Last Review: 07/14/2012 02:09:00 - Revision: 4.0
- kbmbsmigrate kbhowto KB894699