0

I have a custom content type that inherits from the standard article page CT. In my new content type I would like to use the Contact field that is inherited from the article page but I would like to change the displayname of the field to "Information owner". I would like to do this in the XML-file not in the UI, is that possible?

Best regards, Niclas

1

If you define a ListDefinition basen on your content type, you can set your own DisplayName

 <Fields>
  <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="New Title" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" MaxLength="255" />
 </Fields>

You can then create a list based on the list definition.

EDIT:

All this is done in Visual Studio of course

| improve this answer | |
  • Hi Thanks but is there no way of doing this without creating an own list definition? I just would like to change in the XML-files for my custom content type. – Niclas Carlsson Oct 10 '12 at 7:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.