using Common Repository


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 141, Visits: 263
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() ?

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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:


Philipp Guntermann
Philipp Guntermann
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 141, Visits: 263
thanks, i did that.

just noticed i had old code in place that specified the localization messagekeytype as xml instead of sqlserver.

works now Smile

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Cool Cool
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search