RuleLoadFromFile weird behaviour

Post Reply
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

RuleLoadFromFile weird behaviour

Post by EvgenyT »

Hi Guys,

I have encountered a strange issue/bug today with RuleLoadFromFile function. I have a cube that gets built and destroyed on the fly with RuleLoadFromFile function in Epilog to load rule file to perform certain calculations.

If I copy the rule syntax into the rule editor Manually TM1 doesn't complain at all, but when I load it via TI I get this error:

Error: Epilog procedure line (8): E13) Error loading rules for cube "Cube Name" Syntax error on or before:

semicolon expected
[/i]


Is it a known issue?

Thanking you in advance

Evgeny
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

Re: RuleLoadFromFile weird behaviour

Post by EvgenyT »

Copying bit and pieces to a new txt file fixed the problem, but I am still puzzled with this behaviour... I got a feeling it has something to do with blank lines...

If anyone has an answer, would be much appreciated.

Thanks

ET
Post Reply