Wednesday, April 20, 2011

How to change "Document Information Panel" with Infopath 2010

This article will try to explain how we can use Infopath 2010 to change the Document Information Panel from SharePoint Content types.

For this example i create one Custom Content Type call "DLX" in my SharePoint Site and associate to a Document Library "Shared Document" and add some documents.

Now for this example i will change the layout and personalize the Content Type displayed when we are editing a Microsoft Office Document using Infopath 2010 .

Open Infopath 2010 > New > Document Information Panel

After we select the Form Template need to define what is the document Library we want to change, for this example use "http://[Site]/Shared Documents"

After we select the Document Library the Menu option will display the Content Types associated to Document Library "Shared Documents" in this case "DLX".

After Select the Content type we want to change the form will be display with the differents properties fields and layout design to change.

After we change the layout for the company requirements we can publish the change we made, first we will need to save the new XSN Form and overwrite the existing one in the SharePoint 2010 site like displayed the image below.

After we Publish the New Form Template for Document Information Pane we need to Edit a Microsoft Office Document, for this i have access to my SharePoint 2010 Site, Document Library "Shared Documents" and select "Edit in Microsoft Word".

With the Microsoft Office Word Document on Edit mode, select the content Type and properties associated to Document Library do Display the Document Information Panel changed by Infopath 2010.

PS: By default some Microsoft Office Document dont have Document Information Panel in the document to display as default, to active this go to "File > Info > Properties > Show Document Panel"

Hope you like this article and show how SharePoint is flexivel for diferent customizations.

Post a Comment