| | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 11/11/2008 12:09:27 PM Posts: 52, Visits: 135 |
| | i included the deployment of the common repository localization to my project and deployed it to the server. the common repository items i created are in the table together with the project-specific localization entries. however, when i try to access the common repository items through my application using UI.Localization.RetrieveTextValue("MYKEY"), it fails / doesnt find the key. the data-table on the server looks like this: msg_pk msg_prj_pk msg_type msg_key msg_language ... 47 ........4..................2.............KEY1........1031 48 ........4..................2.............KEY1........1033 71 ........3..................2.............MYKEY......1031 72 ........3..................2.............MYKEY......1033 i see that the msg_prj key is different between the application-specific and the cmr items. tho i deployed the common repository through the ddt. is there some special "trick" to get the common repository items through RetrieveTextValue() ? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 7:08:30 PM Posts: 4,811, Visits: 4,781 |
| | You have to indicate that teh common repository will be included within your localization package. By default it is not included. To include the common repository, open your localization project, then click the properties: 
then check the Include Common Repository option:
|
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: 11/11/2008 12:09:27 PM Posts: 52, Visits: 135 |
| | thanks, i did that. just noticed i had old code in place that specified the localization messagekeytype as xml instead of sqlserver. works now |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 7:08:30 PM Posts: 4,811, Visits: 4,781 |
| Cool |
| |
|
|