You can in your element manifest for the content type with the
<RemoveFieldRef....

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/";>
   <ContentType
      ID="0x0100C5647A362F236548B218C15302286758"
      Name="My Content Type"
      Description="Simple Custom Content Type"
      ReadOnly="FALSE"
      Hidden="FALSE"
      Sealed="FALSE"
      FeatureId="5DFD12AF-D0AA-4c63-8FB8-C49DB1191083"
      Group="Custom Content Types">
      <FieldRefs>
         <RemoveFieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
                         Name="Title"/>
         <FieldRef ID="{b402db15-ee44-4ec4-89e3-23e10a8fc64c}"
                   Name="My_x0200_Field" />
         <FieldRef ID="{538c71e4-8650-4ce7-b021-920effa66346}"
                   Name="Status" />
      </FieldRefs>
   </ContentType>
</Elements>

From:
http://blogit.create.pt/blogs/andrevala/archive/2008/03/27/SharePoint-2007-Deployment_3A00_-Site-Content-Type-Features.aspx
.


On Thu, Jun 2, 2011 at 9:25 AM, Paul Noone <
paul.no...@ceosyd.catholic.edu.au> wrote:

> Hi all,
>
>
>
> I’ve created a custom content type feature which inherits from Events.
>
>
>
> Is there any way to remove the *Location* and *Description*/Comments field
> within the schema definition? Currently I have hidden them but I’d like to
> remove them completely. Same goes for the Calendar list instance where these
> appear to be irremovable.
>
>
>
> *Custom Event CT*
>
>
>
> Kind regards,
>
> Paul Noone
>
>
>
> ---------------------------------------------------
> Online Developer/SharePoint Administrator
>
> Infrastructure Team, ICT
> Catholic Education Office, Sydney
> p: (02) 9568 8461
>
> f: (02) 9568 8483
> e: paul.no...@ceosyd.catholic.edu.au
> w: http://www.ceosyd.catholic.edu.au/
>
>
>
> _______________________________________________
> ozmoss mailing list
> ozmoss@ozmoss.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>

<<image001.png>>

_______________________________________________
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to