Hi,
Can anybody please put light on coding in Java API to create subset and Views in TM1 ?
Thanks and Regards,
Sushanti
Creating subset and views in TM1 Java API
-
- Posts: 12
- Joined: Thu Oct 29, 2009 8:05 am
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: 2007
Re: Creating subset and views in TM1 Java API
Thanks for viewing my post. I have got the code from sample directory we get along with TM1 installation.
- Steve Rowe
- Site Admin
- Posts: 2456
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: Creating subset and views in TM1 Java API
Thanks for posting an update sushanti, it's not an area that many people get involved in. It would be interesting to know what your planning on using it for?
Cheers
Cheers
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- Posts: 12
- Joined: Thu Oct 29, 2009 8:05 am
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: 2007
Re: Creating subset and views in TM1 Java API
Basically, the application we have created are having about 30 cubes. The elements in the dimension of these cubes are getting updated dynamically through a database using process.
I have written a java code which provides security to different groups. This security is very granular upto element level. E.g based on user's role he will get access to specific cubes and element. Now this code is fine until users use Architect. When workflow is coming into the picture we have to create many Views from him according to his Role. so that these views become tasks in Workflow. To create views in java API, that many subsets are also required.
This has become complicated and time consuming. Now we have moved to TM1 9.5. Lets c how we design the same there.
I have written a java code which provides security to different groups. This security is very granular upto element level. E.g based on user's role he will get access to specific cubes and element. Now this code is fine until users use Architect. When workflow is coming into the picture we have to create many Views from him according to his Role. so that these views become tasks in Workflow. To create views in java API, that many subsets are also required.
This has become complicated and time consuming. Now we have moved to TM1 9.5. Lets c how we design the same there.
-
- MVP
- Posts: 3703
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Creating subset and views in TM1 Java API
TM1 already provides its own on board ETL and scripting tool. Why would you not use Turbo Integrator to create the subsets and views (and set security for that matter)?
It would make your life a whole lot simpler!
It would make your life a whole lot simpler!
-
- Posts: 12
- Joined: Thu Oct 29, 2009 8:05 am
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: 2007
Re: Creating subset and views in TM1 Java API
Hi,
TI Process cannot create Views or subsets based on database values..
Please put some light on it.
Regards,
Sushanti
TI Process cannot create Views or subsets based on database values..
Please put some light on it.
Regards,
Sushanti
- Steve Rowe
- Site Admin
- Posts: 2456
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: Creating subset and views in TM1 Java API
Hi Sushanti,
You can certainly reference TM1 and ODBC type DBs from TI, what database do you need to view to drive your process?
Cheers
You can certainly reference TM1 and ODBC type DBs from TI, what database do you need to view to drive your process?
Cheers
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- Posts: 12
- Joined: Thu Oct 29, 2009 8:05 am
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: 2007
Re: Creating subset and views in TM1 Java API
Hi,
Thanks for replying..Yes I did find SubsetCreate and ViewCreate methods in Process Function Names.. Using this scripts can be written in prolog...
I am connecting with Oracle database.
Regards,
Sushanti
Thanks for replying..Yes I did find SubsetCreate and ViewCreate methods in Process Function Names.. Using this scripts can be written in prolog...
I am connecting with Oracle database.
Regards,
Sushanti