Page 1 of 1

TM1Cube.setCellValue against a consolidated cell

Posted: Fri May 30, 2014 10:08 am
by isakk3
Hello, TM1 expert,

I'm a beginner of Cognos TM1. I'm now trying to use TM1 Java API and had the subject question.
When I tried to call TM1Cube.setCellValue() against a consolidated cell, I got an error message ObjectSecurityNoWriteRights although I expected another error such as UpdateNonLeafCellValueFailed. Why I got ObjectSecurityNoWriteRights? Can I overwrite a consolidated cell by setting such a write right?

Regards,
Isao

Re: TM1Cube.setCellValue against a consolidated cell

Posted: Fri May 30, 2014 12:08 pm
by jim wood
In TM1 the oly way you can overwrite a consolidated value is with a rule. as for the error message you're getting I'm no API expert but I'm sure the likes of Alan will be able to help you out with that,

Jim.

Re: TM1Cube.setCellValue against a consolidated cell

Posted: Sun Jun 01, 2014 1:13 pm
by isakk3
Hi, Jim,

Thank you very much for your comment!

Regards,
Isao

Re: TM1Cube.setCellValue against a consolidated cell

Posted: Sun Jun 01, 2014 1:56 pm
by Gabor
You could do data spreading to the leaf elements below that consolidation.

Re: TM1Cube.setCellValue against a consolidated cell

Posted: Mon Jun 02, 2014 12:04 pm
by jim wood
Good point Gabor. That's one way round it. Once you start opening up the children there's a fe wspreading options and some others as well.

Re: TM1Cube.setCellValue against a consolidated cell

Posted: Wed Jun 04, 2014 11:19 am
by isakk3
Hi, Jim & Gabor,
Thank you for your suggestions.
Regarding my question about ObjectSecurityNoWriteRights, I confirmed TM1Cube.setCellValue() returns the same error when calling it against a calculated cell as well as a consolidated cell.

Regards,
Isao