I have an issue with latest version with ICAS component (i.e. TM1 server) of CX 10 (all modules configured) where there seem to be some special properties for the element in dimensions with index=1. Updates via TI fail with the following error message:
There doesn’t seem to be any “automatic” adding of components to speak of: after an unwind and running the TI that should add all components the first element is an orphan C with no children, everything else that TI should have done in terms of rebuilding the dimension has worked no problem. Interestingly manually editing in dimension editor or saving as XDI then editing are are both OK and allow changes to components of "top element" - the error only comes in TI.Error msg in ProcessError log wrote:Error: Element "X" is set as the top element and can not be edited. Components will be added automatically.
Dimension sort order is set to automatic by hierarchy, components by name.
CX server version is 10.1.3.2353
I see nothing suspicious in the tm1s.cfg file
Dimension updates are happening on the PROLOG using a While loop
Using DimensionElementInsertDirect and DimensionElementComponentAddDirect
Anyone seen this and know how to manage it? I looked in the both Dimension Properties and Hierarchy Properties cubes but settings there are blank. On my Win7 x64 laptop which is running TM1 10.1.1 I have a more or less identical server with identical tm1s.cfg file with the exception of the CAM settings and dimension updates are normal there. I’m guessing this has something to do with Cognos BI interop but seems weird and makes no sense to me. Is this a bug or a new feature that I was unaware of? If a new feature then how are the "top element" properties managed.
The only mention I could find anywhere of "top element" was in the TM1 developer guide and operation manual recommending to set the default member property in hierarchy properties to the top member, but the issue is not in allocating the top member as the default it is how to edit and control the top member to start with.
As a temporary workaround I have just inserted an artificial 1st member to be the 1st element or the “top element” so that all the other real elements update fine but I would really like to know what’s going on.
Edit: Initially I thought that DimensionElementInsert and DimensionElementComponentAdd also produced the same result but on re-checking they don't. This error is only encountered with the new Direct dimension update functions. Can't see a reason for this. I'd rather use the direct functions as for the use case I would expect to encounter new dimension elements relatively rarely but it doesn't look like it is going to work (at least in CX vis-a-vis TM1). Bug?