I wrote a Boris.SP.Abl.SiteColumns.sr-Latin-RS.resx
resource file for a SharePoint 2013 farm solution project. I followed the tips from here to ensure that the resource is deployed to both %15hive%/Resources and App_GlobalResources folders - and it does.
The resource file contains the Name
and DisplayName
values of site columns that are part of the solution project. However, after deployment, the site columns are displaying paths to the resource keys instead of their values.
Here is the XML of the first column in the image, to demonstrate the code:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field
ID="{c91e09c4-7e6f-48f0-9192-7fc65fc3f1c7}"
Name="$Resources:Boris.SP.Abl.SiteColumns,ActiveName"
DisplayName="$Resources:Boris.SP.Abl.SiteColumns,ActiveDisplayName"
Type="Boolean"
Required="TRUE"
Group="$Resources:Boris.SP.Abl.SiteColumns,Group">
</Field>
</Elements>
And here is the resource file with highlighted key/value pairs used in the XML above:
What am I doing wrong?