}Drill process return handle

Post Reply
Drg
Regular Participant
Posts: 159
Joined: Fri Aug 12, 2016 10:02 am
OLAP Product: tm1
Version: 10.2.0 - 10.3.0
Excel Version: 2010

}Drill process return handle

Post by Drg »

Hello all.

Has anyone encountered returning data from a drill process where the source is specified as a csv file?
The official doc is silent on this matter, but there are still some references that the function is reserved and works through the rest api. So maybe I’m doing something wrong or it doesn’t work very well in old clients? PA 2.0.9

as I expected it only works in PAW

csv columns (variables) define as 'Other' in the source variables tab.

Epilog code:

Code: Select all

ReturnCSVTableHandle;
documentation: https://www.ibm.com/docs/ro/planning-an ... llsets.htm
Wim Gielis
MVP
Posts: 3120
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: }Drill process return handle

Post by Wim Gielis »

Hello,

George Tonkin and Edward Stuart have been working on this in the past:
https://community.ibm.com/community/use ... utput-file

Does this help ?
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Drg
Regular Participant
Posts: 159
Joined: Fri Aug 12, 2016 10:02 am
OLAP Product: tm1
Version: 10.2.0 - 10.3.0
Excel Version: 2010

Re: }Drill process return handle

Post by Drg »

yep Wim thanks
lotsaram
MVP
Posts: 3654
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: }Drill process return handle

Post by lotsaram »

I wasn't aware of this. Will have to look up ReturnCSVTableHandle and see if I can get it to work.

The "classic" way of doing this is to use a text to ODBC driver and set up a public ODBC DSN pointed to a specific folder then have a TI process write a CSV to the folder which can then be displayed as a drill-through result. However, just being able to reference a CSV directly for a drill-through seems like a betrter option.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Post Reply