Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Why the titles are blank (for example, I go to setting, site columns and select the group. I see all four columns but their title are missing. like, pobox, firstclassdate, deliverytype, carrier) for the site columns created with feature?

This is === feature.xml ===

<Feature Id="{10474c0f-7474-49f6-0147-d43d3d02037f}" 
  Title="Custom Site Columns" 
  Description="Columns Description" 
  Version="1.0.0.0" 
  Scope="Site" 
  xmlns="http://schemas.microsoft.com/sharepoint/">
  <ElementManifests>
    <ElementManifest Location="elements.xml" />
  </ElementManifests>
</Feature>

This is === elements.xml ===

<?xml version="1.0"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Field Type="Text" 
         Required="FALSE" 
         MaxLength="255" 
         Group="Toshiba Site Columns" 
         ID="{50eece5f-a323-4d1f-8e6a-a661fac980f6}" 
         Name="POBOX" 
         DisplayName="P. O. Box"                 
         StaticName="POBOX" 
         xmlns="http://schemas.microsoft.com/sharepoint/">
  </Field>
  <Field Type="DateTime" 
         Required="FALSE" 
         Format="DateTime" 
         Group="Toshiba Site Columns" 
         ID="{d08e789c-0b0a-4779-ab1c-32ab4ca6b2c3}"        
         Name="FirstClassDate"
         DisplayName="First Class Mail Date"
         StaticName="FirstClassDate"  
         xmlns="http://schemas.microsoft.com/sharepoint/">
  </Field>
  <Field Type="Text" Required="FALSE" MaxLength="255" Group="Toshiba Site Columns" ID="{9834a3a3-9752-47e7-b186-9273e8f92624}" Name="Carrier"  DisplayName="Carrier Type" StaticName="Carrier"  xmlns="http://schemas.microsoft.com/sharepoint/">
  </Field>
  <Field Type="Text" Required="FALSE" MaxLength="255" Group="Toshiba Site Columns" ID="{91a39fdb-3417-41e1-81aa-bf989bff000e}" Name="DeliveryType" DisplayName="Delivery Type Regular Overnight" StaticName="DeliveryType"  xmlns="http://schemas.microsoft.com/sharepoint/">
  </Field>
</Elements>
share|improve this question
    
Rosh same comment as on stackoverflow... stackoverflow.com/questions/2655758/… . When you paste xml, don't paste directly into the box, use the 'Code Sample' button on the toolbar to insert the xml text. –  Paul Lucas Apr 22 '10 at 20:37
    
fixed the code rendering issue, but im really not sure what you are asking. Could you try and rephrase your question or add more detail? –  Anders Rask Apr 22 '10 at 21:29

1 Answer 1

up vote 0 down vote accepted

Based on the xml provided (thanks Anders!) I created the feature and everything seems to work as expected. Under site columns I see the following:-

alt text

Each of the columns appears and is linked so that you can edit them. Is this not what you see?

share|improve this answer
    
Paul, thanks for testing. But i was not seeing like your. Well, I just created them manually. and I may have to repeat this twice, once for system test and finally for production. –  Anonymous May 7 '10 at 18:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.