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)

Code Editor in AOT

(0) ShareShare
ReportReport
Posted on by 2

Hi, can the X++ code editor be accessed through the AOT, I'm wanting to change the method for toggling the line number to default to on but cannot for the life of me find the form of the editor?

Hope someone can shed some light on this.

*This post is locked for comments

I have the same question (0)
  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi

    As per my understanding if you want to edit a method by code, you can use the example below.

    str                treeNodePath = "\\Classes\\Test\\run";

    TreeNode    treeNode    = infolog.findNode(treeNodePath);

    Line             line = 1;

    Column       column =1;

    ;

    treeNode.AOTedit(_line, _column);

    Regards

  • Verified answer
    PA-22040759-0 Profile Picture
    6,194 on at

    The code editor in AX 2012 is actually a representation of a Visual Studio editor. To my knowledge you cannot access it as a regular AX form.

    You can however modify and extend it like you can do with Visual Studio. The dll's used by the editor is usually placed here: C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\EditorComponents

    At CodePlex you can find some examples on how to extend the editor with new scripts: ax2012editorext.codeplex.com

  • dolee Profile Picture
    11,279 on at

    Hi there,

    This is not what exactly you want, but it should give you an idea how to customize the X++ editor.

    ax2012editorext.codeplex.com

    Regards,

    Dominic

  • cpironmo Profile Picture
    2 on at

    Thanks for your input guys, will look at the codeplex project and see if I can extend the editor have these on by default or at least remember where it was last left.

    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