Hi All
Below the code in order to retrieve the query name that defines a View.
#AOT
#Properties
TreeNode treeNode;
QueryName QueryName;
treeNode = TreeNode::findNode(#ViewsPath+'\\'+ 'ViewName');
QueryName = findProperty(treeNode.AOTgetProperties(), #PropertyQuery);
info ( QueryName );
That’s it!
Below the code in order to retrieve the query name that defines a View.
#AOT
#Properties
TreeNode treeNode;
QueryName QueryName;
treeNode = TreeNode::findNode(#ViewsPath+'\\'+ 'ViewName');
QueryName = findProperty(treeNode.AOTgetProperties(), #PropertyQuery);
info ( QueryName );
That’s it!