Page 1 of 1
SaaS as a datasource
Posted: Thu Jul 24, 2014 2:59 pm
by Martin Ingram
We're potentially embarking on a project to replace our ledger systems with a SaaS provider. Given that we'll have no access to the underlying database, data extracts will need to come via reports in CSV format.
Rather than this being a manual, 2 stage, process (ie Push from SaaS, then pull into TM1), I'd ideally like us to be able to initiate everything from TM1. This will require that we somehow fire a webservice from TI to trigger the production of the report on the SaaS solution.
Given the rising popularity of SaaS, has anyone encountered / solved this before? Any lessons learned or approach suggestions gratefully received

Re: SaaS as a datasource
Posted: Thu Jul 24, 2014 3:29 pm
by jim wood
You could run the TI via a TM1RunTI batch script and embed the extract call within it. Again this is only possible if you fire off an export command from outside SaaS. As you might have guessed I've personally not encountered this, I'm trying to think of options for you,
Jim.
Re: SaaS as a datasource
Posted: Thu Jul 24, 2014 11:14 pm
by nick_leeson
Your version is stated as 9.5.2 so options are quite limited. I can see many ways you could solve this problem .
1) Using Python trigger the export using the ExecuteCommand( 'python my.py , 1 )
2) Once the data is downloaded using TM1RunTI get the data into TM1.
You could use .NET To do the same thing or JAVA but that's heaps of lines of code.
Re: SaaS as a datasource
Posted: Fri Jul 25, 2014 7:08 am
by pandinus
The easiest way to solve this would be by using the following setup:
- Run a batch script from TI with parameters that sends a request to the SaaS provider to download the specified csv file. If you require powershell to send a more specific request (like username/password/output format/whatever) to the SaaS provider you can call Powershell command from a batch script.
- Run another TI process (or call from the first process) with the downloaded file as data source and you're done.
Re: SaaS as a datasource
Posted: Wed Aug 06, 2014 8:58 am
by Martin Ingram
Thanks for the input guys; Had a couple more internal chats and we'll probably go down the Powershell route.
I'll post back when this is complete to advise how it went!