TM1 Scripting

Post Reply
venureddy
Posts: 2
Joined: Fri Apr 13, 2018 5:00 am
OLAP Product: EXel
Version: 10.2
Excel Version: 15

TM1 Scripting

Post by venureddy » Tue Apr 17, 2018 2:57 pm

How can I modify text in generated section in Turbo Integrator.To write scripts

David Usherwood
Site Admin
Posts: 1314
Joined: Wed May 28, 2008 9:09 am

Re: TM1 Scripting

Post by David Usherwood » Tue Apr 17, 2018 3:00 pm

You can't.
If you don't want the code executed, either remove the mappings etc which generated the code, or wrap the code block as follows:

Code: Select all

if(1=0);
# generated code
....
# end generated code
endif;

venureddy
Posts: 2
Joined: Fri Apr 13, 2018 5:00 am
OLAP Product: EXel
Version: 10.2
Excel Version: 15

Re: TM1 Scripting

Post by venureddy » Tue Apr 17, 2018 3:08 pm

Then Where Dimension sorting order is done

Wim Gielis
MVP
Posts: 1645
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0
Excel Version: 2016
Location: Brussels, Belgium
Contact:

Re: TM1 Scripting

Post by Wim Gielis » Tue Apr 17, 2018 4:45 pm

Add a function in the Prolog. DimensionSortOrder
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 105 TM1 articles and a lot of custom code
Newest blog article: Looping over input files

Post Reply