I'm deploying sites using a custom site template (WSP) that is:
- Saved as WSP from customized Team Site
- Deployed as Farm Solution
- Has lists, libraries with content customized in Visual Studio (elements.xml, schema.xml)
- One particular document library uses at least 2 lookup columns to other lists (other lists and libraries also use similar lookup columns)
In this site template solution, the document library contents are provisioned via a feature.
All of the documents do get populated, but one of the lookups columns are missing values in several of the provisioned document (items).
- All of the documents are provisioned (500)
- All of the columns are populated correctly
- Except for 42 Office 2010 documents (docx, pptx, xlsx): the "Unit" lookup column is empty (the other lookup columns are fine). This is consistent across site collections, farms (dev, staging, production). Whether 2010 SP1 is installed is irrelevant.
All of the documents with problems are Office 2010. Is there an issue with the <Property Name="MetaInfo" />
element (in the Value attribute) that clashes with the <Property Name="Unit" ... />
element? I notice that the Unit metadata doesn't get "attached" to the document (trying to view via "Advanced Properties" --> Custom tab in Office 2010 app).
EDITED: Note: I had hand edited the Lookup values <Property Name="Unit" ... />
element.
Here is an edited XML snippet:
<File Url="RFQ Template - Printing.docx" Type="GhostableInLibrary" Path="ServiceDocuments_\Files\ServiceDocuments\350RFQTemplate-Printing.docx">
<Property Name="ContentTypeId" Value="0x010100DC1B6D4D1FF53B4DAF63C4038DA9186B" />
<Property Name="FileLeafRef" Value="RFQ Template - Printing.docx" />
<Property Name="Title" Value="RFQ Template" />
<Property Name="Category" Value="Forms and Templates" />
<Property Name="Unit" Value="11;#Procurement" />
<Property Name="ServiceCategory" Value=";#Procurement - Services;#" />
<Property Name="TaxCatchAll" Value="" />
<Property Name="RelatedService0" Value="93;#Procurement of Printings / Publications" />
<Property Name="ContentType" Value="Document" />
<Property Name="_ModerationStatus" Value="0" />
<Property Name="FSObjType" Value="0" />
<Property Name="MetaInfo" Value="394;#vti_parserversion:SR|14.0.0.4762
vti_lmt:SW|Wed, 18 Aug 2010 06:56:16 GMT
Order:DW|98300.0000000000
vti_charset:SR|windows-1252
Category:SW|Forms and Templates
RelatedService0:SW|93;#
URL:SW|
RelatedService:SW|93;#Procurement of Printings / Publications
_dlc_policyId:SW|
vti_filetype:SW|htm
vti_winfileattribs:SW|00000000
xd_Signature:SW|
vti_modifiedby:SR|DOMAIN\\svcsp_adminsp_edited
vti_foldersubfolderitemcount:IR|0
vti_cachedhastheme:BR|false
ServiceCategory:SW|;#Procurement - Services;#
xd_ProgID:SW|
vti_cachedcustomprops:VX|Procurement\\ And\\ Travel\\ Type _dlc_ExpireDate Order TemplateUrl ItemRetentionFormula ContentType Unit Category RelatedService0 URL ContentTypeId _dlc_Exempt vti_title Resource RelatedService ImporteService _SourceUrl _SharedFileIndex TaxCatchAll _dlc_ExpireDateSaved _dlc_policyId Service ServiceLookup xd_Signature IconOverlay ServiceCategory xd_ProgID
vti_lat:SW|Wed, 18 Aug 2010 06:56:16 GMT
vti_ct:SW|Wed, 18 Aug 2010 06:56:11 GMT
vti_cachedtitle:SR|RFQ Template
vti_metatags:VR|HTTP-EQUIV=Content-Type text/html;\\ charset=windows-1252 ProgId Word.Document Generator Microsoft\\ Word\\ 12 Originator Microsoft\\ Word\\ 12
vti_title:SR|RFQ Template
ContentType:SW|Document
Unit:SW|11;#
ContentTypeId:SW|0x010100DC1B6D4D1FF53B4DAF63C4038DA9186B
_dlc_Exempt:SW|
vti_cachedbodystyle:SR|<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
vti_originator:SR|Microsoft Word 12
Resource:SW|
ImporteService:SW|Procurement of Printings / Publications;#88
_SourceUrl:SW|
_SharedFileIndex:SW|
TaxCatchAll:SW|
_dlc_ExpireDateSaved:SW|
Procurement And Travel Type:SW|Related Forms & Templates
_dlc_ExpireDate:SW|
vti_folderitemcount:IR|0
TemplateUrl:SW|
ItemRetentionFormula:SW|
vti_cachedneedsrewrite:BR|false
vti_generator:SR|Microsoft Word 12
Service:SW|123;#Procurement of Printings / Publications
ServiceLookup:SW|88;#
IconOverlay:SW|
" />
<Property Name="Order" Value="98300.0000000000" />
</File>