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)

Create project from model after moving elements - AX7

(0) ShareShare
ReportReport
Posted on by

Is there a way to create a Visual Studio project from a model? I can add the elements manually, but:

1) This is a manual process and I can easily miss elements.

2) They are not organized into subfolders within the project automatically.

In most situations, you would simply add the elements from within the project so it will always have all the elements, but I occasionally need to move elements to a different model. I am assuming that I need to manually move the XML files to move the elements, which will cause my VS projects to be out of sync with the models.

Thank you.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    How about searching by Model Display Name, by putting it inside inverted commas and they choosing option to add it to current project or to a new project, depending upon if your current VS project belongs to currently search "Model Display Name"

    SMCAddmOdelProjects.png

  • Nehal Mistry Profile Picture
    on at

    Sohaib,

    Very nice. It added all the elements from the model.

    It would be helpful to organize everything into subfolders (tables, forms, classes, etc.), but at least this is a start. Perhaps Microsoft will improve this in the future.

    Thank you.

  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    If you make setting at global level for projects in Visual Studio, all of your objects will automatically be added in proper directories or folders, without any effort.

    https://axatoz.wordpress.com/2016/01/06/ax7-some-tips-to-set-up-visual-studio-for-a-better-expereince/

     

  • Nehal Mistry Profile Picture
    on at

    That Visual Studio setting worked and it's now automatically going into folders. Thanks again.

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans