Some custom site columns missing when attempting to add them to content type
-
Mittwoch, 18. April 2012 21:25
I have created several custom site columns that I use throughout the site - roughly 15 of them. Many of them are attached to a site content type that I have created - call it content type A. I created an additional site content type (content type B) which will share some of the same site columns. However, when I go to add the existing custom site columns to content type B, I can only see a few of the custom columns I have previously created. I thought at first that I might only be able to use custom columns with one content type, but that isn't the case because I do have the ability to add some of them. Any ideas? Thanks in advance.
- Bearbeitet jackjohnson93 Mittwoch, 18. April 2012 21:26
Alle Antworten
-
Montag, 23. April 2012 11:56Moderator
Hi jackjohnson93,
have you ever add some comments in your XML file?, If you had did it, please remove it.
<elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Parent ContentType: Item (0x01) -->
<contenttype description="Mojo Item Content Type" group="Mojo Custom Content Types" id="0x01006e1d2ee8a874413dbe16d4ca2980cd0e" inherits="TRUE" name="SharePointProject1 - Item" version="0">
<fieldrefs>
<!-- Testing -->//Please remove comments
<fieldref id="{36EFEDE7-3F78-4DB1-9A98-C94BF1E57133}" name="SessionName">
</fieldref></fieldrefs>
</contenttype>
</elements>
You can refer to the following link.
http://www.ascentium.com/content/site-columns-missing-your-content-types
Thanks,
Jack
- Als Antwort markiert Jack-GaoMicrosoft Contingent Staff, Moderator Freitag, 27. April 2012 09:23

