I want to write a program that will get all of the relations of an entity and store them inside a table, but for that I need to access the Data Entities node through the treenode type.
I was trying this
Treenode tableNode;
tableNode = treenode::findNode(#DataEntitiesPath);
nodeCount = tableNode.AOTchildNodeCount();
But the variable tableNode returns null because #DataEntitiesPath isn't returning anything. I've also tried using the string path that was stored inside the macro, but it still isn't working. Is there a new path that we need to use?