none
Custom List with Infopath Forms

    Question

  • Hi,
     
    In a Site Definition I would like to include a few List Definitions.
    For these lists I would like to replace the standard NewForm.aspx, DispForm.aspx etc. with Infopath forms.

    Can you guide me to some walkthrough or some example sources?

    Thank you,
    JC
    • Moved by Mike Walsh FIN Monday, January 12, 2009 11:32 AM InfoPath q (Moved from SharePoint - Development and Programming to SharePoint - InfoPath Forms Services)
    Monday, January 12, 2009 10:00 AM

Answers

  • No, this is not possible.  Even in sharepoint/infopath 2010 it wouldn't be possible.  This is because when you render a sharepoint list as a form, it pulls all of the fields that are specific to that list, into the form as you develop it.  If the fields change or more are added, then then form changes and needs to be re-published manually. 

    Therefore, there is definitely not a way to create newform, editform, etc as InfoPath forms in SharePoint 2003.

    (Oh, and browser-based forms didn't come out until SharePoint 2007, so there wouldn't even be a way to display an infopath form on a page in sharepoint 2003, anyway)


    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    • Marked as answer by Clayton Cobb Tuesday, September 14, 2010 4:42 AM
    Tuesday, September 14, 2010 3:53 AM

All replies

  • Use the InfoPath forum for InfoPath questions.

    Moving this.
    Monday, January 12, 2009 11:32 AM
  • There are several examples on internet that show how to create a site Definition. I have yet to see a comprehensive step-by-step tutorial but with some effort, you can benefit from the examples available. Here are a couple of them:

    http://www.sharepointblogs.com/tbaginski/archive/2007/08/16/creating-a-custom-site-definition-in-wss-v3-moss.aspx

    http://radio.weblogs.com/0131777/stories/2004/06/26/creatingCustomSiteDefinitions.html

    You dont need NewForm.aspx when you deploy InfoPath form in a forms library. Clicking the new button automatically opens the InfoPath form. Here is another interesting link:

    http://spforsquirrels.blogspot.com/2008/03/assigning-infopath-form-template-to.html
    SSA - http://sharepointblogs.com/ssa
    Monday, January 12, 2009 2:51 PM
  • Hi Ahmed,

    Thank you for your reply.

    Maybe I was not clear.

    Site definitions I've done a couple already, and that link you posted is an excelent reference.

    As for the second link, it is for SharePoint 2003.

    Now my question is not about forms library.

    In my site definition solution, I want to include a custom list. For that Custom List, Instead of using NewForm.aspx and all the other standard aspx forms, I would like to able to use Infopath Forms. Is this possible? Should I try to approach this with custom Content types?

    Thank you for your time,
    JC
    Monday, January 12, 2009 4:40 PM
  • I havent tried this. Edit a custom list in SPD and replace standard aspx pages with InfoPath forms. If that works, then you can certainly make it work in the site definition. IF that doesnt work then I doubt it would work through the site definition.


    SSA - http://sharepointblogs.com/ssa
    Tuesday, January 13, 2009 1:09 PM
  • hi Jorge

    i know it's been a while but i was wondering if you did figure out a way,coz i have the same issue.

    hope you could help.

    thank you

     

    Wednesday, September 08, 2010 8:26 PM
  • Hi Vis_loony,

    I'm affraid I can't help you much there.

    I decided to go with full .aspx pages, and I've extended the ListFieldIterator to give it a more customized look.

    Cheers,

    JC

    Monday, September 13, 2010 11:30 PM
  • No, this is not possible.  Even in sharepoint/infopath 2010 it wouldn't be possible.  This is because when you render a sharepoint list as a form, it pulls all of the fields that are specific to that list, into the form as you develop it.  If the fields change or more are added, then then form changes and needs to be re-published manually. 

    Therefore, there is definitely not a way to create newform, editform, etc as InfoPath forms in SharePoint 2003.

    (Oh, and browser-based forms didn't come out until SharePoint 2007, so there wouldn't even be a way to display an infopath form on a page in sharepoint 2003, anyway)


    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    • Marked as answer by Clayton Cobb Tuesday, September 14, 2010 4:42 AM
    Tuesday, September 14, 2010 3:53 AM