TM1 Java API
Posted: Sat Nov 21, 2009 12:32 pm
I have written a java code is to provide access to a user for TM1 application. This access needs to be provided to only required cubes (along with its dimensions) and elements according to the his role.
Initially, I wrote a code to create Group and Client in TM1 as per our database and assign the client to the group. Then, assigned security rights to the required cubes/dimensions/elements. As I faced unexpected output along with failure of java code. Please note it was observed that same java code was executing successfully if no user had logged into TM1 application.
In order to overcome unexpected output, I inserted a code to first provide NONE access to all the cubes/dimensions/elements followed by provide WRITE access to the required cubes/dimensions/elements. Then I observed that even client was getting an error stating failure of TM1 application in the server. Due to which we had to restart the application server and make sure no one has logged into it.
Please guide : Can I execute my java code without harming any user logged into the application ? Or is it necessary that I make sure no body has logged in. Not even the administrator.
Admin note: Moved out of the Bugs sub-forum to the Cognos TM1 Forum
Initially, I wrote a code to create Group and Client in TM1 as per our database and assign the client to the group. Then, assigned security rights to the required cubes/dimensions/elements. As I faced unexpected output along with failure of java code. Please note it was observed that same java code was executing successfully if no user had logged into TM1 application.
In order to overcome unexpected output, I inserted a code to first provide NONE access to all the cubes/dimensions/elements followed by provide WRITE access to the required cubes/dimensions/elements. Then I observed that even client was getting an error stating failure of TM1 application in the server. Due to which we had to restart the application server and make sure no one has logged into it.
Please guide : Can I execute my java code without harming any user logged into the application ? Or is it necessary that I make sure no body has logged in. Not even the administrator.
Admin note: Moved out of the Bugs sub-forum to the Cognos TM1 Forum