TM1PrimaryDBName() not firing in promoted PAfe but is in Web
Posted: Thu Sep 17, 2020 4:19 pm
Hi All
I've come across something I wasn't expecting and wanted to make sure it wasn't me having a "moment".
We are using the TM1PRIMARYDBNAME() function to retrieve the name of the TM1 instance. We then set the value returned against an excel range name which then gets used in all TM1/PA formulae.
We have instances as below:
"DEV - 12345"
"UAT - 12345"
"PRD - 12345"
What I have observed is if I promote the reports from one instance to another, and let's just say that they start off in "DEV - 12345" and move up to "UAT - 12345", is that when I open TM1/PA Web in the "UAT - 12345" environment, my reports correctly show that the TM1PRIMARYDBNAME() has retrieved the new server name of "UAT - 12345" and everything works......happy days !
However........if I open that same report in PAfE, within the "UAT - 12345" instance, the TM1PRIMARYDBNAME fails to update on opening the report, it still returns the "DEV - 12345" instance.
I thought that this was going to fire the new value upon opening as it does in web, but it didn't.
Seems a little disappointing but not sure if this is intended or not. Anyone able to confirm that this is expected ?
On PA 2.0.9.1 and PAfE 2.0.54
Thanks
Ajay
I've come across something I wasn't expecting and wanted to make sure it wasn't me having a "moment".
We are using the TM1PRIMARYDBNAME() function to retrieve the name of the TM1 instance. We then set the value returned against an excel range name which then gets used in all TM1/PA formulae.
We have instances as below:
"DEV - 12345"
"UAT - 12345"
"PRD - 12345"
What I have observed is if I promote the reports from one instance to another, and let's just say that they start off in "DEV - 12345" and move up to "UAT - 12345", is that when I open TM1/PA Web in the "UAT - 12345" environment, my reports correctly show that the TM1PRIMARYDBNAME() has retrieved the new server name of "UAT - 12345" and everything works......happy days !
However........if I open that same report in PAfE, within the "UAT - 12345" instance, the TM1PRIMARYDBNAME fails to update on opening the report, it still returns the "DEV - 12345" instance.
I thought that this was going to fire the new value upon opening as it does in web, but it didn't.
Seems a little disappointing but not sure if this is intended or not. Anyone able to confirm that this is expected ?
On PA 2.0.9.1 and PAfE 2.0.54
Thanks
Ajay