Hi Everyone,
Not sure if this was already posted but a quick search didn't return anything similar so I've attached these 2 files.
T.I. can be called without parameters to write some test lines to html file. If the file doesn't exist, it creates one and if it does it appends to file.
{Set variables portion of the T.I. will need to change to your path, servername, adminhost}
Style sheet (css extension not uploadable) is to format the html page which can be modified to suit.
URL will be like this;
file://tm1server/Servers/All/h_LogMain_Production.html
Hope you get some value from it.
if anyone's interested in debug.print T.I. to an html page
if anyone's interested in debug.print T.I. to an html page
- Attachments
-
- h_LogStyle.txt
- cascading style sheet renamed as text file
- (2.34 KiB) Downloaded 284 times
-
- zSys_html_log.pro
- (4.27 KiB) Downloaded 305 times
Yeon
- qml
- MVP
- Posts: 1098
- 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: if anyone's interested in debug.print T.I. to an html pa
Thanks for that, might come in handy one day.
Just one tip. Instead of this snippet:
i suggest you use this:
SLEEP is a useful TI and rules function that lets you specify precisely (in milliseconds) how long to pause for, without cooking the CPU unnecessarily.
Just one tip. Instead of this snippet:
Code: Select all
# exec cmd wait = 0, so inserting delay. 1sec = ~ 1,000,000
n = 0;
While (n <= 500000);
n = n + 1;
End;
Code: Select all
SLEEP( 500 );
Kamil Arendt