Connect.Collaborate.SharePoint

SharePoint Content Type, Document Template and Default Metadata Choice in Custom DIP

Something new that I did today...

Scenario

  • A Document library with metadata column for DocumentType.
  • There are about 20 document types in the lookup and a site collection field that references this list.
  • A Base Content Type that includes this lookup field
  • 5 Content Types that inherit from the base
  • Not all of the document types have an Office template which is why there are fewer content types.

When a user creates a new document from one of the content types that does have a 1:1 relationship with a document type (e.g. Fax) then I want the Document type value to be automatically selected in the Document Information Panel.

When you create the custom DIP form in InfoPath, under the Tools menu you will see a Default Values option which brings up this dialog box.

The default value is set to the item ID for the lookup value in the Document Types list.

When a new document is created using this content type, the correct metadata value is selected from the choice list

Posted by corp\ianmorr on Thursday, 28 May 2009 10:14 | 3 Comments
SharePoint

Links to this post

Comments


Wednesday, 10 Jun 2009 08:33 by
Jos Auker-Woor
When I first found out I could create custom DIP forms I thought fantastic as it would allow me to do all sorts of tricks like this. Then I hit a big problem with choice fields. Basically if you had a choice field in the doc lib then the values stop being inherited as soon as you create the custom form. i.e. the original values still show up but if a user adds a new choice value in Document Library Settings that value does not show up on the form. Only answer seemed to be to re-edit the form which meant a big admin overhead and likelyhood of inconsistent metadata. Its one of those things I keep meaning to revisit.


Sunday, 28 Jun 2009 10:01 by Ian Morrish
The DIP is the Document Information Panel that is used to display the SharePoint Metadata inside the word document. It is actually an InfoPath activex control hosted inside Word.


Thursday, 2 Jul 2009 06:27 by SharePoint Collaboration
Thanks! I Rally needed this one.

Name

Url

Email

Comments

CAPTCHA Image Validation