I try to create script from a urcap node based on the information from the children nodes. The question is how to get the ProgramNodeContribution class from TreeNode.
If we take the HelloWorld example as referencfe, we can traverse the Tree to get the treenode of the HelloWorld treenode, but how to get the class HelloWorldProgramNodeContribution from that treenode and access the functions to get the related information.
The child node needs to implement some “custom API/interface”, that makes you able to get the node as that interface.
Check out this example:
Thank you. It works.