Developing InfoPath forms with OOTB tools is easy and can often solve many business requirements, but there are requirements that cannot be solved with just OOTB tools. In this session you will learn how to programmatically integrate InfoPath with SharePoint workflow engine, extract workflow history, customize the forms on fly, use the Word Service to convert form to other formats and much more.
TeamStation AI System Report LATAM IT Salaries 2024
Building business forms with InfoPath 2010 and SharePoint 2010 – Part 2
1. Building business forms with
InfoPath 2010 and SharePoint
2010 – Part 2
Toni Frankola
SharePoint MVP
Croatia
@tonifrankola
http://sharepointusecases.com
SharePoint dnevi 2011
2. Documentation Toolkit for
SharePoint
• Document
• Track Changes
• Compare Farms
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
3. Contents
• Event handlers stuff
– Add signatures
– Convert to PDF
• +Wizards
• +Security
• +Permissions via SharePoint
• User profile service
• Repeating table filtering
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
6. Views
• Different layouts on top of form dana
• Used for:
– Read-only views
– Print views
– Wizards
– Security (roles)
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
7. Roles
• Scenario:
– Annual leave approval
– Demo
• Control access to views and fields
• Pros
– OOTB, config via UI
• Cons
– Not available in browser forms
– Not real security
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
8. Demo
ROLES
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
9. „Wizard”
• Implemented as series of views
• Navigation handled with buttons
– Or custom logic
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
10. Demo
WIZARD
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
11. Security
• No OOTB InfoPath forms security
– Entire form is a SharePoint item
– Configure permissions via SPD WF or event
receiver.
– BUT read this before:
• SharePoint Server 2010 capacity management:
Software boundaries and limits
• The maximum number of unique security scopes set for
a list should not exceed 1,000.
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
12. Demo
SECURITY WORKFLOW
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
14. Convert forms to PDF
Event Handler
• XML • HTML to PDF
• XSL • XML to
• Images • HTML
(via XSL)
InfoPath Word Services
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
15. Demo
INFOPATH TO PDF
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011
16. Working with User Profile Service
• Important user info
– Departments, Managers, Managers of Managers
etc.
• Connects to user profile service
– http://ServerName/_vti_bin/UserProfileService.asmx
SharePoint dnevi 2011 Bled, 24. in 25. oktober 2011