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
TM1Cube.setCellValue against a consolidated cell
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: TM1Cube.setCellValue against a consolidated cell
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.
Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 3
- Joined: Fri May 30, 2014 9:23 am
- OLAP Product: IBM Cognos TM1
- Version: 10.2
- Excel Version: 2011
Re: TM1Cube.setCellValue against a consolidated cell
Hi, Jim,
Thank you very much for your comment!
Regards,
Isao
Thank you very much for your comment!
Regards,
Isao
-
- MVP
- Posts: 170
- Joined: Fri Dec 10, 2010 4:07 pm
- OLAP Product: TM1
- Version: [2.x ...] 11.x / PAL 2.1.13
- Excel Version: Excel 2016-2021-365
- Location: Germany
Re: TM1Cube.setCellValue against a consolidated cell
You could do data spreading to the leaf elements below that consolidation.
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: TM1Cube.setCellValue against a consolidated cell
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.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 3
- Joined: Fri May 30, 2014 9:23 am
- OLAP Product: IBM Cognos TM1
- Version: 10.2
- Excel Version: 2011
Re: TM1Cube.setCellValue against a consolidated cell
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
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