Localized alias as attribute - enforce unique values

Post Reply
Wim Gielis
MVP
Posts: 3105
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Localized alias as attribute - enforce unique values

Post by Wim Gielis »

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 1566 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

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
MVP
Posts: 3105
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Localized alias as attribute - enforce unique values

Post by Wim Gielis »

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

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply