10.1 strange behavior of web connection to instances
Posted: Thu Oct 10, 2013 4:47 pm
Dear all,
there is a strange behavior in TM1 web 10.1 in comparison with 9.5.2. We are running 3 tm1 services on one machine (tm1 version 9.5.2). Let's call the tm1 services tm1_a, tm1_b and tm1_c. Our users access the application all via web. To prevent always to change the Tm1 service name in the web sheets (e.g. tm1_a:cube to tm1_b:cube) we implemented the following logic.
Each sheet has a config range on the top. First column Servernames; Second column to check to which server the user is connected to.
Column A| Column B
tm1_a | =TM1USER(tm1_a)
tm1_b | =TM1USER(tm1_b)
tm1_c | =TM1USER(tm1_c)
The user loggs in via web (selected a server in the drop down list). In the confic section we used the TM1USER function to check to which server the user is connected to. Based on the result we select the active server instance. Active server should only be the one which the user has selected in the login screen (web). Worked perfectly in 9.5.2.
Result in web for 9.5.2 for a user connected to tm1_b was:
Column A| Column B
tm1_a| ""
tm1_b| username //means user is connected to tm1_b
tm1_c| ""
Now we tested this in 10.1 one. But seems like the logic has changed.
Column A| Column B
tm1_a| username
tm1_b| username
tm1_c| #ERR!
Instead of an empty string #ERR shows up! The strange thing is that even though the user has selected in web tm1_b as server tm1_a AND tm1_b seems to be connected (for both the username shows up).
Description of TM1User function for 9.5.2 and 10.1 (it's the same for both):
"If the current TM1 user is not connected to a server, or if the specified server is not running, TM1User returns an empty string."
I tested the logic and seems like it's connecting in the alphabetical order of the server names means:
When I select in web (dropdown) tm1_a it's only connecting to tm1_a. If I select tm1_b it's connecting to tm1_a and tm1_b. If I select tm1_c it's connecting to tm1_a, tm1_b, tm1_c. So our old logic doesn't work anymore in web.
This behavior is strange to me. Any idea what the reason could be?
there is a strange behavior in TM1 web 10.1 in comparison with 9.5.2. We are running 3 tm1 services on one machine (tm1 version 9.5.2). Let's call the tm1 services tm1_a, tm1_b and tm1_c. Our users access the application all via web. To prevent always to change the Tm1 service name in the web sheets (e.g. tm1_a:cube to tm1_b:cube) we implemented the following logic.
Each sheet has a config range on the top. First column Servernames; Second column to check to which server the user is connected to.
Column A| Column B
tm1_a | =TM1USER(tm1_a)
tm1_b | =TM1USER(tm1_b)
tm1_c | =TM1USER(tm1_c)
The user loggs in via web (selected a server in the drop down list). In the confic section we used the TM1USER function to check to which server the user is connected to. Based on the result we select the active server instance. Active server should only be the one which the user has selected in the login screen (web). Worked perfectly in 9.5.2.
Result in web for 9.5.2 for a user connected to tm1_b was:
Column A| Column B
tm1_a| ""
tm1_b| username //means user is connected to tm1_b
tm1_c| ""
Now we tested this in 10.1 one. But seems like the logic has changed.
Column A| Column B
tm1_a| username
tm1_b| username
tm1_c| #ERR!
Instead of an empty string #ERR shows up! The strange thing is that even though the user has selected in web tm1_b as server tm1_a AND tm1_b seems to be connected (for both the username shows up).
Description of TM1User function for 9.5.2 and 10.1 (it's the same for both):
"If the current TM1 user is not connected to a server, or if the specified server is not running, TM1User returns an empty string."
I tested the logic and seems like it's connecting in the alphabetical order of the server names means:
When I select in web (dropdown) tm1_a it's only connecting to tm1_a. If I select tm1_b it's connecting to tm1_a and tm1_b. If I select tm1_c it's connecting to tm1_a, tm1_b, tm1_c. So our old logic doesn't work anymore in web.
This behavior is strange to me. Any idea what the reason could be?