List all forms

I am looking for a way to list all of the forms that are in the AOT-> Forms. Is there any way to do this?

Hi Matt, you can create a job in Axapta that lists all the forms and inserts the form name into the infoLog (you can then print the infoLog to paper or file). Axapta 3.0 example: static void TEC_ListAllForms(Args _args) { #AOT TreeNode treeNode; xInfo xInfo = new xInfo(); ; treeNode = xInfo.findNode(#FormsPath); treeNode = treeNode.AOTfirstChild(); while(treeNode) { info(treeNode.treeNodeName()); treeNode = treeNode.AOTnextSibling(); } } Be aware of method names if you are using Axapta 2.5 (example: treeNode.AOTnextSibling is called treeNode.nextSibling in version 2.5) Best regards, H. Jaeger Tectura UK

Thanks a lot! I actually used the code to insert the list of forms into a List Box.