on 09-15-2009 4:26 PM
Hi all,
I want to move one dimension from one class to another class of the universe (in this case, it's root class). I tried with the Add method, but it creates a empty new object, but I need the original one, with all its attributes, detail objects, etc.
Any help would be appreciate.
André
Which version?
XI Release 2 Service Pack 5 or XI 3.1 Service Pack 2 introduces the new methods:
Class.Move(String className, int position)
Object.Move(String className, int position)
that allows you to move a Class or Object to a different Class, or to a different position within the same class.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to hear you've found an alternative.
One warning for anyone else reading this thread:
One of the features of the Move method is that it retains the Object ID value. The ID value is what's used by Web Intelligence or Desktop Intelligence to refer to the Object (and not it's Class/Object path). So using Move won't break any docs already using the Universe.
If you try recreating an Object - even with the same name or even yet with the same path - the ID value for it will not stay the same. There's no programmatic control over the ID value. So this ususally leads to reports breaking, and you have to go in and modify the reports to remap to the correct Object.
Sincerely,
Ted Ueda
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.