Announcements
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
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
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.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 16
Nagendra Varma K 4
Harisgillani 4