As a developer, you will use the Dexterity IDE to create, to debug, and to test your customizations. To distribute your customization, you will use Dexterity Utilities to create the .cnk file. Dexterity Utilities can also be used to perform several maintenance and reporting functions that are typically not needed during the development cycle.
The steps to create a .cnk file involve two dictionaries: the development dictionary and an extracted dictionary. The development dictionary is a renamed copy of Dynamics.dic. It contains added or modified resources and code that you have developed.
An extracted dictionary is a dictionary that contains only the added or modified resources and code. It does not contain Dynamics.dic. Instead, it contains any modified forms and reports that were transferred from the development dictionary. Modified forms and reports become alternate forms and reports after the .cnk file is installed. The .cnk file is created from the extracted dictionary.
Before you create the .cnk file, follow these steps in Dexterity:
- Compile your development dictionary. To open the development dictionary, click Open Source Dictionary on the File menu. With your development dictionary open, click Compile All on the Explorer menu.
- If you are using Dexterity Source Code Control, make sure that all resources are checked in. On the Explorer menu, click Source Code, and then click Check In.
- Make sure that the Resource IDs that are assigned to the resources that you created do not change values between builds. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:894699 How to use an index file and the Great Plains 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
To create a .cnk file, follow these steps in Dexterity Utilities:
- On the File menu, click Open Source Dictionary to open the development dictionary as the source dictionary.
- On the Utilities menu, click Extract to extract all third-party resources to an extracted dictionary. These resources will have a Resource ID that is greater than 22,000.
Note If you do not have alternate forms or reports, go to step 6. Alternate forms and reports are original Microsoft Dynamics GP forms and reports that have been modified in your customization. Because their resource IDs are less than 22,000, they are not extracted in step 2. Therefore, additional steps are required to move alternate forms and reports to your .cnk file.
- On the File menu, click Open Destination Dictionary to open the destination dictionary by using the extracted dictionary that you created in step 2.
- On the Dexterity Utilities toolbar, click Transfer, and then click Dictionary Module to transfer the alternate forms or reports to the extracted dictionary.
- On the File menu, click Close Destination Dictionary.
- On the File menu, click Close Source Dictionary.
- On the File menu, click Open Editable Dictionary to open the editable dictionary by using the extracted dictionary that you created in step 2.
Note If you do not have any alternate forms or reports, go to step 9.
- Update the internal Series Resources lists to include the alternate forms or reports. On the Dexterity Utilities toolbar, click Resources, and then click Series Resources. Click to select the All Resource Types check box and the All Series check box, and then click Update.
- On the Dexterity Utilities toolbar, click Product Information. Enter the following information:
- The product name
- The product ID that has been assigned to you by Microsoft Sales Operations
- The names of the custom forms and reports dictionaries
- Compatibility information
- Create the .cnk file:
- On the Utilities menu, click Auto Chunk.
- Click Browse to name the chunk dictionary and to indicate the location where it will be saved. You should use an 8.3 formatted file name with the extension .cnk, for example, Fabrikam.cnk.
- Select a module, for example, 51.
- Enter the major, minor, and build numbers. You can match your major and minor numbers to the Microsoft Dynamics GP version that you use, and then type your own build number.
- Select Total Compression to remove the source code from the final .cnk file, and then click OK.
- On the File menu, click Close Editable Dictionary.
Article ID: 894700 - Last Review: Jan 10, 2015 - Revision: 1