<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Prasad Madhavan</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/prasad_madhavan/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/prasad_madhavan/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:50:14 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Customizing SharePoint List New/Edit/Display Forms individually in InfoPath 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/prasad_madhavan/customizing-sharepoint-list-neweditdisplay-forms-individually-in-infopath-2010</link>
      <pubDate>Wed, 04 May 2011 10:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Prasad Madhavan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/prasad_madhavan/2011/05/04/customizing-sharepoint-list-neweditdisplay-forms-individually-in-infopath-2010/</guid>
      <description><![CDATA[Summary:&nbsp;&nbsp;Customizing list forms is very easy with infopath 2010. &nbsp;A &ldquo;Customize...]]></description>
      <content:encoded><![CDATA[<p style="text-align: justify;"><b>Summary:</b>&nbsp;&nbsp;Customizing list forms is very easy with infopath 2010. &nbsp;A &ldquo;Customize Form&rdquo; option is provided along with the list properties as shown below. Now the problem is the editing performed on the form is reflected same in the entire three list forms (new/edit/display). Sometime the requirement can be to have different kinds of forms for new/edit/display fields. The steps described below provides a solution to this problem.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/5125.1.%20Summary.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/5125.1.-Summary.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/5125.1.%20Summary.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/5125.1.-Summary.jpg" border="0" /></a></p>
<p><b>Applies to:</b>&nbsp;&nbsp;Microsoft InfoPath 2010, Microsoft SharePoint Server 2010, SharePoint Designer 2010<br /><b>Published:</b>&nbsp;&nbsp;Jan 2011</p>
<p><b>Contents</b> </p>
<ol>
<li>Introduction</li>
<li>Customize list forms</li>
<li>Create views in InfoPath</li>
<li>Associate views with list forms using SP Designer</li>
</ol>
<p><b>Introduction</b></p>
<p>The basic knowledge of following things are required to perform this activity:</p>
<ul>
<li>InfoPath 2010</li>
<li>SharePoint Server 2010</li>
<li>SharePoint designer 2010</li>
</ul>
<p>Before you start, set up a list with required number of columns on SharePoint site. The list will be having the OOB new/edit/display pages. These pages are to be individually modified using InfoPath 2010. Open the list as shown below.</p>
<p>&nbsp;</p>
<p><b>Customize the list form</b></p>
<ol>
<li>On the <b>List tools</b>, click <b>List</b>. You will see a <b>Customize Form</b> option on the right(highlighted in red)</li>
<li>Click on it, the edit form page will be opened in InfoPath</li>
<li>You can modify the form here, but the change will be reflected in all the 3 forms of the list</li>
<li>But here we need to individually modify each form. To achieve this we need to create separate views for each form</li>
</ol>
<p><b>Create views in InfoPath</b></p>
<p><b>&nbsp;</b><b>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/8715.3.%20After%20create%20views%20in%20infopath.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/8715.3.-After-create-views-in-infopath.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/8715.3.%20After%20create%20views%20in%20infopath.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/8715.3.-After-create-views-in-infopath.jpg" border="0" /></a></b></p>
<ol>
<li>On InfoPath, click on <b>Page Design</b> tab on the top ribbon</li>
<li>You would see option to create <b>New View</b> as shown above.</li>
<li>You already will be having an <b>edit view (default). </b>You need to create two more views for new and display options.</li>
</ol>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/5165.4.%20After%20edit%20view%20(default).jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/5165.4.-After-edit-view-_2800_default_2900_.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/5165.4.%20After%20edit%20view%20(default).jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/5165.4.-After-edit-view-_2800_default_2900_.jpg" border="0" /></a></p>
<ol>
<li>Click on <b>New View</b>, You will get an option to specify the name as shown below. Specify the name of the view (ex:- New View) and click <b>ok</b> to create the view for new page.</li>
<li>Similarly we need to create one more view for display page. (Name :- Display View)</li>
</ol>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/4377.5.%20after%20step%205.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/4377.5.-after-step-5.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/4377.5.%20after%20step%205.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/4377.5.-after-step-5.jpg" border="0" /></a></p>
<ol>
<li>&nbsp;The three views will be available on the <b>Views</b> drop down list (Highlighted in green)</li>
<li>These three views can be individually modified. You can change page layouts, hide fields or add rules or validations. But still views are not associated with the list views. To do that, we need help of SharePoint designer.</li>
<li>Click on the publish icon to publish the changes made so far.(highlighted below)</li>
</ol>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/5342.6.%20after%20step%208.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/5342.6.-after-step-8.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/5342.6.%20after%20step%208.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/5342.6.-after-step-8.jpg" border="0" /></a></p>
<p><b>Associate views with the list forms</b></p>
<p>Open the list in SharePoint designer. The list forms would be displayed as shown below.(Highlighted in Green)</p>
<p><b>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/4331.7.%20After%20step%201%20in%20associate%20view.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/4331.7.-After-step-1-in-associate-view.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/4331.7.%20After%20step%201%20in%20associate%20view.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/4331.7.-After-step-1-in-associate-view.jpg" border="0" /></a></b></p>
<p>Click and open each list item. Right click as shown below and select Properties.</p>
<p><b>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/3660.8.%20After%20step%202%20in%20associate%20view.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/3660.8.-After-step-2-in-associate-view.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/04/3660.8.%20After%20step%202%20in%20associate%20view.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-04/3660.8.-After-step-2-in-associate-view.jpg" border="0" /></a></b></p>
<ol>
<li>In Properties list, you will see an option &ldquo;Default View&rdquo;. Type the View names which you have created in this space. Associate forms with views properly as shown below.</li>
</ol>
<ul>
<li>NewForm &ndash; NewView</li>
<li>EditForm &ndash; EditView</li>
<li>DisplayForm &ndash; DisplayView</li>
</ul>
<p><b>&nbsp;</b><b></b></p>
<p><b>&nbsp;</b></p>
<p>This way, you can edit the forms independently. On publishing, the changes will be reflected on the SharePoint.</p>]]></content:encoded>
    </item>
  </channel>
</rss>