Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Resource References from Content Type and Columns Definitions not resolved

$
0
0

I have heavy difficulties with deploying column and content types with language dependend names using Resource files.

My Structure in Visual Studio is one resource file per feature in the mapped resources folder. Name of the resource assigned to the DefaultResourceFile property for the feature (LzColumns in this example). Reference in Columns and Content Types is done via $Resources:Resourcename.

This is the new structure. Before i had different resource files per feature and did reference via $Resources:Resourcefilename,Resourcename.

There are two resource files, one language independent and one in a specific language.

In my developement system, everything seems to be ok after i redeployed via VS.

On the production system, the feature was retracted and readded by powershell commands. A look into the central admin shows now this.

I haven´t any idea why this happenend and what can i do about it. It take a look into the 14\Resources folder and everything seems ok. The resources file LzColumns.resx and LzColumns.de_DE.resx is there and it contains entries for every column definition.

we already cleaned up the sharepoint configuration cache with no success.

The only difference i see is that on the production system, we did not deactivate the feature before retracting and redeploying (so the feature is still active after redeployment.

Lenze Columns

   $Resources:LzColumns,LzAuthor;Person or Grouplforce
   $Resources:LzColumns,LzDoNotPublish;Yes/Nolforce
   $Resources:LzColumns,LzLeadDocYN;Yes/Nolforce
   $Resources:LzColumns,LzOid;Single line of textlforce
   $Resources:LzColumns,LzRefDocs;Multiple lines of textlforce
   $Resources:LzColumns,LzRefLanguage;Multiple lines of textlforce
   $Resources:LzColumns,LzShowRefDocsYN;Yes/Nolforce
   $Resources:LzColumns,LzSourceID;Single line of textlforce
   $Resources:LzColumns,LzTargetID;Single line of textlforce
   ApproverPerson or Grouplforce
   ConfidentialityManaged Metadata Choicelforce
   EditorPerson or Grouplforce
   LanguageChoicelforce
   OwnerPerson or Grouplforce
   Remarks/LinksMultiple lines of textlforce
   ReviewerPerson or Grouplforce




































































































































































































































































































































































































































Choicelforce
Lenze Columns
   $Resources:LzColumns,LzAuthor;Person or Grouplforce
   $Resources:LzColumns,LzDoNotPublish;Yes/Nolforce
   $Resources:LzColumns,LzLeadDocYN;Yes/Nolforce
   $Resources:LzColumns,LzOid;Single line of textlforce
   $Resources:LzColumns,LzRefDocs;Multiple lines of textlforce
   $Resources:LzColumns,LzRefLanguage;Multiple lines of textlforce
   $Resources:LzColumns,LzShowRefDocsYN;Yes/Nolforce
   $Resources:LzColumns,LzSourceID;Single line of textlforce
   $Resources:LzColumns,LzTargetID;Single line of textlforce
   ApproverPerson or Grouplforce
   ConfidentialityManaged Metadata Choicelforce
   EditorPerson or Grouplforce
   LanguageChoicelforce
   OwnerPerson or Grouplforce
   Remarks/LinksMultiple lines of textlforce
   Reviewer

Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>