Execute chores from other web applications

Post Reply
alex.stan
Posts: 2
Joined: Thu Jul 31, 2014 1:27 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2010

Execute chores from other web applications

Post by alex.stan »

Hi,

I'm new into TM1 10.2 and I'm not that familiar with all the features and options it offers.
I need to be able to execute some chores from another web application.

Do you think this can be achieved in any way using the TM1 REST API or TM1 Web URL API?
I have TM1 web installed but I was not able to see the administration menu, probably some configuration settings from what I read.

Thanks,
Alex
User avatar
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: Execute chores from other web applications

Post by jim wood »

Alex,

If you have TM1 (full) installed on the web server that you want to use to run the chore then yes you will be able to execute a chore. I would say however that as of 10.2 .Net is not an option as it's all gone Java so choose your poison well. There is guide to the API and it's commands that comes with the install. Also each command is covered in the reference guide,

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
alex.stan
Posts: 2
Joined: Thu Jul 31, 2014 1:27 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2010

Re: Execute chores from other web applications

Post by alex.stan »

Hi Jim,

Thanks for the quick reply.
Java works good for me and I took a quick look at the documentation offered for the TM1 Java Api and it seems to be what I was looking for.
I'll try to implement something to see how it works.

Thanks,
Alex
Alan Kirk
Site Admin
Posts: 6667
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Execute chores from other web applications

Post by Alan Kirk »

jim wood wrote: If you have TM1 (full) installed on the web server that you want to use to run the chore then yes you will be able to execute a chore. I would say however that as of 10.2 .Net is not an option as it's all gone Java so choose your poison well.
Ah... let's not get too carried away with IBM's Java fetish.

- The .Net API is still alive, even if it's no longer being developed. Off the top of my head I can't recall whether it has a chore execution option but I think it may do from memory. (I don't have the time to go dumpster diving to find the help file at the moment.) Edit: I've since dug out the .chm and confirmed that the Chore object in the .Net API does indeed have an Execute method.
- The "classic" VB/C API is a long, long way from being retired, and it's quite possible to create .Net-based code (which could be called from some other web application) to execute a process, if not an actual chore but with ExecuteProcess the net effect can be the same.
- This doesn't even take into account the possibility of running a TI via TM1RunTI.exe. As far as I know it still works with 10.2 and if you can actually find the thing this will probably be the easiest option.
- I believe that it will still be possible to tap into the Java options from .Net as well, though obviously I haven't confirmed that or I'd have written yet another 7,000 page treatise on the subject in the Useful Tips forum. Give me 6 months or so and a bucket of Dettol that I can wash my hands in after going anywhere near Java and I'll confirm or deny.

Java may be now the preferred option... but it's far from the only one.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
User avatar
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: Execute chores from other web applications

Post by jim wood »

Good point and some good additional options Alan. I'm no expert when it comes to the dark side of things, so thanks for correcting me. 8-)
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
Post Reply