In the UI I can drill down into a ContentType settings -> Document Information Panel settings -> and set 'Show Always' to true (marking the check box).
How do i set this option through code? (or in a contenttype defition in a feature)
This information is stored as an
This string contains Xml. For the DIP you should check the
To modify this you have to retrieve the Xml, change the value, remove the current XmlDocument from the content type and add your newly constructed xml and finally update it. Like this:
In the meantime i found the 'feature definition' solution (thanks to SharePoint Manager). Add the following XML to the ContentType definition in the elements file: