Fork me on GitHub

Other articles


  1. A Simple Model-View-ViewModel pattern example (Universal Apps Model) [.NET]

    Introduction

    It took me a few days to get my head around Model-View-ViewModel (MVVM) pattern. I was reading various books as well as following tutorials that I found on internet, but I was still struggling to fully understand how MVVM does it’s magic.

    And I think my problem was ...

    read more

    There are comments. Feel free to leave your comment.

  2. Search Active Directory for User information [AX2012]

    A simplified example from AD User Import Wizard on how to retrieve AD user details via X++.

    It may be useful when the wizard doesn’t return all information that you need about system users.

    Solution

    public void SearchADUsers(Args _args)
    {
        InteropPermission                                   interopPermission;
        System.DirectoryServices.DirectorySearcher          directorySearcher;
        System.DirectoryServices.DirectoryEntry ...
    read more

    There are comments. Feel free to leave your comment.

  3. Create Enterprise Portal/AX Client Primary/Secondary List Pages with Preview Pane [AX2012]

    Create List Page/Form

    Prepare new Project (optional)

    • Create a new Project Project > Shared > New > Project and give it a name. Having all created/modified objects in a single project will help you to be more organised and will allow you to easily export your work to production environment.
    • Give ...
    read more

    There are comments. Feel free to leave your comment.

  4. Dynamics AX R2 Enterprise Portal, Enterprise Search and Help Server setup with SharePoint 2010/2013

    Lessons learned

    Below you will find a list of things that I was struggling on whilst making this kind of setup to work for the first time.

    If you haven’t done this kind of setup before, I’d recommend to start with SharePoint 2010 (SP) version. This will allow ...

    read more

    There are comments. Feel free to leave your comment.

  5. Highlight (select, mark) a record(s) in Grid from X++ [AX2012]

    Solutions

    Highlighting all the records in a grid (including NOT loaded ones)

    Let’s say we have some Control in a Form of type CheckBox, Button or StringEdit and we want it them once modified/clicked to update the form grid by selecting all the records in a grid.

    To ...

    read more

    There are comments. Feel free to leave your comment.

  6. StreamSocket TCP/IP Client (Universal Apps Model) [.NET]

    Solution

    TCP/IP Client based on a few examples found online. Making those examples to work turned out to be a tricky task, so I’m sharing what finally worked for me.

    This TCP/IP client is used to send a particular string to some TCP/IP server on the ...

    read more

    There are comments. Feel free to leave your comment.

  7. Read XML string (elements, attributes, texts) [AX2012]

    An X++ example of getting the data from a bit more complex XML string.

    Here you can find a tutorial on making XML string in X++.

    Solution (this time only a single Job)

    static void readXMLString(Args _args)
    {
        // Define XML Document and its nodes
        XmlDocument     doc;
        XmlNodeList     xmlScriptList;
        XmlNodeList     xmlProjectList ...
    read more

    There are comments. Feel free to leave your comment.

  8. Building a Query in X++ [AX2012]

    Solution

    An example of Query to find InventSerials, when Works Order is known.

    An example of achieving same result using While/Select statements.

    Class declaration

    public class YourClass
    {
        // Query objects
        Query                   query;
        QueryRun                queryRun;
        QueryBuildDataSource    qbdsInventTransOrigin;
        QueryBuildDataSource    qbdsInventTrans;
        QueryBuildDataSource    qbdsInventDim;
        QueryBuildDataSource    qbdsInventSerial;
        QueryBuildRange         qbr;
    
        // Declare a table buffer
        InventTransOrigin       inventTransOrigin ...
    read more

    There are comments. Feel free to leave your comment.

Page 1 / 2 »

links

social