We have a Safe Pay customization that is a CNK file. We want to know if we can place it in the same file as out modified Forms.dic and Reports.dic and have the set file point to it. This is to replace having to install the CNK file on each workstation manually? GP 10
*This post is locked for comments
Hmmm.....CNK files become DIC files when installed. The CNK file is a method of delivering a modification to an end user. When you place the CNK file in the Dynamics Root directory and launch the application, the CNK is loaded into the Dynamics.SET and exploded into the appropriate .DIC file. Once this is done, yes, you can copy it to a shared space and re-point the set file. This is NOT recommended except for report dictionaries as it will slow performance. Having the code on the local machine (code in the .DIC file) results in speedier execution.
You will see CNK files appear after you install third party products but before you launch GP. In the good old days you would see the prompt "Do you want to include new code". when you firsat launched GP. What this meant was the CNK would be included in dictionaries that already existed on the computers. If this is a new product you will see the DYNAMICS.SET file change. The number of products will go up by one and then the dictionary for this code is added and pointers to the modified forms and reports dictionaries are also added. You would then see these under Tools->Setup->System->Edit Launch File.
Thank you Frank. That was my understanding but wasn't sure. I did find a modification to the dex.ini that will do the automatic install new code so we don't have to worry about the user not installing the code.
The CNK file actually modifies GP code so just pointing to the file won't work. It must be placed in the GP folder on the workstation(s) where the customization will be used and then installed upon next login to GP.
Hope this helps,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156