I'm trying to import data from a MSSQL database into our TM1 database using a C# console application. The whole project already works pretty fine.
The struggle: Insert an element under a consolidation. The elements are under the root and under the consolidation resulting in strange behavior within rules and feeders. Can anyone help me solving this problem? I use the following code to insert the elements into the dimension:
Code: Select all
[POST] /api/v1/Dimensions('Version_TS')/Hierarchies('Version_TS')/Elements('Szenarien')/tm1.SetComponent
Post Body:
{
"Element":{
"Name":"testelement",
"UniqueName":"[Szenarien].[testelement]"
}
}
Does anyone have an idea what im doing wrong? (Or idea how i can remove the root -> Element relation)
I'm thankful for every tipp or suggestion