SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
Real World InfoPath Usage in SharePoint 2010
– List vs. Library Forms
• Nik Patel
      Solutions Architect, Slalom Consulting
      M.S. in Computer Science, IIT, Chicago
      Working with SharePoint 2010 since TAP Summer 2009
                                              ,
      Working with SharePoint since SharePoint 2003 days


• Contact Info
      Twitter - @nikxpatel
      Email – nikunjp@slalom.com
      LinkedIn - linkedin.com/in/nikspatel
      Slideshare - slideshare.net/patenik2
      Blog – Nik Patel’s SharePoint World -
       http://nikspatel.wordpress.com/




                                                            2   | SharePoint Saturday Chicago 2011










    3   | SharePoint Saturday Chicago 2011


    
    



    


    




        4   | SharePoint Saturday Chicago 2011

    
    
    
    



    

    
    




        5   | SharePoint Saturday Chicago 2011






    6   | SharePoint Saturday Chicago 2011


    


    


    

    
    




        7   | SharePoint Saturday Chicago 2011
 List Forms -– New in SharePoint 2010
    Tied to the specific list, Not Reusable
    Form Schema tied to List Schema
    Form data stored in the SharePoint List
    Each control (e.g. text box) in the form is bound to a column in the list.

 Key Characteristics
    Supported on Simple SharePoint Lists like Custom List, Tasks, Announcements, Links,
      Contacts from Browser Interface
    Not supported in Document Libraries and advanced SharePoint Lists like Calendar
    No support for custom code, repeated tables, custom submit behavior, and print preview
    Requires SharePoint Designer to customize the External Lists Forms




                                                                              8   | SharePoint Saturday Chicago 2011
 T customize the out of the box List New Form, List Edit Form, and List Display Forms
   o
 Ideal for straightforward design and form management experience
 Ideal for Prototypes
 Ideal for No-code solutions using SharePoint Designer and Browser Customization for Pre-
  Packaged Departmental SharePoint Sites designed on production farm.
 Do not use List InfoPath Forms in formal code management and deployment scenarios from
  development to staging to production.
 T use forms offline with SharePoint Workspace
   o




                                                                      9   | SharePoint Saturday Chicago 2011
• Have SharePoint 2010 Server Enterprise CAL Installed
   Prepare        • Have InfoPath Form Services Enabled (by default, it’s enabled)
                  • Have InfoPath Designer 2010 Installed


                  • Design SharePoint Lists (optionally Site Content Type)
    Design        • Customize List Forms using InfoPath Designer 2010 - UI, Views, Rules,
                    Receive Data Connections on the List Forms


                  • Publish List Forms to the SharePoint Lists
    Deploy        • Three New Forms (Add, Edit, and Display) and InfoPath Form Template
                    deployed to the Content Databases


                  • Update SharePoint Lists or Site Content Type Schema
   Upgrade        • Customize List Forms again using InfoPath Designer to Sync List Changes
                  • Republish the List Forms to the SharePoint Lists




Retract/Cleanup   • Delete InfoPath List Forms from the Form Settings Page from List Settings




                                                                           10   | SharePoint Saturday Chicago 2011
 Library Forms – Tied to the form libraries – Same as SharePoint 2007
 Key Characteristics
     Form data stored as the XML document in SharePoint Form Library
     More complex and requires more disciplined/structured approach
     Can be deployed as Sandbox or Farm Level Solutions
 Publishing Mechanism
     Single Library
          Deploy to specific form library
          Not reusable in another library
          Only one form template per form library, Same benefits as list InfoPath forms
     Reusability across Site Collection - Multiple libraries or sites within Site Collection
          Deploy as a Content Type
          Enables deployment to multiple document libraries
          Supports multiple content type per library
     Reusability across Farm - Multiple Site Collections or Web Applications
          Deploy as a Administrator Approved
          Deploy as features and solutions framework, PowerShell, or manual upload

                                                                                      12   | SharePoint Saturday Chicago 2011
 Form T  emplates with Code
 Form T  emplates with T  abular Structure (Nested or Repeated Data) or Complex Schema
 Form T  emplates with Printing Support from Ribbon Bar
 Form T  emplates with Custom Submit Behavior
 Great fit for Enterprise Level Form Solutions with Advanced and Reusable Functionality
 Admin Approved forms eases future enhancements, upgrade, maintenance, and
  deployment
 Fits perfectly in formal deployment process of moving features from development to
  staging to production.




                                                                        13   | SharePoint Saturday Chicago 2011
• Have SharePoint 2010 Server Enterprise CAL
            Installed
          • Have InfoPath Form Services Enabled (by default, it’s
            enabled)
Prepare   • Have InfoPath Designer 2010 Installed
          • Have Microsoft Visual Studio 2005 Tools for
            Applications Installed- Select VSTA in the InfoPath
            Installation tree of the Office Professional Plus 2010
            Installer

          • Design browser compatible InfoPath Form Template
            using InfoPath Form Designer 2010
          • Define UI, Views, Rules, Code, and Publishing

Design
            options
          • Define the Receive and Submit Data Connections
          • Promote Form Fields as SharePoint Fields and Web
            Part Connections
          • Run the Design Checker on the InfoPath Form

                                                  14   | SharePoint Saturday Chicago 2011
• Convert the Data Connections as UDCX file
Package   • Publish Form Template as Admin Approved as XSN
            file




          • Deploy UDCX in the Data Connection Library in Site
            Collection or Central Admin
          • Upload the Form Template using Central Admin
          • Activate the Form Template on Site Collection from

Deploy      Central Admin or Site Collection Feature
          • Create the Form Library in SharePoint
          • Add the new InfoPath form template content type
            to document library
          • Define the Form Library Views to display Form
            Template Fields


                                               15   | SharePoint Saturday Chicago 2011
• Update InfoPath Form Template using InfoPath Form
             Designer
           • Re-publish the InfoPath Form Template as Admin

Upgrade      Form
           • Re-upload the InfoPath Form Template from Central
             Admin. No need to activate to the site collection
             and all the existing form libraries should be
             upgraded.

           • Deactivate the form template at the site collection
             from Central Admin or Site Collection Feature
           • Remove the form template from the Central Admin
Retract/   • Remove the WSP file from the Farm Solutions Page
           • Cleanup - Delete following content from the Site

Cleanup      Collection manually or programmatically.
             • Delete the Forms Document Libraries
             • Delete the Data Connections
             • Delete the Site Content Types and Site Columns
                                                 16   | SharePoint Saturday Chicago 2011
 Integrate InfoPath forms into SharePoint pages using the InfoPath Form Web Part
 Promote and Demote the InfoPath Fields to the SharePoint Document Library as a Site Columns to
  build advanced views in SharePoint
 Promote InfoPath Fields as Web Part Connection Parameters to connect InfoPath Form Web Part with
  other SharePoint Web Parts to build mash-ups
     Promoted fields can’t be used in Sandboxed Form T    emplates with Code, It must be Admin
       Approved Forms
 Integrate workflows on the SharePoint Lists or Document Libraries for business processes .(e.g.
  Approval Workflow)
     Optionally customize the Workflow Association, Initiation, and User T forms
                                                                           asks
 Custom Programming
     Integrate InfoPath Forms programmatically into custom application or site pages using the
       XmlFormView control
     Extract InfoPath Forms programmatically to access the InfoPath data from InfoPath Object Model




                                                                                18   | SharePoint Saturday Chicago 2011

     
     
     
     
     
     
          
          
          
          


    http://office.microsoft.com/en-us/infopath-help/infopath-2010-features-unavailable-in-web-browser-
    forms-HA101732796.aspx


                                                                                    19   | SharePoint Saturday Chicago 2011
















    20   | SharePoint Saturday Chicago 2011









    24   | SharePoint Saturday Chicago 2011
Thanks to Our Sponsors!
          Premier

           Gold

           Silver

          Bronze


         Sponsors

Más contenido relacionado

La actualidad más candente

SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
Nik Patel
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
samirsangli
 
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Nik Patel
 
Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013
David J Rosenthal
 

La actualidad más candente (20)

Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013
 
Introduction to SharePoint 2013
Introduction to SharePoint 2013Introduction to SharePoint 2013
Introduction to SharePoint 2013
 
SharePoint 101
SharePoint 101SharePoint 101
SharePoint 101
 
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
 
Introduction to SharePoint 2013 by Michael Blumenthal
Introduction to SharePoint 2013 by Michael BlumenthalIntroduction to SharePoint 2013 by Michael Blumenthal
Introduction to SharePoint 2013 by Michael Blumenthal
 
Advanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site AdministrationAdvanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site Administration
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
 
Beginners SharePoint introduction
Beginners SharePoint introductionBeginners SharePoint introduction
Beginners SharePoint introduction
 
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
 
Share point 2010 Fundamentals
Share point 2010 FundamentalsShare point 2010 Fundamentals
Share point 2010 Fundamentals
 
SharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbiesSharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbies
 
SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!
 
Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013
 
Core SharePoint 2013 Concepts
Core SharePoint 2013 ConceptsCore SharePoint 2013 Concepts
Core SharePoint 2013 Concepts
 
SharePoint 2013 Site Administration
SharePoint 2013 Site AdministrationSharePoint 2013 Site Administration
SharePoint 2013 Site Administration
 
Share point overview
Share point overviewShare point overview
Share point overview
 
What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)
 
The Future of SharePoint - SharePoint 2016
The Future of SharePoint - SharePoint 2016The Future of SharePoint - SharePoint 2016
The Future of SharePoint - SharePoint 2016
 
Top 10 in SharePoint 2013
Top 10 in SharePoint 2013Top 10 in SharePoint 2013
Top 10 in SharePoint 2013
 
Introduction to sharepoint 2010
Introduction to sharepoint 2010Introduction to sharepoint 2010
Introduction to sharepoint 2010
 

Destacado

Destacado (20)

Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...
Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...
Cloud Saturday Chicago 2016 - Modern Intranet Development Best Practices on S...
 
InfoPath alternatives and the potential of PowerApps
InfoPath alternatives and the potential of PowerAppsInfoPath alternatives and the potential of PowerApps
InfoPath alternatives and the potential of PowerApps
 
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
 
CCRE_intranet spruce up
CCRE_intranet spruce upCCRE_intranet spruce up
CCRE_intranet spruce up
 
Dnncon Palm Beach presentation about DNN intranets by Don Bishop
Dnncon Palm Beach presentation about DNN intranets by Don BishopDnncon Palm Beach presentation about DNN intranets by Don Bishop
Dnncon Palm Beach presentation about DNN intranets by Don Bishop
 
The SharePoint 2013 App Model
The SharePoint 2013 App ModelThe SharePoint 2013 App Model
The SharePoint 2013 App Model
 
SharePoint - Intranet CMS?
SharePoint - Intranet CMS?SharePoint - Intranet CMS?
SharePoint - Intranet CMS?
 
SharePoint 2016 - What’s New and What Matters
SharePoint 2016 - What’s New and What MattersSharePoint 2016 - What’s New and What Matters
SharePoint 2016 - What’s New and What Matters
 
Transform SharePoint default list forms with HTML, CSS and JavaScript
Transform SharePoint default list forms with HTML, CSS and JavaScriptTransform SharePoint default list forms with HTML, CSS and JavaScript
Transform SharePoint default list forms with HTML, CSS and JavaScript
 
Turn Office 365 SharePoint into an intranet hub
Turn Office 365 SharePoint into an intranet hubTurn Office 365 SharePoint into an intranet hub
Turn Office 365 SharePoint into an intranet hub
 
Case Study for Dotnetnuke Intranet Portal for MNC’s
Case Study for Dotnetnuke Intranet Portal for MNC’sCase Study for Dotnetnuke Intranet Portal for MNC’s
Case Study for Dotnetnuke Intranet Portal for MNC’s
 
SharePoint Framework Ignite 2016 recap @ Sparked
SharePoint Framework Ignite 2016 recap @ SparkedSharePoint Framework Ignite 2016 recap @ Sparked
SharePoint Framework Ignite 2016 recap @ Sparked
 
The secret of a share point intranet
The secret of a share point intranetThe secret of a share point intranet
The secret of a share point intranet
 
[Webinar Slides] Sharepoint 2016 - Determine Your Next Move
[Webinar Slides] Sharepoint 2016 - Determine Your Next Move[Webinar Slides] Sharepoint 2016 - Determine Your Next Move
[Webinar Slides] Sharepoint 2016 - Determine Your Next Move
 
Transformative Mobile Solutions - SharePoint and Nintex Case Study
Transformative Mobile Solutions - SharePoint and Nintex Case StudyTransformative Mobile Solutions - SharePoint and Nintex Case Study
Transformative Mobile Solutions - SharePoint and Nintex Case Study
 
Concurrency SharePoint Summit 2016 Presentation
Concurrency SharePoint Summit 2016 PresentationConcurrency SharePoint Summit 2016 Presentation
Concurrency SharePoint Summit 2016 Presentation
 
SharePoint 2016 Is Coming! Are You Ready?
SharePoint 2016 Is Coming! Are You Ready?SharePoint 2016 Is Coming! Are You Ready?
SharePoint 2016 Is Coming! Are You Ready?
 
What's new in sharepoint 2016
What's new in sharepoint 2016What's new in sharepoint 2016
What's new in sharepoint 2016
 
2016 Intranet and Digital Workplace Roadshow
2016 Intranet and Digital Workplace Roadshow2016 Intranet and Digital Workplace Roadshow
2016 Intranet and Digital Workplace Roadshow
 
The Very Best Intranets & Digital Workplace from the 2016 Intranet Global Forum
The Very Best Intranets & Digital Workplace from the 2016 Intranet Global ForumThe Very Best Intranets & Digital Workplace from the 2016 Intranet Global Forum
The Very Best Intranets & Digital Workplace from the 2016 Intranet Global Forum
 

Similar a Real World InfoPath with SharePoint 2010 - List vs Library Forms

Advanced SharePoint 2010 Features
Advanced SharePoint 2010 FeaturesAdvanced SharePoint 2010 Features
Advanced SharePoint 2010 Features
Ivor Davies
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
LiquidHub
 
DAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new pathDAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new path
Ryan Dennis
 
SPS Philly 2013 - Building Business Solutions Using InfoPath
SPS Philly 2013 - Building Business Solutions Using InfoPathSPS Philly 2013 - Building Business Solutions Using InfoPath
SPS Philly 2013 - Building Business Solutions Using InfoPath
Prashant G Bhoyar (Microsoft MVP)
 
Abhishek Resume
Abhishek ResumeAbhishek Resume
Abhishek Resume
Abhishek R
 
April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...
April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...
April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...
butest
 

Similar a Real World InfoPath with SharePoint 2010 - List vs Library Forms (20)

SharePoint Saturday UK 2012 - End User InfoPath and SharePoint Designer
SharePoint Saturday UK 2012 - End User InfoPath and SharePoint DesignerSharePoint Saturday UK 2012 - End User InfoPath and SharePoint Designer
SharePoint Saturday UK 2012 - End User InfoPath and SharePoint Designer
 
Advanced SharePoint 2010 Features
Advanced SharePoint 2010 FeaturesAdvanced SharePoint 2010 Features
Advanced SharePoint 2010 Features
 
Funnel your Info down a new Path
Funnel your Info down a new PathFunnel your Info down a new Path
Funnel your Info down a new Path
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
Where did design view go in SharePoint Designer
Where did design view go in SharePoint DesignerWhere did design view go in SharePoint Designer
Where did design view go in SharePoint Designer
 
Introduction to InfoPath 2010
Introduction to InfoPath 2010Introduction to InfoPath 2010
Introduction to InfoPath 2010
 
2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint
 
Sharepoint 2010 ! Key Improvements from MOSS
Sharepoint 2010 ! Key Improvements from MOSSSharepoint 2010 ! Key Improvements from MOSS
Sharepoint 2010 ! Key Improvements from MOSS
 
DAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new pathDAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new path
 
SPS Philly 2013 - Building Business Solutions Using InfoPath
SPS Philly 2013 - Building Business Solutions Using InfoPathSPS Philly 2013 - Building Business Solutions Using InfoPath
SPS Philly 2013 - Building Business Solutions Using InfoPath
 
What's new in Sharepoint2010 ?
What's new in Sharepoint2010 ?What's new in Sharepoint2010 ?
What's new in Sharepoint2010 ?
 
TechFuse 2012: SharePoint business applications at your fingertips
TechFuse 2012: SharePoint business applications at your fingertipsTechFuse 2012: SharePoint business applications at your fingertips
TechFuse 2012: SharePoint business applications at your fingertips
 
SharePoint 2010 Developer 101
SharePoint 2010 Developer 101SharePoint 2010 Developer 101
SharePoint 2010 Developer 101
 
SharePoint 2010 101 @ SPSVB
SharePoint 2010 101 @ SPSVBSharePoint 2010 101 @ SPSVB
SharePoint 2010 101 @ SPSVB
 
SharePoint Development (Lesson 4)
SharePoint Development (Lesson 4)SharePoint Development (Lesson 4)
SharePoint Development (Lesson 4)
 
Hosted Sharepoint 2010 Key Features
Hosted Sharepoint 2010 Key FeaturesHosted Sharepoint 2010 Key Features
Hosted Sharepoint 2010 Key Features
 
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and I...
 
Abhishek Resume
Abhishek ResumeAbhishek Resume
Abhishek Resume
 
April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...
April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...
April 2010 MNSPUG.pptx - Business Processes with Digital Forms and ...
 
SharePoint Saturday NYC - Business Intelligence
SharePoint Saturday NYC - Business IntelligenceSharePoint Saturday NYC - Business Intelligence
SharePoint Saturday NYC - Business Intelligence
 

Más de Nik Patel (7)

Chicago Office 365 User Group 2018 - Better Together SharePoint and OneDrive...
Chicago Office 365 User Group 2018 -  Better Together SharePoint and OneDrive...Chicago Office 365 User Group 2018 -  Better Together SharePoint and OneDrive...
Chicago Office 365 User Group 2018 - Better Together SharePoint and OneDrive...
 
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
 
SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...
SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...
SharePoint Fest Chicago 2014 - Anatomy of SharePoint and Office 365 Hybrid De...
 
Office 365 and share point online ramp up in 60 minutes for on-premises share...
Office 365 and share point online ramp up in 60 minutes for on-premises share...Office 365 and share point online ramp up in 60 minutes for on-premises share...
Office 365 and share point online ramp up in 60 minutes for on-premises share...
 
Building Search Driven Applications in SharePoint 2010 - SharePoint Fest 2012
Building Search Driven Applications in SharePoint 2010 - SharePoint Fest 2012Building Search Driven Applications in SharePoint 2010 - SharePoint Fest 2012
Building Search Driven Applications in SharePoint 2010 - SharePoint Fest 2012
 
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...
 
Access Services in SharePoint 2010 - All You Need to Know
Access Services in SharePoint 2010 - All You Need to KnowAccess Services in SharePoint 2010 - All You Need to Know
Access Services in SharePoint 2010 - All You Need to Know
 

Real World InfoPath with SharePoint 2010 - List vs Library Forms

  • 1. Real World InfoPath Usage in SharePoint 2010 – List vs. Library Forms
  • 2. • Nik Patel  Solutions Architect, Slalom Consulting  M.S. in Computer Science, IIT, Chicago  Working with SharePoint 2010 since TAP Summer 2009 ,  Working with SharePoint since SharePoint 2003 days • Contact Info  Twitter - @nikxpatel  Email – nikunjp@slalom.com  LinkedIn - linkedin.com/in/nikspatel  Slideshare - slideshare.net/patenik2  Blog – Nik Patel’s SharePoint World - http://nikspatel.wordpress.com/ 2 | SharePoint Saturday Chicago 2011
  • 3.        3 | SharePoint Saturday Chicago 2011
  • 4.         4 | SharePoint Saturday Chicago 2011
  • 5.         5 | SharePoint Saturday Chicago 2011
  • 6.   6 | SharePoint Saturday Chicago 2011
  • 7.            7 | SharePoint Saturday Chicago 2011
  • 8.  List Forms -– New in SharePoint 2010  Tied to the specific list, Not Reusable  Form Schema tied to List Schema  Form data stored in the SharePoint List  Each control (e.g. text box) in the form is bound to a column in the list.  Key Characteristics  Supported on Simple SharePoint Lists like Custom List, Tasks, Announcements, Links, Contacts from Browser Interface  Not supported in Document Libraries and advanced SharePoint Lists like Calendar  No support for custom code, repeated tables, custom submit behavior, and print preview  Requires SharePoint Designer to customize the External Lists Forms 8 | SharePoint Saturday Chicago 2011
  • 9.  T customize the out of the box List New Form, List Edit Form, and List Display Forms o  Ideal for straightforward design and form management experience  Ideal for Prototypes  Ideal for No-code solutions using SharePoint Designer and Browser Customization for Pre- Packaged Departmental SharePoint Sites designed on production farm.  Do not use List InfoPath Forms in formal code management and deployment scenarios from development to staging to production.  T use forms offline with SharePoint Workspace o 9 | SharePoint Saturday Chicago 2011
  • 10. • Have SharePoint 2010 Server Enterprise CAL Installed Prepare • Have InfoPath Form Services Enabled (by default, it’s enabled) • Have InfoPath Designer 2010 Installed • Design SharePoint Lists (optionally Site Content Type) Design • Customize List Forms using InfoPath Designer 2010 - UI, Views, Rules, Receive Data Connections on the List Forms • Publish List Forms to the SharePoint Lists Deploy • Three New Forms (Add, Edit, and Display) and InfoPath Form Template deployed to the Content Databases • Update SharePoint Lists or Site Content Type Schema Upgrade • Customize List Forms again using InfoPath Designer to Sync List Changes • Republish the List Forms to the SharePoint Lists Retract/Cleanup • Delete InfoPath List Forms from the Form Settings Page from List Settings 10 | SharePoint Saturday Chicago 2011
  • 11.
  • 12.  Library Forms – Tied to the form libraries – Same as SharePoint 2007  Key Characteristics  Form data stored as the XML document in SharePoint Form Library  More complex and requires more disciplined/structured approach  Can be deployed as Sandbox or Farm Level Solutions  Publishing Mechanism  Single Library  Deploy to specific form library  Not reusable in another library  Only one form template per form library, Same benefits as list InfoPath forms  Reusability across Site Collection - Multiple libraries or sites within Site Collection  Deploy as a Content Type  Enables deployment to multiple document libraries  Supports multiple content type per library  Reusability across Farm - Multiple Site Collections or Web Applications  Deploy as a Administrator Approved  Deploy as features and solutions framework, PowerShell, or manual upload 12 | SharePoint Saturday Chicago 2011
  • 13.  Form T emplates with Code  Form T emplates with T abular Structure (Nested or Repeated Data) or Complex Schema  Form T emplates with Printing Support from Ribbon Bar  Form T emplates with Custom Submit Behavior  Great fit for Enterprise Level Form Solutions with Advanced and Reusable Functionality  Admin Approved forms eases future enhancements, upgrade, maintenance, and deployment  Fits perfectly in formal deployment process of moving features from development to staging to production. 13 | SharePoint Saturday Chicago 2011
  • 14. • Have SharePoint 2010 Server Enterprise CAL Installed • Have InfoPath Form Services Enabled (by default, it’s enabled) Prepare • Have InfoPath Designer 2010 Installed • Have Microsoft Visual Studio 2005 Tools for Applications Installed- Select VSTA in the InfoPath Installation tree of the Office Professional Plus 2010 Installer • Design browser compatible InfoPath Form Template using InfoPath Form Designer 2010 • Define UI, Views, Rules, Code, and Publishing Design options • Define the Receive and Submit Data Connections • Promote Form Fields as SharePoint Fields and Web Part Connections • Run the Design Checker on the InfoPath Form 14 | SharePoint Saturday Chicago 2011
  • 15. • Convert the Data Connections as UDCX file Package • Publish Form Template as Admin Approved as XSN file • Deploy UDCX in the Data Connection Library in Site Collection or Central Admin • Upload the Form Template using Central Admin • Activate the Form Template on Site Collection from Deploy Central Admin or Site Collection Feature • Create the Form Library in SharePoint • Add the new InfoPath form template content type to document library • Define the Form Library Views to display Form Template Fields 15 | SharePoint Saturday Chicago 2011
  • 16. • Update InfoPath Form Template using InfoPath Form Designer • Re-publish the InfoPath Form Template as Admin Upgrade Form • Re-upload the InfoPath Form Template from Central Admin. No need to activate to the site collection and all the existing form libraries should be upgraded. • Deactivate the form template at the site collection from Central Admin or Site Collection Feature • Remove the form template from the Central Admin Retract/ • Remove the WSP file from the Farm Solutions Page • Cleanup - Delete following content from the Site Cleanup Collection manually or programmatically. • Delete the Forms Document Libraries • Delete the Data Connections • Delete the Site Content Types and Site Columns 16 | SharePoint Saturday Chicago 2011
  • 17.
  • 18.  Integrate InfoPath forms into SharePoint pages using the InfoPath Form Web Part  Promote and Demote the InfoPath Fields to the SharePoint Document Library as a Site Columns to build advanced views in SharePoint  Promote InfoPath Fields as Web Part Connection Parameters to connect InfoPath Form Web Part with other SharePoint Web Parts to build mash-ups  Promoted fields can’t be used in Sandboxed Form T emplates with Code, It must be Admin Approved Forms  Integrate workflows on the SharePoint Lists or Document Libraries for business processes .(e.g. Approval Workflow)  Optionally customize the Workflow Association, Initiation, and User T forms asks  Custom Programming  Integrate InfoPath Forms programmatically into custom application or site pages using the XmlFormView control  Extract InfoPath Forms programmatically to access the InfoPath data from InfoPath Object Model 18 | SharePoint Saturday Chicago 2011
  • 19.            http://office.microsoft.com/en-us/infopath-help/infopath-2010-features-unavailable-in-web-browser- forms-HA101732796.aspx 19 | SharePoint Saturday Chicago 2011
  • 20.        20 | SharePoint Saturday Chicago 2011
  • 21.    24 | SharePoint Saturday Chicago 2011
  • 22. Thanks to Our Sponsors! Premier Gold Silver Bronze Sponsors