COGNOiSe.com - The IBM Cognos Community

Planning & Consolidation => TM1 => Topic started by: Derezed on 28 Apr 2011 08:27:24 AM

Title: Commit Problem in TI Metadata Tab
Post by: Derezed on 28 Apr 2011 08:27:24 AM
Hello there,

I have a problem with my TI.

I need to create new dimension items using DimensionElementInsert and then add attributes to my newly created elements (for this I am using AttrPutS) .  Unfortunately, the new elements don't appear to be committed until the end of the Metadata tab so I can't add attributes to them until later which causes me a load of problems.

Is there any way of committing these elements and adding attributes in the same metadata tab? I cannot use SaveDataAll.
Title: Re: Commit Problem in TI Metadata Tab
Post by: OLAPBPMguy on 28 Apr 2011 03:42:56 PM
I suggest you read the developer guide and TI guide as this is exactly the expected behaviour. The whole point of the meta data tab is that changes are not committed until the meta data tab finishes processing after the last source record. 

You cannot send attribute data to new dimension elements until the data tab as not surprisingly data cannot be stored against an element that does not yet exist.

Maybe if you could explain why you think this is causing you a problem someone might be able to offer some alternate approaches.