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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Dexterity - Upgrading Modified resource

(1) ShareShare
ReportReport
Posted on by 1,077

When GP gets upgraded, database gets new version and old development dictionaries that have modified forms on them cannot be used, the test mode cannot be opened because of the .dic and database version mismatch.

I figured out way to easy re-add new resources in (the ones with 2000x IDs) by exporting and re-importing into new Dynamics.dic file, but having hard time dealing with modified forms. When I re-import, all the old resources on the form get lost.  

Fortunately I can easy re-create all the modifications since there isn't much to them, but there should be a way to append everything somehow, rather than redo it every time.

Please help!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,151 Most Valuable Professional on at

    Hi Galina

    Have a look at this page for lots of good KB articles on Dexterity:

    https://blogs.msdn.microsoft.com/developingfordynamicsgp/dexterity-articles-links/

    This one has the upgrade steps using Source Code Control

    https://support.microsoft.com/en-au/help/910527/how-to-upgrade-a-dexterity-based-application-in-microsoft-dynamics-gp-by-using-the-dexterity-source-code-control-service

    You cannot just export and import alternate windows.

    David

  • Galina Profile Picture
    1,077 on at

    Thanks, David. I kind of thought that Source Code Control may be the only way. I'll try it out. Anyway, all the links are very useful, Thank again!

  • Galina Profile Picture
    1,077 on at

    Now I'm looking for a copy of Microsoft Visual SourceSafe. Where would you get it from? Nothing like that is on my Visual Studio Professional CD...

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

    You can get VSS from a MSDN subscription.

    You can use the Generic (folders and files) provider but that has no version history, but works fine for upgrades. This is free and comes with Dexterity.

    Or you can use Team Foundation Server source code (on premise or on Azure).

  • MG-16101311-0 Profile Picture
    26,225 on at

    If you have an MSDN subscription, you can make use of Visual Studio Team Services for free.

  • Galina Profile Picture
    1,077 on at

    Thank you, guys, I think I finally figured out how it works.

    Took me a while to find time to understand and put together a process.

    I made a little step by step instructions for those who want to just upgrade Dynamics.dic, for myself and if somebody is stuck in the same predicament:

    1. Create backup of the original project files in case you need to redo something.
    2. Create a directory in a folder where you keep your project files, f.e. \Root
    3. Copy a new version of Dynamics.dic from GP directory after the upgrade of your environment into the project folder, rename it to something, may be Dynamics.new.dic
    4. Open Dynamics.dic for the project you developing and want to upgrade in Dexterity.
    5. Prepare your Dexterity environment. You need to configure source control options from the Edit -> Options -> Source Control tab. Choose Provider - Generic, Root directory - one you created in step 2, name your project, leave the temp file as is, Original dictionary - point to the new Dynamics.new.dic you copied in step 3. Make sure Enable Administrative Feature is checked.
    6. Now you need to check in your additions and modifications. Go to Explorer -> Source Control -> Check in, select Insert all and provide the comment, something like "Initial Check in". All the added resources will be checked in. For modified forms/reports to be able to be checked in, you need to make them to show as New in SCC State field. I just resized one field in one window on my form. May be there is another proper way to turn them to new, haven't figured it out. After that do the Check In as above to add the new version of the modified form to the repository.
    7. Close your dictionary.
    8. Rename it in your folder, you won't need it anymore.
    9. Copy another instance of the latest Dynamics.dic to the project folder. This is the dictionary you'll be adding the resources from the Repository to.
    10. Open this dictionary in your Dexterity environment.
    11. Now you need to update this dictionary with the new and modified resources. Go to Explorer -> Source Control -> Update. You'll see all the files checked. Just go ahead and click OK.
    12. You'll see all the things got added. You can use Debug without any issues on this new Dynamics.dic and keep working on your customization.
    13. Remember to revert the changes you made in step 6 for modified resources.

  • Galina Profile Picture
    1,077 on at

    Just to clarify, I'm using Generic source control provider, I didn't bother with TFS or VSS

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans