Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Can a CNK file be pointed to like a dictionary in Dynamics.set?

Posted on by 820

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

  • Suggested answer
    Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    Re: Can a CNK file be pointed to like a dictionary in Dynamics.set?

    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.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    Re: Can a CNK file be pointed to like a dictionary in Dynamics.set?

    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.

  • Tammy Chavez Profile Picture
    Tammy Chavez 820 on at
    Re: Can a CNK file be pointed to like a dictionary in Dynamics.set?

    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.

  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    Re: Can a CNK file be pointed to like a dictionary in Dynamics.set?

    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,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans