static void findAOTObjectByProperty(Args _args){#AOTTreeNode treeNodeTables = TreeNode::findNode(#TablesPath);TreeNode treeNode;str strPropertyName = 'SaveDataPerCompany';str strPropertyValue = 'No';treeNode = treeNodeTables.AOTfirstChild();while (treeNode != null){if (treeNode.AOTgetProperty(strPropertyName)== strPropertyValue){info(treeNode.AOTname());}treeNode = treeNode.AOTnextSibling();}}
No comments. Be the first one to comment on this post.
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics 365 FO.
Authors are allowed to set their own "buy me a coffee" link.
Join us.