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)

Extended Code Snippet

(0) ShareShare
ReportReport
Posted on by

Hi All,

In Visual Studio we can use code snippet to insert 'static' x++ code by pressing Ctrl+K Ctrl+X or context menu. But can we have something like 'scripts' in previous version AX2012 with access to AX metadata and generate code in runtime?

In which way I can create similar to https://community.dynamics.com/ax/b/daxmusings/archive/2012/02/18/code-snippets-in-ax-2012 functionality for AX7?

Thanks 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,924 Most Valuable Professional on at

    It's possible, but not with mere snippets. If you need something more complex, you have to create a Developer Tools Addin project.

  • Community Member Profile Picture
    on at

    Thanks. I'll try to fight it)

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