Find projects

BigglesukBigglesuk Member Posts: 11
edited 2006-07-21 in Dynamics AX
Hello,

We have a large amount of projects, many of them with bizarre naming convensions (dont ask me!)

I would like to be able to take a table or a class for example and backtrack and find out which of the axapta shared projects contains that particular item...

is this possible? I know its not current axapta functionality.

... if it isnt in existance already then if someone could show me which table the projects are kept in i might be able to find out how to do it.

thanks,

Andrew Bartley.

Comments

  • MugurMugur Member Posts: 93
    Hi,

    AFAIK there is no standard method for this, but you can create a custom program by relying on the Project* & TreeNode classes unders System Documentation.
    Kind regards,

    Ciprian Dudau
    Axapta Developer
  • BigglesukBigglesuk Member Posts: 11
    I was thinking more along the lines of a physical table.. i was thinking of using SQL enterprise manager to view the tables. Rather than code in Axapta itself. i did find the two you were talking about but im not proficient enough in X++ to make anything out of them.
  • BigglesukBigglesuk Member Posts: 11
    Well i found some code that would point in the right direction:
    public static WebProject construct(WebApplicationName wn, 
    ProjectSharedPrivate shared, boolean run = false)
    {
        ProjectListNode webProjectListNode;
        WebProject wp;
        ProjectNode webProjectNode;
    
        // Initialize the Web Project
        webProjectListNode = infolog.projectRootNode().AOTfirstChild
    ();                  // private projects
        if (shared == ProjectSharedPrivate::ProjShared)
            webProjectListNode = webProjectListNode.AOTnextSibling
    ();                        // shared projects
    
        webProjectNode = webProjectListNode.AOTFindChild(wn);
    
        if (!webProjectNode)
            return NULL;
    
        if (run)
            webProjectNode.AOTrun();
    
        wp = webProjectNode.loadForInspection();
    
        return wp;
    }
    
Sign In or Register to comment.