none
Using Infopath to customize the AllItems.aspx view. RRS feed

  • Question

  • Is this possible? Can you use Infopath 2010 to re-create the AllItems view in Sharepoint 2010? If so, are there any references?

     

    Thanks

    Wednesday, August 24, 2011 2:28 PM

Answers

  • You can edit Allitems.aspx with the custom code(User control).All you have to do is

    1)Create a Visual Webpart project in visual studio,Use an SPGridView or Asp.net grid view to show items from list

    2)Replace the existing allitems.aspx web part with the one you have created.

    refer this link http://www.codeproject.com/KB/sharepoint/SPGridviewWebpart.aspx

    • Marked as answer by Sean SP Tuesday, August 30, 2011 4:20 PM
    Wednesday, August 24, 2011 4:10 PM
  • If you just want to display the list items on an InfoPath form, I guess you can set a datasource and get them (did not try it myself), but for customizing the view (ex. AllItems.aspx), SharePoint Designer is king. See http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-custom-list-view-using-sharepoint-designer-HA010379079.aspx for a starter, but there are several resources on how to use SPD (no coding).
    AK
    • Marked as answer by Sean SP Tuesday, August 30, 2011 4:20 PM
    Wednesday, August 24, 2011 4:15 PM

All replies

  • In InfoPath, you can customize the item forms (new, display and edit) on a per item basis. To customize the view (allitems.aspx), you can either use the browser (configure the view settings or edit the page) or use SharePoint Designer for more control.
    AK
    Wednesday, August 24, 2011 2:37 PM
  • So this is not possible? I feel like I should be able to create a form that brings in the rows from a list/library, displaying the items I want to see in a repeating section/table. But then I guess it would be difficult to manage the list items, delete / edit, etc. Any other ideas / examples on how this can be done with SPD? We are trying to customize the AllItems view with the least bit of effort :) . 

    Thanks again.

    Wednesday, August 24, 2011 3:39 PM
  • You can edit Allitems.aspx with the custom code(User control).All you have to do is

    1)Create a Visual Webpart project in visual studio,Use an SPGridView or Asp.net grid view to show items from list

    2)Replace the existing allitems.aspx web part with the one you have created.

    refer this link http://www.codeproject.com/KB/sharepoint/SPGridviewWebpart.aspx

    • Marked as answer by Sean SP Tuesday, August 30, 2011 4:20 PM
    Wednesday, August 24, 2011 4:10 PM
  • If you just want to display the list items on an InfoPath form, I guess you can set a datasource and get them (did not try it myself), but for customizing the view (ex. AllItems.aspx), SharePoint Designer is king. See http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-custom-list-view-using-sharepoint-designer-HA010379079.aspx for a starter, but there are several resources on how to use SPD (no coding).
    AK
    • Marked as answer by Sean SP Tuesday, August 30, 2011 4:20 PM
    Wednesday, August 24, 2011 4:15 PM