on 03-14-2007 5:04 PM
Hi
I have a hierarchical table name "Organization" in my MDM repository. I am using the following VB code to get the hierarchy. The system gives me "Automation error" (cat object is successfully initialized)
Dim oNode As TreeNode
oNode = cat.GetHierarchy("Organization")
The code works only with Taxonomy tables. I've tried GetBranchFromNode and GetResultTree methods but all of them give me "Automation error" with my hierarchical table. They work fine with Taxonomy tables. Please help me how can have the tree structure of my hierarchy table.
I am using MDM 5.5 SP4 Patch01.
Thanks & Regards,
Yasir Rizwan Saqib
Sorry the code i'm using is:
Dim oNode As TreeNode
Set oNode = cat.GetHierarchy("Organization")
Please provide your views on the problem.
Regards,
Yasir Rizwan Saqib
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well ... its like answering myself
the code given to a table is used to identify it. Use the code instead the name in API calls and it works. I now find it handy to have the same code as the name of the table. It is decieving that API documentation asks for table name as the argument when what they really need is the code.
-yasir
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.