Tangible Thoughts

SharePoint, MOSS? and all the other questions

  Home  |   Contact  |   Syndication    |   Login
  858 Posts | 6 Stories | 482 Comments | 2088 Trackbacks

News

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Linky Things

SharePoint Bloggers

SharePoint Related

What I am playing

What I am Reading

ContentType

There are 2 entries for the tag ContentType
The Title Column inherrited from Item typically shows itself up in any contentType that would define. But ever wanted to call it something else? Here is how you do it. <FieldRef ID="{fa564e0f-0c70-4ab9-b86... Name="Title" DisplayName="Your Other Name for Title" Sealed="TRUE"/> The trick is in the DisplayName. Reference the Title Colulmn and give it a seperate DisplayName And you could even have a go at LinkTitle <FieldRef ID="{82642ec8-ef9b-478f-acf... Name="LinkTitle"...

In case some of you missed it, Andrew May has a good post on how to create content type ids for feature definitions. Now as you might gather, creating features requires a whole heap of GUIDs on your hand. So a tool that can do this static void Main(string [] args){ if (args.Length == 0) { // Show GUID Form} else { Guid g = Guid.NewGuid(); if (args[0].ToLower() == "d") { Clipboard.SetDataObject( g.ToString("D"), true); } if (args[0].ToLower() == "n") { Clipboard.SetDataObject( g.ToString("N"), true);...