web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Reverse Engineer Custom Module

(0) ShareShare
ReportReport
Posted on by 92

Hello. I am working with an installation that has a custom module that was developed and installed by another party who is no longer available.  Typically, the work I do related to GP is SQL and eConnect related, but I'd like to identify the where and how of this module.  Can someone point me to how I locate the code for the custom module and the process for installation. Thank you.

- N

Categories:
I have the same question (0)
  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    I assume you do not have the source code? What was used to create this customization? Was it Dexterity, C# or something else? Is there a cnk file or a dll or an exe? This may come down to outlining what it does and recreating it.

    You are not referring to a third-party product are you? If you are please paste a copy of your DYNAMICS.SET here and we will review the list of products installed.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    Dexterity code cannot be reverse engineered. You can reuse resources, but if the source code is not included in the dictionary/chunk file, it will have to be recreated from scratch.

    Visual Studio Tools Addin code can be reverse engineered using tools available online.

    As Richard Wheeler says, please provide the Dynamics.set and a list of dlls in the Addins folder.

    Regards

    David

  • NCOPP Profile Picture
    92 on at

    Hello Richard,

    You are correct. The former developer did not provide the source. It is not a third-party product.  I'm going to do some more investigating, but I do appreciate both your and David's responses.  Thank you.

    - N

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    Well it is most likely one of three things:

    1) Dexterity - you should see a DIC file

    2) Class Library - you will find dll's in your addins folder

    3) Executable - you will find an exe

    How is this code accessed? Is it available as a menu option or an additional menu option off a screen or do your users run it independently from GP?

    As Dave suggested, if you could provide a screenshot of what is in your GP add-ins folder, that would be helpful.

  • NCOPP Profile Picture
    92 on at

    Hi Richard,

    Well, there was nothing other than a Dynamics assembly (PreviewPane) in the add-ins. When I went to customization maintenance, I did not find any VBA modules. Finally, I found two set files, in the Dynamics installation path, and within the set files, I found the location of DIC files.  I went to that location and found the CNK file.  So, at this point, I think I know it is Dexterity.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    If is a chunk file(CNK) you can install DEXTERITY from the GP install media to begin to take a look at what this code does. Do you know what this customization does?  If you want to send over the chunk file send me a PM and I will take a look at it.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    If the Developer has followed best practice for custom code, they should have left the scripts in the chunk file or dictionary.

    ISV products would not have source code left in, but custom code written for a client should leave the code in as the customer has paid for the development.

    You can check by opening a copy of the chunk or dictionary with Dexterity. Do not open the original as it is possible to corrupt the dictionary as it is an extracted dictionary and is missing the core resources that are in Dynamics.dic.

    Regards

    David 

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    If you are only installing then why you think you need to ask for reverse engineering that custom module? just copy chunk and add the code. You just want to install or also do you also looking to change something in module?

  • NCOPP Profile Picture
    92 on at

    I titled the post Reverse Engineering because at that time I did not know whether the source files were available and if I would need to perhaps examine the contents of an assembly to recreate the logic.  I think at this point, the code is available.  So, the next step is to examine it.  Thank you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans