StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



using Common RepositoryExpand / Collapse
Author
Message
Posted 07/22/2008 7:47:13 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame 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() ?

Post #17982
Posted 07/22/2008 8:40:49 AM


StrataFrame Developer

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:

Post #17990
Posted 07/22/2008 8:45:57 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame 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

Post #17992
Posted 07/22/2008 8:58:00 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
Cool
Post #18000
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 2:08am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.