Localized alias as attribute - enforce unique values

Post Reply
Wim Gielis
MVP
Posts: 2152
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0.7
Excel Version: Office 365 - latest
Location: Brussels, Belgium
Contact:

Localized alias as attribute - enforce unique values

Post by Wim Gielis » Wed Sep 04, 2019 10:41 pm

Hello,

Am I correct in assuming that localized attributes, in case of aliases, should enforce unique values ? I guess it's not the case.

For example create a TI process called 'test'. Then in either that TI process or in another one, you can write and execute:

Code: Select all

ProcessAttrDelete( 'Description' );
ProcessAttrInsert( '', 'Description', 'A' );
ProcessAttrPutS( 'alias value', 'test', 'Description', 'nl');
ProcessAttrPutS( 'alias value', 'test', 'Description', 'fr');
The result is like this:
01.png
01.png (14.15 KiB) Viewed 107 times
Shouldn't we get an error message of duplicate alias values ?

Documentation:
https://www.ibm.com/support/knowledgece ... nsert.html
https://www.ibm.com/support/knowledgece ... rputs.html
https://www.ibm.com/support/knowledgece ... rview.html

Thanks a lot for your comments.
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 109 TM1 articles and a lot of custom code
Newest blog article: Set up a TM1 service with AutoHotKey

Wim Gielis
MVP
Posts: 2152
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0.7
Excel Version: Office 365 - latest
Location: Brussels, Belgium
Contact:

Re: Localized alias as attribute - enforce unique values

Post by Wim Gielis » Thu Sep 05, 2019 11:16 am

The alias uniqueness is enforced of course for different processes.
For 1 and the same process, several locales can use the same alias value. My bad.
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 109 TM1 articles and a lot of custom code
Newest blog article: Set up a TM1 service with AutoHotKey

Post Reply