web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Find AOT project by name

(1) ShareShare
ReportReport
Posted on by 330

It's possible to find a shared/private project in AOT by name ? Why this function is not present in Morphx enviroment? How to implements this ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,659 Super User 2026 Season 1 on at

    Hi Saverio,

    Can you explain your question? What exactly do you mean with search by name? Is it because the list with projects got too long and you want to be able search on part of the name?

    In that case you can go to AOT > SystemDocumentation > Tables > UtilElements and open the table browser. Search for recordType SharedProject or PrivateProject. You can also filter on the name column.

    You can also enter an x++ SQL statement:

    SELECT * FROM UtilElements where UtilElements.recordType == UtilElementType::SharedProject || UtilElements.recordType == UtilElementType::PrivateProject

  • SaverioT Profile Picture
    330 on at

    Thanks Andrè, exactly my question. My doubt always was why this funcion isn't included in development enviroment like a find.

    I tried to open AOT > SystemDocumentation > Tables > UtilElements but it's open the browser, maybe for a bad configuration of my enviroment. The query instead works good.

  • Verified answer
    Community Member Profile Picture
    on at

    static void DEV_Search_Project_Name(Args _args)

    {

       ProjectNode projectNode;

       #AotExport

       projectNode    = infolog.projectRootNode();

       projectNode    = projectNode.AOTfindChild(#expProjectShared);

       projectNode    = projectNode.AOTfirstChild();

       while(projectNode)

       {

           setPrefix('Shared Projects');

           if(strScan(projectNode.name(), "PROJECTNAME", 0, 60))

           {

               info(projectNode.name());

           }

           projectNode    = projectNode.AOTnextSibling();

       }

    }

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
Nagendra Varma K Profile Picture

Nagendra Varma K 4

#2
Harisgillani Profile Picture

Harisgillani 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans