I know quite well to create an empty process, but unfortunately it doesn't work to delete a process by name via VB/VBA API. Has anyone a good idea or a fragment of code?
VB API to delete a process
-
Phil66
- Posts: 3
- Joined: Mon Apr 04, 2016 11:46 am
- OLAP Product: TM1
- Version: 10.2.2.5
- Excel Version: Excel 2013
VB API to delete a process
Hello,
I know quite well to create an empty process, but unfortunately it doesn't work to delete a process by name via VB/VBA API. Has anyone a good idea or a fragment of code?
I know quite well to create an empty process, but unfortunately it doesn't work to delete a process by name via VB/VBA API. Has anyone a good idea or a fragment of code?
- qml
- MVP
- Posts: 1097
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: VB API to delete a process
TM1ObjectDelete( TM1P hPool, TM1V hObject ) should do the trick.
Kamil Arendt
-
babytiger
- Posts: 78
- Joined: Wed Jul 31, 2013 4:32 am
- OLAP Product: Cognos TM1, EP, Analyst
- Version: 10.2.2
- Excel Version: 2013
- Location: Sydney AU
Re: VB API to delete a process
Can I please ask why such functionality is required?
If required to create temporary TIs to perform a function, and delete the temporary TIs on completion. If that's the case, wouldn't it be tidier to perform all updates via API alone?
If required to create temporary TIs to perform a function, and delete the temporary TIs on completion. If that's the case, wouldn't it be tidier to perform all updates via API alone?
MK
