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 :
Microsoft Dynamics AX (Archived)

Reg to Form Duplication in Dynamics 365 for operations

(0) ShareShare
ReportReport
Posted on by 220

Hello

I need to duplicate Trade agreement Journal Form and have the requirement to add new fields. Once I duplicate the form and I build the solution I am getting so many Errors related with the Code. Can anyone let me know if I have missed something and also if I duplicate a form does that affect the existing Business logic in anyway?

Thanking you in advance!

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Sherwin,

    Can you share the error details? Without that we don't know your problem. Did you create an extension model or a customization model?

  • Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Why would do you want to duplicate the form in the first place? It's usually a bad thing form maintenance. Did you consider using a form extension?

  • Sherwin Profile Picture
    220 on at

    Hello Martin

    The client wants to keep the base form and want a customized form in parallel in the UI.

    If I use an extension it will not allow me to keep the standard form in UI right?

  • Sherwin Profile Picture
    220 on at

    0081.error2.PNG0081.error2.PNG

  • Sherwin Profile Picture
    220 on at

    And can you please confirm that  should i create an extension for a duplicated form also in order to customize it? or I can start customizing the duplicated form without creating an extension.

  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Sherwin,

    If you need to run the forms in parallel, duplicating would be a viable option. The error messages are not complete. The real errors are not visible to me.

  • Sherwin Profile Picture
    220 on at

    sb1.PNGsb2.PNG

  • Verified answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    You can have both. For example, you add your new field through an extension and add a logic that hides there fields if the form isn't called with a specific parameter. Then you create a new menu item for the form, which will use the parameter. When users access the form through all original menu items, they won't see your new fields, if they use the menu item, they will see them.

    There is no duplication so no problems with updates, and the standard code and your code are clearly separated in their own packages. That's how the appliation design should look like.

  • Verified answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    By the way, the errors suggest that you copied the form to another package that doesn't refer to all packages required by the form. You would have to add references to those packages.

  • Sherwin Profile Picture
    220 on at

    Thank You Martin. That makes a lot of sense.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans